AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribePipeResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/Pipes_EXPORTS.h>
11#include <aws/pipes/model/PipeEnrichmentParameters.h>
12#include <aws/pipes/model/PipeLogConfiguration.h>
13#include <aws/pipes/model/PipeSourceParameters.h>
14#include <aws/pipes/model/PipeState.h>
15#include <aws/pipes/model/PipeTargetParameters.h>
16#include <aws/pipes/model/RequestedPipeStateDescribeResponse.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Pipes {
30namespace Model {
32 public:
33 AWS_PIPES_API DescribePipeResult() = default;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 DescribePipeResult& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 DescribePipeResult& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 DescribePipeResult& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline RequestedPipeStateDescribeResponse GetDesiredState() const { return m_desiredState; }
94 m_desiredStateHasBeenSet = true;
95 m_desiredState = value;
96 }
98 SetDesiredState(value);
99 return *this;
100 }
102
104
107 inline PipeState GetCurrentState() const { return m_currentState; }
108 inline void SetCurrentState(PipeState value) {
109 m_currentStateHasBeenSet = true;
110 m_currentState = value;
111 }
113 SetCurrentState(value);
114 return *this;
115 }
117
119
122 inline const Aws::String& GetStateReason() const { return m_stateReason; }
123 template <typename StateReasonT = Aws::String>
124 void SetStateReason(StateReasonT&& value) {
125 m_stateReasonHasBeenSet = true;
126 m_stateReason = std::forward<StateReasonT>(value);
127 }
128 template <typename StateReasonT = Aws::String>
129 DescribePipeResult& WithStateReason(StateReasonT&& value) {
130 SetStateReason(std::forward<StateReasonT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetSource() const { return m_source; }
140 template <typename SourceT = Aws::String>
141 void SetSource(SourceT&& value) {
142 m_sourceHasBeenSet = true;
143 m_source = std::forward<SourceT>(value);
144 }
145 template <typename SourceT = Aws::String>
146 DescribePipeResult& WithSource(SourceT&& value) {
147 SetSource(std::forward<SourceT>(value));
148 return *this;
149 }
151
153
156 inline const PipeSourceParameters& GetSourceParameters() const { return m_sourceParameters; }
157 template <typename SourceParametersT = PipeSourceParameters>
158 void SetSourceParameters(SourceParametersT&& value) {
159 m_sourceParametersHasBeenSet = true;
160 m_sourceParameters = std::forward<SourceParametersT>(value);
161 }
162 template <typename SourceParametersT = PipeSourceParameters>
163 DescribePipeResult& WithSourceParameters(SourceParametersT&& value) {
164 SetSourceParameters(std::forward<SourceParametersT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetEnrichment() const { return m_enrichment; }
174 template <typename EnrichmentT = Aws::String>
175 void SetEnrichment(EnrichmentT&& value) {
176 m_enrichmentHasBeenSet = true;
177 m_enrichment = std::forward<EnrichmentT>(value);
178 }
179 template <typename EnrichmentT = Aws::String>
180 DescribePipeResult& WithEnrichment(EnrichmentT&& value) {
181 SetEnrichment(std::forward<EnrichmentT>(value));
182 return *this;
183 }
185
187
190 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const { return m_enrichmentParameters; }
191 template <typename EnrichmentParametersT = PipeEnrichmentParameters>
192 void SetEnrichmentParameters(EnrichmentParametersT&& value) {
193 m_enrichmentParametersHasBeenSet = true;
194 m_enrichmentParameters = std::forward<EnrichmentParametersT>(value);
195 }
196 template <typename EnrichmentParametersT = PipeEnrichmentParameters>
197 DescribePipeResult& WithEnrichmentParameters(EnrichmentParametersT&& value) {
198 SetEnrichmentParameters(std::forward<EnrichmentParametersT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetTarget() const { return m_target; }
208 template <typename TargetT = Aws::String>
209 void SetTarget(TargetT&& value) {
210 m_targetHasBeenSet = true;
211 m_target = std::forward<TargetT>(value);
212 }
213 template <typename TargetT = Aws::String>
214 DescribePipeResult& WithTarget(TargetT&& value) {
215 SetTarget(std::forward<TargetT>(value));
216 return *this;
217 }
219
221
228 inline const PipeTargetParameters& GetTargetParameters() const { return m_targetParameters; }
229 template <typename TargetParametersT = PipeTargetParameters>
230 void SetTargetParameters(TargetParametersT&& value) {
231 m_targetParametersHasBeenSet = true;
232 m_targetParameters = std::forward<TargetParametersT>(value);
233 }
234 template <typename TargetParametersT = PipeTargetParameters>
235 DescribePipeResult& WithTargetParameters(TargetParametersT&& value) {
236 SetTargetParameters(std::forward<TargetParametersT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
246 template <typename RoleArnT = Aws::String>
247 void SetRoleArn(RoleArnT&& value) {
248 m_roleArnHasBeenSet = true;
249 m_roleArn = std::forward<RoleArnT>(value);
250 }
251 template <typename RoleArnT = Aws::String>
252 DescribePipeResult& WithRoleArn(RoleArnT&& value) {
253 SetRoleArn(std::forward<RoleArnT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
263 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 void SetTags(TagsT&& value) {
265 m_tagsHasBeenSet = true;
266 m_tags = std::forward<TagsT>(value);
267 }
268 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 DescribePipeResult& WithTags(TagsT&& value) {
270 SetTags(std::forward<TagsT>(value));
271 return *this;
272 }
273 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
274 DescribePipeResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
275 m_tagsHasBeenSet = true;
276 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
277 return *this;
278 }
280
282
285 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
286 template <typename CreationTimeT = Aws::Utils::DateTime>
287 void SetCreationTime(CreationTimeT&& value) {
288 m_creationTimeHasBeenSet = true;
289 m_creationTime = std::forward<CreationTimeT>(value);
290 }
291 template <typename CreationTimeT = Aws::Utils::DateTime>
292 DescribePipeResult& WithCreationTime(CreationTimeT&& value) {
293 SetCreationTime(std::forward<CreationTimeT>(value));
294 return *this;
295 }
297
299
304 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
305 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
306 void SetLastModifiedTime(LastModifiedTimeT&& value) {
307 m_lastModifiedTimeHasBeenSet = true;
308 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
309 }
310 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
311 DescribePipeResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
312 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
313 return *this;
314 }
316
318
321 inline const PipeLogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
322 template <typename LogConfigurationT = PipeLogConfiguration>
323 void SetLogConfiguration(LogConfigurationT&& value) {
324 m_logConfigurationHasBeenSet = true;
325 m_logConfiguration = std::forward<LogConfigurationT>(value);
326 }
327 template <typename LogConfigurationT = PipeLogConfiguration>
328 DescribePipeResult& WithLogConfiguration(LogConfigurationT&& value) {
329 SetLogConfiguration(std::forward<LogConfigurationT>(value));
330 return *this;
331 }
333
335
342 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
343 template <typename KmsKeyIdentifierT = Aws::String>
344 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
345 m_kmsKeyIdentifierHasBeenSet = true;
346 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
347 }
348 template <typename KmsKeyIdentifierT = Aws::String>
349 DescribePipeResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
350 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
351 return *this;
352 }
354
356
357 inline const Aws::String& GetRequestId() const { return m_requestId; }
358 template <typename RequestIdT = Aws::String>
359 void SetRequestId(RequestIdT&& value) {
360 m_requestIdHasBeenSet = true;
361 m_requestId = std::forward<RequestIdT>(value);
362 }
363 template <typename RequestIdT = Aws::String>
364 DescribePipeResult& WithRequestId(RequestIdT&& value) {
365 SetRequestId(std::forward<RequestIdT>(value));
366 return *this;
367 }
369 private:
370 Aws::String m_arn;
371
372 Aws::String m_name;
373
374 Aws::String m_description;
375
377
378 PipeState m_currentState{PipeState::NOT_SET};
379
380 Aws::String m_stateReason;
381
382 Aws::String m_source;
383
384 PipeSourceParameters m_sourceParameters;
385
386 Aws::String m_enrichment;
387
388 PipeEnrichmentParameters m_enrichmentParameters;
389
390 Aws::String m_target;
391
392 PipeTargetParameters m_targetParameters;
393
394 Aws::String m_roleArn;
395
397
398 Aws::Utils::DateTime m_creationTime{};
399
400 Aws::Utils::DateTime m_lastModifiedTime{};
401
402 PipeLogConfiguration m_logConfiguration;
403
404 Aws::String m_kmsKeyIdentifier;
405
406 Aws::String m_requestId;
407 bool m_arnHasBeenSet = false;
408 bool m_nameHasBeenSet = false;
409 bool m_descriptionHasBeenSet = false;
410 bool m_desiredStateHasBeenSet = false;
411 bool m_currentStateHasBeenSet = false;
412 bool m_stateReasonHasBeenSet = false;
413 bool m_sourceHasBeenSet = false;
414 bool m_sourceParametersHasBeenSet = false;
415 bool m_enrichmentHasBeenSet = false;
416 bool m_enrichmentParametersHasBeenSet = false;
417 bool m_targetHasBeenSet = false;
418 bool m_targetParametersHasBeenSet = false;
419 bool m_roleArnHasBeenSet = false;
420 bool m_tagsHasBeenSet = false;
421 bool m_creationTimeHasBeenSet = false;
422 bool m_lastModifiedTimeHasBeenSet = false;
423 bool m_logConfigurationHasBeenSet = false;
424 bool m_kmsKeyIdentifierHasBeenSet = false;
425 bool m_requestIdHasBeenSet = false;
426};
427
428} // namespace Model
429} // namespace Pipes
430} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
DescribePipeResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetEnrichment() const
DescribePipeResult & WithSource(SourceT &&value)
DescribePipeResult & WithStateReason(StateReasonT &&value)
const PipeSourceParameters & GetSourceParameters() const
AWS_PIPES_API DescribePipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PIPES_API DescribePipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePipeResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStateReason(StateReasonT &&value)
DescribePipeResult & WithTarget(TargetT &&value)
DescribePipeResult & WithDescription(DescriptionT &&value)
RequestedPipeStateDescribeResponse GetDesiredState() const
const Aws::String & GetKmsKeyIdentifier() const
DescribePipeResult & WithRequestId(RequestIdT &&value)
DescribePipeResult & WithCurrentState(PipeState value)
const Aws::String & GetRequestId() const
DescribePipeResult & WithLogConfiguration(LogConfigurationT &&value)
DescribePipeResult & WithTargetParameters(TargetParametersT &&value)
void SetSourceParameters(SourceParametersT &&value)
void SetDesiredState(RequestedPipeStateDescribeResponse value)
void SetDescription(DescriptionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetStateReason() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_PIPES_API DescribePipeResult()=default
DescribePipeResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
DescribePipeResult & WithEnrichmentParameters(EnrichmentParametersT &&value)
void SetLogConfiguration(LogConfigurationT &&value)
void SetEnrichmentParameters(EnrichmentParametersT &&value)
DescribePipeResult & WithName(NameT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribePipeResult & WithTags(TagsT &&value)
const PipeTargetParameters & GetTargetParameters() const
DescribePipeResult & WithArn(ArnT &&value)
const PipeLogConfiguration & GetLogConfiguration() const
const Aws::String & GetTarget() const
DescribePipeResult & WithSourceParameters(SourceParametersT &&value)
void SetTargetParameters(TargetParametersT &&value)
DescribePipeResult & WithDesiredState(RequestedPipeStateDescribeResponse value)
const Aws::String & GetSource() const
DescribePipeResult & WithEnrichment(EnrichmentT &&value)
DescribePipeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribePipeResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetRoleArn() const
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
Aws::Utils::Json::JsonValue JsonValue