AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline void SetArn(const Aws::String& value) { m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arn.assign(value); }
51 inline DescribePipeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DescribePipeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DescribePipeResult& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline DescribePipeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline DescribePipeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline DescribePipeResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline void SetDescription(const Aws::String& value) { m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_description.assign(value); }
77 inline DescribePipeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline DescribePipeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline DescribePipeResult& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const RequestedPipeStateDescribeResponse& GetDesiredState() const{ return m_desiredState; }
87 inline void SetDesiredState(const RequestedPipeStateDescribeResponse& value) { m_desiredState = value; }
88 inline void SetDesiredState(RequestedPipeStateDescribeResponse&& value) { m_desiredState = std::move(value); }
92
94
97 inline const PipeState& GetCurrentState() const{ return m_currentState; }
98 inline void SetCurrentState(const PipeState& value) { m_currentState = value; }
99 inline void SetCurrentState(PipeState&& value) { m_currentState = std::move(value); }
100 inline DescribePipeResult& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;}
101 inline DescribePipeResult& WithCurrentState(PipeState&& value) { SetCurrentState(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
109 inline void SetStateReason(const Aws::String& value) { m_stateReason = value; }
110 inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); }
111 inline void SetStateReason(const char* value) { m_stateReason.assign(value); }
112 inline DescribePipeResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
113 inline DescribePipeResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
114 inline DescribePipeResult& WithStateReason(const char* value) { SetStateReason(value); return *this;}
116
118
121 inline const Aws::String& GetSource() const{ return m_source; }
122 inline void SetSource(const Aws::String& value) { m_source = value; }
123 inline void SetSource(Aws::String&& value) { m_source = std::move(value); }
124 inline void SetSource(const char* value) { m_source.assign(value); }
125 inline DescribePipeResult& WithSource(const Aws::String& value) { SetSource(value); return *this;}
126 inline DescribePipeResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
127 inline DescribePipeResult& WithSource(const char* value) { SetSource(value); return *this;}
129
131
134 inline const PipeSourceParameters& GetSourceParameters() const{ return m_sourceParameters; }
135 inline void SetSourceParameters(const PipeSourceParameters& value) { m_sourceParameters = value; }
136 inline void SetSourceParameters(PipeSourceParameters&& value) { m_sourceParameters = std::move(value); }
138 inline DescribePipeResult& WithSourceParameters(PipeSourceParameters&& value) { SetSourceParameters(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetEnrichment() const{ return m_enrichment; }
146 inline void SetEnrichment(const Aws::String& value) { m_enrichment = value; }
147 inline void SetEnrichment(Aws::String&& value) { m_enrichment = std::move(value); }
148 inline void SetEnrichment(const char* value) { m_enrichment.assign(value); }
149 inline DescribePipeResult& WithEnrichment(const Aws::String& value) { SetEnrichment(value); return *this;}
150 inline DescribePipeResult& WithEnrichment(Aws::String&& value) { SetEnrichment(std::move(value)); return *this;}
151 inline DescribePipeResult& WithEnrichment(const char* value) { SetEnrichment(value); return *this;}
153
155
158 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const{ return m_enrichmentParameters; }
159 inline void SetEnrichmentParameters(const PipeEnrichmentParameters& value) { m_enrichmentParameters = value; }
160 inline void SetEnrichmentParameters(PipeEnrichmentParameters&& value) { m_enrichmentParameters = std::move(value); }
164
166
169 inline const Aws::String& GetTarget() const{ return m_target; }
170 inline void SetTarget(const Aws::String& value) { m_target = value; }
171 inline void SetTarget(Aws::String&& value) { m_target = std::move(value); }
172 inline void SetTarget(const char* value) { m_target.assign(value); }
173 inline DescribePipeResult& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
174 inline DescribePipeResult& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
175 inline DescribePipeResult& WithTarget(const char* value) { SetTarget(value); return *this;}
177
179
186 inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; }
187 inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParameters = value; }
188 inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParameters = std::move(value); }
190 inline DescribePipeResult& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;}
192
194
197 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
198 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
199 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
200 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
201 inline DescribePipeResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
202 inline DescribePipeResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
203 inline DescribePipeResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
205
207
210 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
211 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
212 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
213 inline DescribePipeResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
214 inline DescribePipeResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
215 inline DescribePipeResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
216 inline DescribePipeResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
217 inline DescribePipeResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
218 inline DescribePipeResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
219 inline DescribePipeResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
220 inline DescribePipeResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
221 inline DescribePipeResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
223
225
228 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
229 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
230 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
231 inline DescribePipeResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
232 inline DescribePipeResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
234
236
241 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
242 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
243 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
245 inline DescribePipeResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
247
249
252 inline const PipeLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
253 inline void SetLogConfiguration(const PipeLogConfiguration& value) { m_logConfiguration = value; }
254 inline void SetLogConfiguration(PipeLogConfiguration&& value) { m_logConfiguration = std::move(value); }
256 inline DescribePipeResult& WithLogConfiguration(PipeLogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
258
260
267 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
268 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
269 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
270 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
271 inline DescribePipeResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
272 inline DescribePipeResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
273 inline DescribePipeResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
275
277
278 inline const Aws::String& GetRequestId() const{ return m_requestId; }
279 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
280 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
281 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
282 inline DescribePipeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
283 inline DescribePipeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
284 inline DescribePipeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
286 private:
287
288 Aws::String m_arn;
289
290 Aws::String m_name;
291
292 Aws::String m_description;
293
295
296 PipeState m_currentState;
297
298 Aws::String m_stateReason;
299
300 Aws::String m_source;
301
302 PipeSourceParameters m_sourceParameters;
303
304 Aws::String m_enrichment;
305
306 PipeEnrichmentParameters m_enrichmentParameters;
307
308 Aws::String m_target;
309
310 PipeTargetParameters m_targetParameters;
311
312 Aws::String m_roleArn;
313
315
316 Aws::Utils::DateTime m_creationTime;
317
318 Aws::Utils::DateTime m_lastModifiedTime;
319
320 PipeLogConfiguration m_logConfiguration;
321
322 Aws::String m_kmsKeyIdentifier;
323
324 Aws::String m_requestId;
325 };
326
327} // namespace Model
328} // namespace Pipes
329} // namespace Aws
void SetName(const Aws::String &value)
DescribePipeResult & WithKmsKeyIdentifier(const char *value)
void SetEnrichmentParameters(PipeEnrichmentParameters &&value)
void SetDesiredState(RequestedPipeStateDescribeResponse &&value)
DescribePipeResult & WithCurrentState(const PipeState &value)
DescribePipeResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetName() const
DescribePipeResult & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetEnrichment() const
DescribePipeResult & AddTags(const char *key, Aws::String &&value)
DescribePipeResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribePipeResult & WithRequestId(Aws::String &&value)
DescribePipeResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribePipeResult & WithRoleArn(Aws::String &&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 & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribePipeResult & WithSource(const char *value)
DescribePipeResult & WithDescription(const Aws::String &value)
DescribePipeResult & AddTags(Aws::String &&key, const char *value)
void SetStateReason(const Aws::String &value)
const Aws::String & GetKmsKeyIdentifier() const
DescribePipeResult & WithSource(Aws::String &&value)
DescribePipeResult & WithLogConfiguration(PipeLogConfiguration &&value)
DescribePipeResult & WithEnrichmentParameters(PipeEnrichmentParameters &&value)
DescribePipeResult & WithName(const char *value)
DescribePipeResult & WithArn(const char *value)
void SetRequestId(const Aws::String &value)
DescribePipeResult & WithDesiredState(RequestedPipeStateDescribeResponse &&value)
void SetEnrichment(const Aws::String &value)
const Aws::String & GetRequestId() const
DescribePipeResult & WithEnrichment(const char *value)
void SetTargetParameters(const PipeTargetParameters &value)
DescribePipeResult & WithRequestId(const char *value)
DescribePipeResult & WithStateReason(Aws::String &&value)
void SetKmsKeyIdentifier(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
DescribePipeResult & WithStateReason(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetLogConfiguration(PipeLogConfiguration &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
const RequestedPipeStateDescribeResponse & GetDesiredState() const
void SetLogConfiguration(const PipeLogConfiguration &value)
void SetTarget(const Aws::String &value)
const Aws::String & GetStateReason() const
DescribePipeResult & WithArn(Aws::String &&value)
DescribePipeResult & WithTargetParameters(const PipeTargetParameters &value)
const PipeState & GetCurrentState() const
DescribePipeResult & WithStateReason(const Aws::String &value)
DescribePipeResult & WithTarget(const char *value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
void SetDesiredState(const RequestedPipeStateDescribeResponse &value)
DescribePipeResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribePipeResult & WithRoleArn(const char *value)
void SetSource(const Aws::String &value)
DescribePipeResult & WithArn(const Aws::String &value)
void SetCurrentState(const PipeState &value)
DescribePipeResult & WithLogConfiguration(const PipeLogConfiguration &value)
DescribePipeResult & WithSource(const Aws::String &value)
void SetEnrichmentParameters(const PipeEnrichmentParameters &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetSourceParameters(PipeSourceParameters &&value)
DescribePipeResult & WithKmsKeyIdentifier(const Aws::String &value)
DescribePipeResult & WithCurrentState(PipeState &&value)
void SetSourceParameters(const PipeSourceParameters &value)
DescribePipeResult & WithName(Aws::String &&value)
DescribePipeResult & WithKmsKeyIdentifier(Aws::String &&value)
DescribePipeResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const PipeTargetParameters & GetTargetParameters() const
DescribePipeResult & WithDescription(Aws::String &&value)
const PipeLogConfiguration & GetLogConfiguration() const
DescribePipeResult & WithEnrichmentParameters(const PipeEnrichmentParameters &value)
DescribePipeResult & WithTarget(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetTarget() const
DescribePipeResult & WithEnrichment(Aws::String &&value)
DescribePipeResult & WithEnrichment(const Aws::String &value)
DescribePipeResult & WithRequestId(const Aws::String &value)
DescribePipeResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetTargetParameters(PipeTargetParameters &&value)
DescribePipeResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribePipeResult & WithTarget(const Aws::String &value)
DescribePipeResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetKmsKeyIdentifier(const Aws::String &value)
DescribePipeResult & AddTags(const char *key, const char *value)
DescribePipeResult & WithTargetParameters(PipeTargetParameters &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribePipeResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribePipeResult & WithSourceParameters(PipeSourceParameters &&value)
DescribePipeResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSource() const
DescribePipeResult & WithSourceParameters(const PipeSourceParameters &value)
DescribePipeResult & WithDesiredState(const RequestedPipeStateDescribeResponse &value)
void SetDescription(const Aws::String &value)
DescribePipeResult & WithRoleArn(const Aws::String &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