AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterOperationV2Provisioned.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/model/MutableClusterInfo.h>
10#include <aws/kafka/model/VpcConnectionInfo.h>
11#include <aws/kafka/model/ClusterOperationStep.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Kafka
25{
26namespace Model
27{
28
37 {
38 public:
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<ClusterOperationStep>& GetOperationSteps() const{ return m_operationSteps; }
51 inline bool OperationStepsHasBeenSet() const { return m_operationStepsHasBeenSet; }
52 inline void SetOperationSteps(const Aws::Vector<ClusterOperationStep>& value) { m_operationStepsHasBeenSet = true; m_operationSteps = value; }
53 inline void SetOperationSteps(Aws::Vector<ClusterOperationStep>&& value) { m_operationStepsHasBeenSet = true; m_operationSteps = std::move(value); }
56 inline ClusterOperationV2Provisioned& AddOperationSteps(const ClusterOperationStep& value) { m_operationStepsHasBeenSet = true; m_operationSteps.push_back(value); return *this; }
57 inline ClusterOperationV2Provisioned& AddOperationSteps(ClusterOperationStep&& value) { m_operationStepsHasBeenSet = true; m_operationSteps.push_back(std::move(value)); return *this; }
59
61
66 inline const MutableClusterInfo& GetSourceClusterInfo() const{ return m_sourceClusterInfo; }
67 inline bool SourceClusterInfoHasBeenSet() const { return m_sourceClusterInfoHasBeenSet; }
68 inline void SetSourceClusterInfo(const MutableClusterInfo& value) { m_sourceClusterInfoHasBeenSet = true; m_sourceClusterInfo = value; }
69 inline void SetSourceClusterInfo(MutableClusterInfo&& value) { m_sourceClusterInfoHasBeenSet = true; m_sourceClusterInfo = std::move(value); }
73
75
80 inline const MutableClusterInfo& GetTargetClusterInfo() const{ return m_targetClusterInfo; }
81 inline bool TargetClusterInfoHasBeenSet() const { return m_targetClusterInfoHasBeenSet; }
82 inline void SetTargetClusterInfo(const MutableClusterInfo& value) { m_targetClusterInfoHasBeenSet = true; m_targetClusterInfo = value; }
83 inline void SetTargetClusterInfo(MutableClusterInfo&& value) { m_targetClusterInfoHasBeenSet = true; m_targetClusterInfo = std::move(value); }
87
89
94 inline const VpcConnectionInfo& GetVpcConnectionInfo() const{ return m_vpcConnectionInfo; }
95 inline bool VpcConnectionInfoHasBeenSet() const { return m_vpcConnectionInfoHasBeenSet; }
96 inline void SetVpcConnectionInfo(const VpcConnectionInfo& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = value; }
97 inline void SetVpcConnectionInfo(VpcConnectionInfo&& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = std::move(value); }
101 private:
102
103 Aws::Vector<ClusterOperationStep> m_operationSteps;
104 bool m_operationStepsHasBeenSet = false;
105
106 MutableClusterInfo m_sourceClusterInfo;
107 bool m_sourceClusterInfoHasBeenSet = false;
108
109 MutableClusterInfo m_targetClusterInfo;
110 bool m_targetClusterInfoHasBeenSet = false;
111
112 VpcConnectionInfo m_vpcConnectionInfo;
113 bool m_vpcConnectionInfoHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Kafka
118} // namespace Aws
AWS_KAFKA_API ClusterOperationV2Provisioned(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2Provisioned & AddOperationSteps(ClusterOperationStep &&value)
const Aws::Vector< ClusterOperationStep > & GetOperationSteps() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationV2Provisioned & WithOperationSteps(const Aws::Vector< ClusterOperationStep > &value)
ClusterOperationV2Provisioned & WithTargetClusterInfo(const MutableClusterInfo &value)
void SetOperationSteps(Aws::Vector< ClusterOperationStep > &&value)
ClusterOperationV2Provisioned & WithSourceClusterInfo(const MutableClusterInfo &value)
ClusterOperationV2Provisioned & WithTargetClusterInfo(MutableClusterInfo &&value)
ClusterOperationV2Provisioned & WithVpcConnectionInfo(const VpcConnectionInfo &value)
ClusterOperationV2Provisioned & WithSourceClusterInfo(MutableClusterInfo &&value)
void SetOperationSteps(const Aws::Vector< ClusterOperationStep > &value)
ClusterOperationV2Provisioned & WithVpcConnectionInfo(VpcConnectionInfo &&value)
AWS_KAFKA_API ClusterOperationV2Provisioned & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2Provisioned & AddOperationSteps(const ClusterOperationStep &value)
ClusterOperationV2Provisioned & WithOperationSteps(Aws::Vector< ClusterOperationStep > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue