AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribePipeResult.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/RequestedPipeStateDescribeResponse.h>
10#include <aws/pipes/model/PipeState.h>
11#include <aws/pipes/model/PipeSourceParameters.h>
12#include <aws/pipes/model/PipeEnrichmentParameters.h>
13#include <aws/pipes/model/PipeTargetParameters.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/pipes/model/PipeLogConfiguration.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 Pipes
32{
33namespace Model
34{
36 {
37 public:
38 AWS_PIPES_API DescribePipeResult() = default;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 DescribePipeResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 DescribePipeResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 DescribePipeResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline RequestedPipeStateDescribeResponse GetDesiredState() const { return m_desiredState; }
81 inline void SetDesiredState(RequestedPipeStateDescribeResponse value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
84
86
89 inline PipeState GetCurrentState() const { return m_currentState; }
90 inline void SetCurrentState(PipeState value) { m_currentStateHasBeenSet = true; m_currentState = value; }
91 inline DescribePipeResult& WithCurrentState(PipeState value) { SetCurrentState(value); return *this;}
93
95
98 inline const Aws::String& GetStateReason() const { return m_stateReason; }
99 template<typename StateReasonT = Aws::String>
100 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::forward<StateReasonT>(value); }
101 template<typename StateReasonT = Aws::String>
102 DescribePipeResult& WithStateReason(StateReasonT&& value) { SetStateReason(std::forward<StateReasonT>(value)); return *this;}
104
106
109 inline const Aws::String& GetSource() const { return m_source; }
110 template<typename SourceT = Aws::String>
111 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
112 template<typename SourceT = Aws::String>
113 DescribePipeResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
115
117
120 inline const PipeSourceParameters& GetSourceParameters() const { return m_sourceParameters; }
121 template<typename SourceParametersT = PipeSourceParameters>
122 void SetSourceParameters(SourceParametersT&& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = std::forward<SourceParametersT>(value); }
123 template<typename SourceParametersT = PipeSourceParameters>
124 DescribePipeResult& WithSourceParameters(SourceParametersT&& value) { SetSourceParameters(std::forward<SourceParametersT>(value)); return *this;}
126
128
131 inline const Aws::String& GetEnrichment() const { return m_enrichment; }
132 template<typename EnrichmentT = Aws::String>
133 void SetEnrichment(EnrichmentT&& value) { m_enrichmentHasBeenSet = true; m_enrichment = std::forward<EnrichmentT>(value); }
134 template<typename EnrichmentT = Aws::String>
135 DescribePipeResult& WithEnrichment(EnrichmentT&& value) { SetEnrichment(std::forward<EnrichmentT>(value)); return *this;}
137
139
142 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const { return m_enrichmentParameters; }
143 template<typename EnrichmentParametersT = PipeEnrichmentParameters>
144 void SetEnrichmentParameters(EnrichmentParametersT&& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = std::forward<EnrichmentParametersT>(value); }
145 template<typename EnrichmentParametersT = PipeEnrichmentParameters>
146 DescribePipeResult& WithEnrichmentParameters(EnrichmentParametersT&& value) { SetEnrichmentParameters(std::forward<EnrichmentParametersT>(value)); return *this;}
148
150
153 inline const Aws::String& GetTarget() const { return m_target; }
154 template<typename TargetT = Aws::String>
155 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
156 template<typename TargetT = Aws::String>
157 DescribePipeResult& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
159
161
168 inline const PipeTargetParameters& GetTargetParameters() const { return m_targetParameters; }
169 template<typename TargetParametersT = PipeTargetParameters>
170 void SetTargetParameters(TargetParametersT&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::forward<TargetParametersT>(value); }
171 template<typename TargetParametersT = PipeTargetParameters>
172 DescribePipeResult& WithTargetParameters(TargetParametersT&& value) { SetTargetParameters(std::forward<TargetParametersT>(value)); return *this;}
174
176
179 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
180 template<typename RoleArnT = Aws::String>
181 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
182 template<typename RoleArnT = Aws::String>
183 DescribePipeResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
193 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 DescribePipeResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
195 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
196 DescribePipeResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
197 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
198 }
200
202
205 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
206 template<typename CreationTimeT = Aws::Utils::DateTime>
207 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
208 template<typename CreationTimeT = Aws::Utils::DateTime>
209 DescribePipeResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
211
213
218 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
219 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
220 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
221 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
222 DescribePipeResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
224
226
229 inline const PipeLogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
230 template<typename LogConfigurationT = PipeLogConfiguration>
231 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
232 template<typename LogConfigurationT = PipeLogConfiguration>
233 DescribePipeResult& WithLogConfiguration(LogConfigurationT&& value) { SetLogConfiguration(std::forward<LogConfigurationT>(value)); return *this;}
235
237
244 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
245 template<typename KmsKeyIdentifierT = Aws::String>
246 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
247 template<typename KmsKeyIdentifierT = Aws::String>
248 DescribePipeResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
250
252
253 inline const Aws::String& GetRequestId() const { return m_requestId; }
254 template<typename RequestIdT = Aws::String>
255 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
256 template<typename RequestIdT = Aws::String>
257 DescribePipeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
259 private:
260
261 Aws::String m_arn;
262 bool m_arnHasBeenSet = false;
263
264 Aws::String m_name;
265 bool m_nameHasBeenSet = false;
266
267 Aws::String m_description;
268 bool m_descriptionHasBeenSet = false;
269
271 bool m_desiredStateHasBeenSet = false;
272
273 PipeState m_currentState{PipeState::NOT_SET};
274 bool m_currentStateHasBeenSet = false;
275
276 Aws::String m_stateReason;
277 bool m_stateReasonHasBeenSet = false;
278
279 Aws::String m_source;
280 bool m_sourceHasBeenSet = false;
281
282 PipeSourceParameters m_sourceParameters;
283 bool m_sourceParametersHasBeenSet = false;
284
285 Aws::String m_enrichment;
286 bool m_enrichmentHasBeenSet = false;
287
288 PipeEnrichmentParameters m_enrichmentParameters;
289 bool m_enrichmentParametersHasBeenSet = false;
290
291 Aws::String m_target;
292 bool m_targetHasBeenSet = false;
293
294 PipeTargetParameters m_targetParameters;
295 bool m_targetParametersHasBeenSet = false;
296
297 Aws::String m_roleArn;
298 bool m_roleArnHasBeenSet = false;
299
301 bool m_tagsHasBeenSet = false;
302
303 Aws::Utils::DateTime m_creationTime{};
304 bool m_creationTimeHasBeenSet = false;
305
306 Aws::Utils::DateTime m_lastModifiedTime{};
307 bool m_lastModifiedTimeHasBeenSet = false;
308
309 PipeLogConfiguration m_logConfiguration;
310 bool m_logConfigurationHasBeenSet = false;
311
312 Aws::String m_kmsKeyIdentifier;
313 bool m_kmsKeyIdentifierHasBeenSet = false;
314
315 Aws::String m_requestId;
316 bool m_requestIdHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace Pipes
321} // 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