AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
QopConfiguration.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/HdfsDataTransferProtection.h>
9#include <aws/datasync/model/HdfsRpcProtection.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataSync {
21namespace Model {
22
31 public:
32 AWS_DATASYNC_API QopConfiguration() = default;
33 AWS_DATASYNC_API QopConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() 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 }
69 return *this;
70 }
72 private:
74
76 bool m_rpcProtectionHasBeenSet = false;
77 bool m_dataTransferProtectionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DataSync
82} // namespace Aws
HdfsDataTransferProtection GetDataTransferProtection() const
HdfsRpcProtection GetRpcProtection() const
AWS_DATASYNC_API QopConfiguration()=default
void SetRpcProtection(HdfsRpcProtection value)
QopConfiguration & WithDataTransferProtection(HdfsDataTransferProtection value)
AWS_DATASYNC_API QopConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API QopConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
QopConfiguration & WithRpcProtection(HdfsRpcProtection value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataTransferProtection(HdfsDataTransferProtection value)
Aws::Utils::Json::JsonValue JsonValue