AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
39 AWS_KAFKA_API ClusterOperationV2Provisioned() = default;
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 template<typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
53 void SetOperationSteps(OperationStepsT&& value) { m_operationStepsHasBeenSet = true; m_operationSteps = std::forward<OperationStepsT>(value); }
54 template<typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
55 ClusterOperationV2Provisioned& WithOperationSteps(OperationStepsT&& value) { SetOperationSteps(std::forward<OperationStepsT>(value)); return *this;}
56 template<typename OperationStepsT = ClusterOperationStep>
57 ClusterOperationV2Provisioned& AddOperationSteps(OperationStepsT&& value) { m_operationStepsHasBeenSet = true; m_operationSteps.emplace_back(std::forward<OperationStepsT>(value)); return *this; }
59
61
66 inline const MutableClusterInfo& GetSourceClusterInfo() const { return m_sourceClusterInfo; }
67 inline bool SourceClusterInfoHasBeenSet() const { return m_sourceClusterInfoHasBeenSet; }
68 template<typename SourceClusterInfoT = MutableClusterInfo>
69 void SetSourceClusterInfo(SourceClusterInfoT&& value) { m_sourceClusterInfoHasBeenSet = true; m_sourceClusterInfo = std::forward<SourceClusterInfoT>(value); }
70 template<typename SourceClusterInfoT = MutableClusterInfo>
71 ClusterOperationV2Provisioned& WithSourceClusterInfo(SourceClusterInfoT&& value) { SetSourceClusterInfo(std::forward<SourceClusterInfoT>(value)); return *this;}
73
75
80 inline const MutableClusterInfo& GetTargetClusterInfo() const { return m_targetClusterInfo; }
81 inline bool TargetClusterInfoHasBeenSet() const { return m_targetClusterInfoHasBeenSet; }
82 template<typename TargetClusterInfoT = MutableClusterInfo>
83 void SetTargetClusterInfo(TargetClusterInfoT&& value) { m_targetClusterInfoHasBeenSet = true; m_targetClusterInfo = std::forward<TargetClusterInfoT>(value); }
84 template<typename TargetClusterInfoT = MutableClusterInfo>
85 ClusterOperationV2Provisioned& WithTargetClusterInfo(TargetClusterInfoT&& value) { SetTargetClusterInfo(std::forward<TargetClusterInfoT>(value)); return *this;}
87
89
94 inline const VpcConnectionInfo& GetVpcConnectionInfo() const { return m_vpcConnectionInfo; }
95 inline bool VpcConnectionInfoHasBeenSet() const { return m_vpcConnectionInfoHasBeenSet; }
96 template<typename VpcConnectionInfoT = VpcConnectionInfo>
97 void SetVpcConnectionInfo(VpcConnectionInfoT&& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = std::forward<VpcConnectionInfoT>(value); }
98 template<typename VpcConnectionInfoT = VpcConnectionInfo>
99 ClusterOperationV2Provisioned& WithVpcConnectionInfo(VpcConnectionInfoT&& value) { SetVpcConnectionInfo(std::forward<VpcConnectionInfoT>(value)); return *this;}
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 & 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