AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePipeRequest.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/PipesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/model/RequestedPipeState.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/pipes/model/PipeLogConfigurationParameters.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Pipes
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_PIPES_API CreatePipeRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreatePipe"; }
37
38 AWS_PIPES_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreatePipeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreatePipeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreatePipeRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CreatePipeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CreatePipeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CreatePipeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const RequestedPipeState& GetDesiredState() const{ return m_desiredState; }
74 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
75 inline void SetDesiredState(const RequestedPipeState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
76 inline void SetDesiredState(RequestedPipeState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
77 inline CreatePipeRequest& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
78 inline CreatePipeRequest& WithDesiredState(RequestedPipeState&& value) { SetDesiredState(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetSource() const{ return m_source; }
86 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
87 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
88 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
89 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
90 inline CreatePipeRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
91 inline CreatePipeRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
92 inline CreatePipeRequest& WithSource(const char* value) { SetSource(value); return *this;}
94
96
99 inline const PipeSourceParameters& GetSourceParameters() const{ return m_sourceParameters; }
100 inline bool SourceParametersHasBeenSet() const { return m_sourceParametersHasBeenSet; }
101 inline void SetSourceParameters(const PipeSourceParameters& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = value; }
102 inline void SetSourceParameters(PipeSourceParameters&& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = std::move(value); }
104 inline CreatePipeRequest& WithSourceParameters(PipeSourceParameters&& value) { SetSourceParameters(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetEnrichment() const{ return m_enrichment; }
112 inline bool EnrichmentHasBeenSet() const { return m_enrichmentHasBeenSet; }
113 inline void SetEnrichment(const Aws::String& value) { m_enrichmentHasBeenSet = true; m_enrichment = value; }
114 inline void SetEnrichment(Aws::String&& value) { m_enrichmentHasBeenSet = true; m_enrichment = std::move(value); }
115 inline void SetEnrichment(const char* value) { m_enrichmentHasBeenSet = true; m_enrichment.assign(value); }
116 inline CreatePipeRequest& WithEnrichment(const Aws::String& value) { SetEnrichment(value); return *this;}
117 inline CreatePipeRequest& WithEnrichment(Aws::String&& value) { SetEnrichment(std::move(value)); return *this;}
118 inline CreatePipeRequest& WithEnrichment(const char* value) { SetEnrichment(value); return *this;}
120
122
125 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const{ return m_enrichmentParameters; }
126 inline bool EnrichmentParametersHasBeenSet() const { return m_enrichmentParametersHasBeenSet; }
127 inline void SetEnrichmentParameters(const PipeEnrichmentParameters& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = value; }
128 inline void SetEnrichmentParameters(PipeEnrichmentParameters&& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = std::move(value); }
132
134
137 inline const Aws::String& GetTarget() const{ return m_target; }
138 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
139 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
140 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
141 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
142 inline CreatePipeRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
143 inline CreatePipeRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
144 inline CreatePipeRequest& WithTarget(const char* value) { SetTarget(value); return *this;}
146
148
155 inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; }
156 inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; }
157 inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParametersHasBeenSet = true; m_targetParameters = value; }
158 inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::move(value); }
160 inline CreatePipeRequest& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
168 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
169 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
170 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
171 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
172 inline CreatePipeRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
173 inline CreatePipeRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
174 inline CreatePipeRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
176
178
181 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
182 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
183 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
184 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
185 inline CreatePipeRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
186 inline CreatePipeRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
187 inline CreatePipeRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
188 inline CreatePipeRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
189 inline CreatePipeRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
190 inline CreatePipeRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
191 inline CreatePipeRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
192 inline CreatePipeRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
193 inline CreatePipeRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
195
197
200 inline const PipeLogConfigurationParameters& GetLogConfiguration() const{ return m_logConfiguration; }
201 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
202 inline void SetLogConfiguration(const PipeLogConfigurationParameters& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
203 inline void SetLogConfiguration(PipeLogConfigurationParameters&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
207
209
219 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
220 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
221 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
222 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
223 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
224 inline CreatePipeRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
225 inline CreatePipeRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
226 inline CreatePipeRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
228 private:
229
230 Aws::String m_name;
231 bool m_nameHasBeenSet = false;
232
233 Aws::String m_description;
234 bool m_descriptionHasBeenSet = false;
235
236 RequestedPipeState m_desiredState;
237 bool m_desiredStateHasBeenSet = false;
238
239 Aws::String m_source;
240 bool m_sourceHasBeenSet = false;
241
242 PipeSourceParameters m_sourceParameters;
243 bool m_sourceParametersHasBeenSet = false;
244
245 Aws::String m_enrichment;
246 bool m_enrichmentHasBeenSet = false;
247
248 PipeEnrichmentParameters m_enrichmentParameters;
249 bool m_enrichmentParametersHasBeenSet = false;
250
251 Aws::String m_target;
252 bool m_targetHasBeenSet = false;
253
254 PipeTargetParameters m_targetParameters;
255 bool m_targetParametersHasBeenSet = false;
256
257 Aws::String m_roleArn;
258 bool m_roleArnHasBeenSet = false;
259
261 bool m_tagsHasBeenSet = false;
262
263 PipeLogConfigurationParameters m_logConfiguration;
264 bool m_logConfigurationHasBeenSet = false;
265
266 Aws::String m_kmsKeyIdentifier;
267 bool m_kmsKeyIdentifierHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace Pipes
272} // namespace Aws
void SetTargetParameters(const PipeTargetParameters &value)
void SetRoleArn(const Aws::String &value)
const PipeSourceParameters & GetSourceParameters() const
void SetKmsKeyIdentifier(const Aws::String &value)
CreatePipeRequest & AddTags(const char *key, Aws::String &&value)
void SetTargetParameters(PipeTargetParameters &&value)
void SetDesiredState(RequestedPipeState &&value)
CreatePipeRequest & WithEnrichmentParameters(const PipeEnrichmentParameters &value)
CreatePipeRequest & WithRoleArn(const char *value)
void SetKmsKeyIdentifier(const char *value)
CreatePipeRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePipeRequest & WithTarget(Aws::String &&value)
CreatePipeRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePipeRequest & WithSource(const Aws::String &value)
void SetEnrichment(Aws::String &&value)
CreatePipeRequest & WithEnrichment(const Aws::String &value)
CreatePipeRequest & AddTags(Aws::String &&key, const char *value)
CreatePipeRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePipeRequest & WithKmsKeyIdentifier(const char *value)
CreatePipeRequest & WithName(const Aws::String &value)
const PipeLogConfigurationParameters & GetLogConfiguration() const
const Aws::String & GetDescription() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePipeRequest & WithEnrichmentParameters(PipeEnrichmentParameters &&value)
CreatePipeRequest & WithDescription(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetRoleArn() const
CreatePipeRequest & WithRoleArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
CreatePipeRequest & WithSource(const char *value)
const Aws::String & GetSource() const
const PipeTargetParameters & GetTargetParameters() const
void SetEnrichmentParameters(const PipeEnrichmentParameters &value)
AWS_PIPES_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePipeRequest & WithKmsKeyIdentifier(const Aws::String &value)
const Aws::String & GetEnrichment() const
void SetTarget(const Aws::String &value)
const Aws::String & GetKmsKeyIdentifier() const
CreatePipeRequest & WithDescription(const Aws::String &value)
CreatePipeRequest & WithTargetParameters(const PipeTargetParameters &value)
const Aws::String & GetName() const
void SetSource(Aws::String &&value)
CreatePipeRequest & WithTargetParameters(PipeTargetParameters &&value)
void SetLogConfiguration(const PipeLogConfigurationParameters &value)
CreatePipeRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceParameters(PipeSourceParameters &&value)
CreatePipeRequest & WithEnrichment(const char *value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
CreatePipeRequest & WithEnrichment(Aws::String &&value)
CreatePipeRequest & WithTarget(const char *value)
CreatePipeRequest & WithTarget(const Aws::String &value)
CreatePipeRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePipeRequest & WithSourceParameters(const PipeSourceParameters &value)
CreatePipeRequest & WithDesiredState(RequestedPipeState &&value)
CreatePipeRequest & WithName(const char *value)
void SetSource(const Aws::String &value)
void SetEnrichment(const Aws::String &value)
void SetDesiredState(const RequestedPipeState &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePipeRequest & WithKmsKeyIdentifier(Aws::String &&value)
CreatePipeRequest & WithDesiredState(const RequestedPipeState &value)
void SetKmsKeyIdentifier(Aws::String &&value)
const Aws::String & GetTarget() const
void SetEnrichmentParameters(PipeEnrichmentParameters &&value)
CreatePipeRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLogConfiguration(PipeLogConfigurationParameters &&value)
CreatePipeRequest & AddTags(const char *key, const char *value)
const RequestedPipeState & GetDesiredState() const
CreatePipeRequest & WithDescription(Aws::String &&value)
CreatePipeRequest & WithSourceParameters(PipeSourceParameters &&value)
CreatePipeRequest & WithRoleArn(const Aws::String &value)
CreatePipeRequest & WithName(Aws::String &&value)
CreatePipeRequest & WithLogConfiguration(const PipeLogConfigurationParameters &value)
CreatePipeRequest & WithSource(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceParameters(const PipeSourceParameters &value)
CreatePipeRequest & WithLogConfiguration(PipeLogConfigurationParameters &&value)
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