AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
QopConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9#include <aws/datasync/model/HdfsDataTransferProtection.h>
10#include <aws/datasync/model/HdfsRpcProtection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace DataSync {
21namespace Model {
22
31 public:
32 AWS_DATASYNC_API QopConfiguration() = default;
33 AWS_DATASYNC_API QopConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_DATASYNC_API QopConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
43 inline HdfsRpcProtection GetRpcProtection() const { return m_rpcProtection; }
44 inline bool RpcProtectionHasBeenSet() const { return m_rpcProtectionHasBeenSet; }
46 m_rpcProtectionHasBeenSet = true;
47 m_rpcProtection = value;
48 }
50 SetRpcProtection(value);
51 return *this;
52 }
54
56
61 inline HdfsDataTransferProtection GetDataTransferProtection() const { return m_dataTransferProtection; }
62 inline bool DataTransferProtectionHasBeenSet() const { return m_dataTransferProtectionHasBeenSet; }
64 m_dataTransferProtectionHasBeenSet = true;
65 m_dataTransferProtection = value;
66 }
72 private:
74
76 bool m_rpcProtectionHasBeenSet = false;
77 bool m_dataTransferProtectionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DataSync
82} // namespace Aws
AWS_DATASYNC_API QopConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
HdfsDataTransferProtection GetDataTransferProtection() const
HdfsRpcProtection GetRpcProtection() const
AWS_DATASYNC_API QopConfiguration()=default
void SetRpcProtection(HdfsRpcProtection value)
AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
QopConfiguration & WithDataTransferProtection(HdfsDataTransferProtection value)
QopConfiguration & WithRpcProtection(HdfsRpcProtection value)
void SetDataTransferProtection(HdfsDataTransferProtection value)
AWS_DATASYNC_API QopConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)