AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConnectorOperationResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/model/ConnectorOperationState.h>
10#include <aws/kafkaconnect/model/ConnectorOperationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kafkaconnect/model/WorkerSetting.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/kafkaconnect/model/StateDescription.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/kafkaconnect/model/ConnectorOperationStep.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace KafkaConnect
32{
33namespace Model
34{
36 {
37 public:
38 AWS_KAFKACONNECT_API DescribeConnectorOperationResult() = default;
41
42
44
47 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
48 template<typename ConnectorArnT = Aws::String>
49 void SetConnectorArn(ConnectorArnT&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::forward<ConnectorArnT>(value); }
50 template<typename ConnectorArnT = Aws::String>
51 DescribeConnectorOperationResult& WithConnectorArn(ConnectorArnT&& value) { SetConnectorArn(std::forward<ConnectorArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetConnectorOperationArn() const { return m_connectorOperationArn; }
59 template<typename ConnectorOperationArnT = Aws::String>
60 void SetConnectorOperationArn(ConnectorOperationArnT&& value) { m_connectorOperationArnHasBeenSet = true; m_connectorOperationArn = std::forward<ConnectorOperationArnT>(value); }
61 template<typename ConnectorOperationArnT = Aws::String>
62 DescribeConnectorOperationResult& WithConnectorOperationArn(ConnectorOperationArnT&& value) { SetConnectorOperationArn(std::forward<ConnectorOperationArnT>(value)); return *this;}
64
66
69 inline ConnectorOperationState GetConnectorOperationState() const { return m_connectorOperationState; }
70 inline void SetConnectorOperationState(ConnectorOperationState value) { m_connectorOperationStateHasBeenSet = true; m_connectorOperationState = value; }
73
75
78 inline ConnectorOperationType GetConnectorOperationType() const { return m_connectorOperationType; }
79 inline void SetConnectorOperationType(ConnectorOperationType value) { m_connectorOperationTypeHasBeenSet = true; m_connectorOperationType = value; }
82
84
87 inline const Aws::Vector<ConnectorOperationStep>& GetOperationSteps() const { return m_operationSteps; }
88 template<typename OperationStepsT = Aws::Vector<ConnectorOperationStep>>
89 void SetOperationSteps(OperationStepsT&& value) { m_operationStepsHasBeenSet = true; m_operationSteps = std::forward<OperationStepsT>(value); }
90 template<typename OperationStepsT = Aws::Vector<ConnectorOperationStep>>
91 DescribeConnectorOperationResult& WithOperationSteps(OperationStepsT&& value) { SetOperationSteps(std::forward<OperationStepsT>(value)); return *this;}
92 template<typename OperationStepsT = ConnectorOperationStep>
93 DescribeConnectorOperationResult& AddOperationSteps(OperationStepsT&& value) { m_operationStepsHasBeenSet = true; m_operationSteps.emplace_back(std::forward<OperationStepsT>(value)); return *this; }
95
97
100 inline const WorkerSetting& GetOriginWorkerSetting() const { return m_originWorkerSetting; }
101 template<typename OriginWorkerSettingT = WorkerSetting>
102 void SetOriginWorkerSetting(OriginWorkerSettingT&& value) { m_originWorkerSettingHasBeenSet = true; m_originWorkerSetting = std::forward<OriginWorkerSettingT>(value); }
103 template<typename OriginWorkerSettingT = WorkerSetting>
104 DescribeConnectorOperationResult& WithOriginWorkerSetting(OriginWorkerSettingT&& value) { SetOriginWorkerSetting(std::forward<OriginWorkerSettingT>(value)); return *this;}
106
108
111 inline const Aws::Map<Aws::String, Aws::String>& GetOriginConnectorConfiguration() const { return m_originConnectorConfiguration; }
112 template<typename OriginConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
113 void SetOriginConnectorConfiguration(OriginConnectorConfigurationT&& value) { m_originConnectorConfigurationHasBeenSet = true; m_originConnectorConfiguration = std::forward<OriginConnectorConfigurationT>(value); }
114 template<typename OriginConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
115 DescribeConnectorOperationResult& WithOriginConnectorConfiguration(OriginConnectorConfigurationT&& value) { SetOriginConnectorConfiguration(std::forward<OriginConnectorConfigurationT>(value)); return *this;}
116 template<typename OriginConnectorConfigurationKeyT = Aws::String, typename OriginConnectorConfigurationValueT = Aws::String>
117 DescribeConnectorOperationResult& AddOriginConnectorConfiguration(OriginConnectorConfigurationKeyT&& key, OriginConnectorConfigurationValueT&& value) {
118 m_originConnectorConfigurationHasBeenSet = true; m_originConnectorConfiguration.emplace(std::forward<OriginConnectorConfigurationKeyT>(key), std::forward<OriginConnectorConfigurationValueT>(value)); return *this;
119 }
121
123
126 inline const WorkerSetting& GetTargetWorkerSetting() const { return m_targetWorkerSetting; }
127 template<typename TargetWorkerSettingT = WorkerSetting>
128 void SetTargetWorkerSetting(TargetWorkerSettingT&& value) { m_targetWorkerSettingHasBeenSet = true; m_targetWorkerSetting = std::forward<TargetWorkerSettingT>(value); }
129 template<typename TargetWorkerSettingT = WorkerSetting>
130 DescribeConnectorOperationResult& WithTargetWorkerSetting(TargetWorkerSettingT&& value) { SetTargetWorkerSetting(std::forward<TargetWorkerSettingT>(value)); return *this;}
132
134
137 inline const Aws::Map<Aws::String, Aws::String>& GetTargetConnectorConfiguration() const { return m_targetConnectorConfiguration; }
138 template<typename TargetConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
139 void SetTargetConnectorConfiguration(TargetConnectorConfigurationT&& value) { m_targetConnectorConfigurationHasBeenSet = true; m_targetConnectorConfiguration = std::forward<TargetConnectorConfigurationT>(value); }
140 template<typename TargetConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
141 DescribeConnectorOperationResult& WithTargetConnectorConfiguration(TargetConnectorConfigurationT&& value) { SetTargetConnectorConfiguration(std::forward<TargetConnectorConfigurationT>(value)); return *this;}
142 template<typename TargetConnectorConfigurationKeyT = Aws::String, typename TargetConnectorConfigurationValueT = Aws::String>
143 DescribeConnectorOperationResult& AddTargetConnectorConfiguration(TargetConnectorConfigurationKeyT&& key, TargetConnectorConfigurationValueT&& value) {
144 m_targetConnectorConfigurationHasBeenSet = true; m_targetConnectorConfiguration.emplace(std::forward<TargetConnectorConfigurationKeyT>(key), std::forward<TargetConnectorConfigurationValueT>(value)); return *this;
145 }
147
149
150 inline const StateDescription& GetErrorInfo() const { return m_errorInfo; }
151 template<typename ErrorInfoT = StateDescription>
152 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::forward<ErrorInfoT>(value); }
153 template<typename ErrorInfoT = StateDescription>
154 DescribeConnectorOperationResult& WithErrorInfo(ErrorInfoT&& value) { SetErrorInfo(std::forward<ErrorInfoT>(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
162 template<typename CreationTimeT = Aws::Utils::DateTime>
163 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
164 template<typename CreationTimeT = Aws::Utils::DateTime>
165 DescribeConnectorOperationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
167
169
172 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
173 template<typename EndTimeT = Aws::Utils::DateTime>
174 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
175 template<typename EndTimeT = Aws::Utils::DateTime>
176 DescribeConnectorOperationResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
178
180
181 inline const Aws::String& GetRequestId() const { return m_requestId; }
182 template<typename RequestIdT = Aws::String>
183 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
184 template<typename RequestIdT = Aws::String>
185 DescribeConnectorOperationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
187 private:
188
189 Aws::String m_connectorArn;
190 bool m_connectorArnHasBeenSet = false;
191
192 Aws::String m_connectorOperationArn;
193 bool m_connectorOperationArnHasBeenSet = false;
194
196 bool m_connectorOperationStateHasBeenSet = false;
197
199 bool m_connectorOperationTypeHasBeenSet = false;
200
202 bool m_operationStepsHasBeenSet = false;
203
204 WorkerSetting m_originWorkerSetting;
205 bool m_originWorkerSettingHasBeenSet = false;
206
207 Aws::Map<Aws::String, Aws::String> m_originConnectorConfiguration;
208 bool m_originConnectorConfigurationHasBeenSet = false;
209
210 WorkerSetting m_targetWorkerSetting;
211 bool m_targetWorkerSettingHasBeenSet = false;
212
213 Aws::Map<Aws::String, Aws::String> m_targetConnectorConfiguration;
214 bool m_targetConnectorConfigurationHasBeenSet = false;
215
216 StateDescription m_errorInfo;
217 bool m_errorInfoHasBeenSet = false;
218
219 Aws::Utils::DateTime m_creationTime{};
220 bool m_creationTimeHasBeenSet = false;
221
222 Aws::Utils::DateTime m_endTime{};
223 bool m_endTimeHasBeenSet = false;
224
225 Aws::String m_requestId;
226 bool m_requestIdHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace KafkaConnect
231} // namespace Aws
DescribeConnectorOperationResult & WithOperationSteps(OperationStepsT &&value)
DescribeConnectorOperationResult & WithRequestId(RequestIdT &&value)
DescribeConnectorOperationResult & WithConnectorOperationState(ConnectorOperationState value)
void SetTargetConnectorConfiguration(TargetConnectorConfigurationT &&value)
DescribeConnectorOperationResult & WithConnectorOperationArn(ConnectorOperationArnT &&value)
DescribeConnectorOperationResult & WithEndTime(EndTimeT &&value)
AWS_KAFKACONNECT_API DescribeConnectorOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorOperationResult & WithErrorInfo(ErrorInfoT &&value)
AWS_KAFKACONNECT_API DescribeConnectorOperationResult()=default
DescribeConnectorOperationResult & WithOriginWorkerSetting(OriginWorkerSettingT &&value)
DescribeConnectorOperationResult & WithTargetConnectorConfiguration(TargetConnectorConfigurationT &&value)
DescribeConnectorOperationResult & WithTargetWorkerSetting(TargetWorkerSettingT &&value)
DescribeConnectorOperationResult & WithOriginConnectorConfiguration(OriginConnectorConfigurationT &&value)
DescribeConnectorOperationResult & WithConnectorArn(ConnectorArnT &&value)
void SetOriginConnectorConfiguration(OriginConnectorConfigurationT &&value)
const Aws::Vector< ConnectorOperationStep > & GetOperationSteps() const
DescribeConnectorOperationResult & WithCreationTime(CreationTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetOriginConnectorConfiguration() const
DescribeConnectorOperationResult & WithConnectorOperationType(ConnectorOperationType value)
DescribeConnectorOperationResult & AddTargetConnectorConfiguration(TargetConnectorConfigurationKeyT &&key, TargetConnectorConfigurationValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTargetConnectorConfiguration() const
DescribeConnectorOperationResult & AddOperationSteps(OperationStepsT &&value)
DescribeConnectorOperationResult & AddOriginConnectorConfiguration(OriginConnectorConfigurationKeyT &&key, OriginConnectorConfigurationValueT &&value)
AWS_KAFKACONNECT_API DescribeConnectorOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue