AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdatePipeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/PipesRequest.h>
9#include <aws/pipes/Pipes_EXPORTS.h>
10#include <aws/pipes/model/PipeEnrichmentParameters.h>
11#include <aws/pipes/model/PipeLogConfigurationParameters.h>
12#include <aws/pipes/model/PipeTargetParameters.h>
13#include <aws/pipes/model/RequestedPipeState.h>
14#include <aws/pipes/model/UpdatePipeSourceParameters.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Pipes {
20namespace Model {
21
25 public:
26 AWS_PIPES_API UpdatePipeRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePipe"; }
33
34 AWS_PIPES_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 UpdatePipeRequest& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 UpdatePipeRequest& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline RequestedPipeState GetDesiredState() const { return m_desiredState; }
77 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
79 m_desiredStateHasBeenSet = true;
80 m_desiredState = value;
81 }
83 SetDesiredState(value);
84 return *this;
85 }
87
89
92 inline const UpdatePipeSourceParameters& GetSourceParameters() const { return m_sourceParameters; }
93 inline bool SourceParametersHasBeenSet() const { return m_sourceParametersHasBeenSet; }
94 template <typename SourceParametersT = UpdatePipeSourceParameters>
95 void SetSourceParameters(SourceParametersT&& value) {
96 m_sourceParametersHasBeenSet = true;
97 m_sourceParameters = std::forward<SourceParametersT>(value);
98 }
99 template <typename SourceParametersT = UpdatePipeSourceParameters>
100 UpdatePipeRequest& WithSourceParameters(SourceParametersT&& value) {
101 SetSourceParameters(std::forward<SourceParametersT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetEnrichment() const { return m_enrichment; }
111 inline bool EnrichmentHasBeenSet() const { return m_enrichmentHasBeenSet; }
112 template <typename EnrichmentT = Aws::String>
113 void SetEnrichment(EnrichmentT&& value) {
114 m_enrichmentHasBeenSet = true;
115 m_enrichment = std::forward<EnrichmentT>(value);
116 }
117 template <typename EnrichmentT = Aws::String>
118 UpdatePipeRequest& WithEnrichment(EnrichmentT&& value) {
119 SetEnrichment(std::forward<EnrichmentT>(value));
120 return *this;
121 }
123
125
128 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const { return m_enrichmentParameters; }
129 inline bool EnrichmentParametersHasBeenSet() const { return m_enrichmentParametersHasBeenSet; }
130 template <typename EnrichmentParametersT = PipeEnrichmentParameters>
131 void SetEnrichmentParameters(EnrichmentParametersT&& value) {
132 m_enrichmentParametersHasBeenSet = true;
133 m_enrichmentParameters = std::forward<EnrichmentParametersT>(value);
134 }
135 template <typename EnrichmentParametersT = PipeEnrichmentParameters>
136 UpdatePipeRequest& WithEnrichmentParameters(EnrichmentParametersT&& value) {
137 SetEnrichmentParameters(std::forward<EnrichmentParametersT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetTarget() const { return m_target; }
147 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
148 template <typename TargetT = Aws::String>
149 void SetTarget(TargetT&& value) {
150 m_targetHasBeenSet = true;
151 m_target = std::forward<TargetT>(value);
152 }
153 template <typename TargetT = Aws::String>
154 UpdatePipeRequest& WithTarget(TargetT&& value) {
155 SetTarget(std::forward<TargetT>(value));
156 return *this;
157 }
159
161
168 inline const PipeTargetParameters& GetTargetParameters() const { return m_targetParameters; }
169 inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; }
170 template <typename TargetParametersT = PipeTargetParameters>
171 void SetTargetParameters(TargetParametersT&& value) {
172 m_targetParametersHasBeenSet = true;
173 m_targetParameters = std::forward<TargetParametersT>(value);
174 }
175 template <typename TargetParametersT = PipeTargetParameters>
176 UpdatePipeRequest& WithTargetParameters(TargetParametersT&& value) {
177 SetTargetParameters(std::forward<TargetParametersT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
187 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
188 template <typename RoleArnT = Aws::String>
189 void SetRoleArn(RoleArnT&& value) {
190 m_roleArnHasBeenSet = true;
191 m_roleArn = std::forward<RoleArnT>(value);
192 }
193 template <typename RoleArnT = Aws::String>
194 UpdatePipeRequest& WithRoleArn(RoleArnT&& value) {
195 SetRoleArn(std::forward<RoleArnT>(value));
196 return *this;
197 }
199
201
204 inline const PipeLogConfigurationParameters& GetLogConfiguration() const { return m_logConfiguration; }
205 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
206 template <typename LogConfigurationT = PipeLogConfigurationParameters>
207 void SetLogConfiguration(LogConfigurationT&& value) {
208 m_logConfigurationHasBeenSet = true;
209 m_logConfiguration = std::forward<LogConfigurationT>(value);
210 }
211 template <typename LogConfigurationT = PipeLogConfigurationParameters>
212 UpdatePipeRequest& WithLogConfiguration(LogConfigurationT&& value) {
213 SetLogConfiguration(std::forward<LogConfigurationT>(value));
214 return *this;
215 }
217
219
232 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
233 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
234 template <typename KmsKeyIdentifierT = Aws::String>
235 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
236 m_kmsKeyIdentifierHasBeenSet = true;
237 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
238 }
239 template <typename KmsKeyIdentifierT = Aws::String>
240 UpdatePipeRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
241 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
242 return *this;
243 }
245 private:
246 Aws::String m_name;
247
248 Aws::String m_description;
249
251
252 UpdatePipeSourceParameters m_sourceParameters;
253
254 Aws::String m_enrichment;
255
256 PipeEnrichmentParameters m_enrichmentParameters;
257
258 Aws::String m_target;
259
260 PipeTargetParameters m_targetParameters;
261
262 Aws::String m_roleArn;
263
264 PipeLogConfigurationParameters m_logConfiguration;
265
266 Aws::String m_kmsKeyIdentifier;
267 bool m_nameHasBeenSet = false;
268 bool m_descriptionHasBeenSet = false;
269 bool m_desiredStateHasBeenSet = false;
270 bool m_sourceParametersHasBeenSet = false;
271 bool m_enrichmentHasBeenSet = false;
272 bool m_enrichmentParametersHasBeenSet = false;
273 bool m_targetHasBeenSet = false;
274 bool m_targetParametersHasBeenSet = false;
275 bool m_roleArnHasBeenSet = false;
276 bool m_logConfigurationHasBeenSet = false;
277 bool m_kmsKeyIdentifierHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace Pipes
282} // namespace Aws
UpdatePipeRequest & WithEnrichmentParameters(EnrichmentParametersT &&value)
const Aws::String & GetEnrichment() const
UpdatePipeRequest & WithTarget(TargetT &&value)
AWS_PIPES_API UpdatePipeRequest()=default
const UpdatePipeSourceParameters & GetSourceParameters() const
UpdatePipeRequest & WithRoleArn(RoleArnT &&value)
void SetLogConfiguration(LogConfigurationT &&value)
UpdatePipeRequest & WithDescription(DescriptionT &&value)
UpdatePipeRequest & WithName(NameT &&value)
const Aws::String & GetName() const
void SetDesiredState(RequestedPipeState value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetDescription(DescriptionT &&value)
UpdatePipeRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
UpdatePipeRequest & WithDesiredState(RequestedPipeState value)
UpdatePipeRequest & WithEnrichment(EnrichmentT &&value)
UpdatePipeRequest & WithLogConfiguration(LogConfigurationT &&value)
void SetEnrichment(EnrichmentT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PIPES_API Aws::String SerializePayload() const override
UpdatePipeRequest & WithTargetParameters(TargetParametersT &&value)
const Aws::String & GetKmsKeyIdentifier() const
const Aws::String & GetDescription() const
const Aws::String & GetTarget() const
const PipeTargetParameters & GetTargetParameters() const
const Aws::String & GetRoleArn() const
void SetEnrichmentParameters(EnrichmentParametersT &&value)
void SetTargetParameters(TargetParametersT &&value)
const PipeLogConfigurationParameters & GetLogConfiguration() const
void SetSourceParameters(SourceParametersT &&value)
UpdatePipeRequest & WithSourceParameters(SourceParametersT &&value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
RequestedPipeState GetDesiredState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String