AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QopConfiguration.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/HdfsRpcProtection.h>
9#include <aws/datasync/model/HdfsDataTransferProtection.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataSync
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DATASYNC_API QopConfiguration();
38 AWS_DATASYNC_API QopConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const HdfsRpcProtection& GetRpcProtection() const{ return m_rpcProtection; }
50 inline bool RpcProtectionHasBeenSet() const { return m_rpcProtectionHasBeenSet; }
51 inline void SetRpcProtection(const HdfsRpcProtection& value) { m_rpcProtectionHasBeenSet = true; m_rpcProtection = value; }
52 inline void SetRpcProtection(HdfsRpcProtection&& value) { m_rpcProtectionHasBeenSet = true; m_rpcProtection = std::move(value); }
53 inline QopConfiguration& WithRpcProtection(const HdfsRpcProtection& value) { SetRpcProtection(value); return *this;}
54 inline QopConfiguration& WithRpcProtection(HdfsRpcProtection&& value) { SetRpcProtection(std::move(value)); return *this;}
56
58
63 inline const HdfsDataTransferProtection& GetDataTransferProtection() const{ return m_dataTransferProtection; }
64 inline bool DataTransferProtectionHasBeenSet() const { return m_dataTransferProtectionHasBeenSet; }
65 inline void SetDataTransferProtection(const HdfsDataTransferProtection& value) { m_dataTransferProtectionHasBeenSet = true; m_dataTransferProtection = value; }
66 inline void SetDataTransferProtection(HdfsDataTransferProtection&& value) { m_dataTransferProtectionHasBeenSet = true; m_dataTransferProtection = std::move(value); }
70 private:
71
72 HdfsRpcProtection m_rpcProtection;
73 bool m_rpcProtectionHasBeenSet = false;
74
75 HdfsDataTransferProtection m_dataTransferProtection;
76 bool m_dataTransferProtectionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataSync
81} // namespace Aws
void SetDataTransferProtection(HdfsDataTransferProtection &&value)
QopConfiguration & WithRpcProtection(const HdfsRpcProtection &value)
const HdfsDataTransferProtection & GetDataTransferProtection() const
void SetDataTransferProtection(const HdfsDataTransferProtection &value)
const HdfsRpcProtection & GetRpcProtection() const
QopConfiguration & WithDataTransferProtection(HdfsDataTransferProtection &&value)
void SetRpcProtection(const HdfsRpcProtection &value)
QopConfiguration & WithRpcProtection(HdfsRpcProtection &&value)
void SetRpcProtection(HdfsRpcProtection &&value)
AWS_DATASYNC_API QopConfiguration(Aws::Utils::Json::JsonView jsonValue)
QopConfiguration & WithDataTransferProtection(const HdfsDataTransferProtection &value)
AWS_DATASYNC_API QopConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue