AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ClusterOperationV2Provisioned.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9#include <aws/kafka/model/ClusterOperationStep.h>
10#include <aws/kafka/model/MutableClusterInfo.h>
11#include <aws/kafka/model/VpcConnectionInfo.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka {
23namespace Model {
24
33 public:
34 AWS_KAFKA_API ClusterOperationV2Provisioned() = default;
37 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<ClusterOperationStep>& GetOperationSteps() const { return m_operationSteps; }
45 inline bool OperationStepsHasBeenSet() const { return m_operationStepsHasBeenSet; }
46 template <typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
47 void SetOperationSteps(OperationStepsT&& value) {
48 m_operationStepsHasBeenSet = true;
49 m_operationSteps = std::forward<OperationStepsT>(value);
50 }
51 template <typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
53 SetOperationSteps(std::forward<OperationStepsT>(value));
54 return *this;
55 }
56 template <typename OperationStepsT = ClusterOperationStep>
58 m_operationStepsHasBeenSet = true;
59 m_operationSteps.emplace_back(std::forward<OperationStepsT>(value));
60 return *this;
61 }
63
65
70 inline const MutableClusterInfo& GetSourceClusterInfo() const { return m_sourceClusterInfo; }
71 inline bool SourceClusterInfoHasBeenSet() const { return m_sourceClusterInfoHasBeenSet; }
72 template <typename SourceClusterInfoT = MutableClusterInfo>
73 void SetSourceClusterInfo(SourceClusterInfoT&& value) {
74 m_sourceClusterInfoHasBeenSet = true;
75 m_sourceClusterInfo = std::forward<SourceClusterInfoT>(value);
76 }
77 template <typename SourceClusterInfoT = MutableClusterInfo>
79 SetSourceClusterInfo(std::forward<SourceClusterInfoT>(value));
80 return *this;
81 }
83
85
90 inline const MutableClusterInfo& GetTargetClusterInfo() const { return m_targetClusterInfo; }
91 inline bool TargetClusterInfoHasBeenSet() const { return m_targetClusterInfoHasBeenSet; }
92 template <typename TargetClusterInfoT = MutableClusterInfo>
93 void SetTargetClusterInfo(TargetClusterInfoT&& value) {
94 m_targetClusterInfoHasBeenSet = true;
95 m_targetClusterInfo = std::forward<TargetClusterInfoT>(value);
96 }
97 template <typename TargetClusterInfoT = MutableClusterInfo>
99 SetTargetClusterInfo(std::forward<TargetClusterInfoT>(value));
100 return *this;
101 }
103
105
110 inline const VpcConnectionInfo& GetVpcConnectionInfo() const { return m_vpcConnectionInfo; }
111 inline bool VpcConnectionInfoHasBeenSet() const { return m_vpcConnectionInfoHasBeenSet; }
112 template <typename VpcConnectionInfoT = VpcConnectionInfo>
113 void SetVpcConnectionInfo(VpcConnectionInfoT&& value) {
114 m_vpcConnectionInfoHasBeenSet = true;
115 m_vpcConnectionInfo = std::forward<VpcConnectionInfoT>(value);
116 }
117 template <typename VpcConnectionInfoT = VpcConnectionInfo>
119 SetVpcConnectionInfo(std::forward<VpcConnectionInfoT>(value));
120 return *this;
121 }
123 private:
124 Aws::Vector<ClusterOperationStep> m_operationSteps;
125
126 MutableClusterInfo m_sourceClusterInfo;
127
128 MutableClusterInfo m_targetClusterInfo;
129
130 VpcConnectionInfo m_vpcConnectionInfo;
131 bool m_operationStepsHasBeenSet = false;
132 bool m_sourceClusterInfoHasBeenSet = false;
133 bool m_targetClusterInfoHasBeenSet = false;
134 bool m_vpcConnectionInfoHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Kafka
139} // namespace Aws
AWS_KAFKA_API ClusterOperationV2Provisioned(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2Provisioned & WithTargetClusterInfo(TargetClusterInfoT &&value)
const Aws::Vector< ClusterOperationStep > & GetOperationSteps() const
ClusterOperationV2Provisioned & WithOperationSteps(OperationStepsT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationV2Provisioned & WithSourceClusterInfo(SourceClusterInfoT &&value)
AWS_KAFKA_API ClusterOperationV2Provisioned()=default
ClusterOperationV2Provisioned & WithVpcConnectionInfo(VpcConnectionInfoT &&value)
AWS_KAFKA_API ClusterOperationV2Provisioned & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2Provisioned & AddOperationSteps(OperationStepsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue