AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipeRequest.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/UpdatePipeSourceParameters.h>
12#include <aws/pipes/model/PipeEnrichmentParameters.h>
13#include <aws/pipes/model/PipeTargetParameters.h>
14#include <aws/pipes/model/PipeLogConfigurationParameters.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Pipes
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_PIPES_API UpdatePipeRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdatePipe"; }
36
37 AWS_PIPES_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline UpdatePipeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline UpdatePipeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline UpdatePipeRequest& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline UpdatePipeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline UpdatePipeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline UpdatePipeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const RequestedPipeState& GetDesiredState() const{ return m_desiredState; }
73 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
74 inline void SetDesiredState(const RequestedPipeState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
75 inline void SetDesiredState(RequestedPipeState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
76 inline UpdatePipeRequest& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
77 inline UpdatePipeRequest& WithDesiredState(RequestedPipeState&& value) { SetDesiredState(std::move(value)); return *this;}
79
81
84 inline const UpdatePipeSourceParameters& GetSourceParameters() const{ return m_sourceParameters; }
85 inline bool SourceParametersHasBeenSet() const { return m_sourceParametersHasBeenSet; }
86 inline void SetSourceParameters(const UpdatePipeSourceParameters& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = value; }
87 inline void SetSourceParameters(UpdatePipeSourceParameters&& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = std::move(value); }
89 inline UpdatePipeRequest& WithSourceParameters(UpdatePipeSourceParameters&& value) { SetSourceParameters(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetEnrichment() const{ return m_enrichment; }
97 inline bool EnrichmentHasBeenSet() const { return m_enrichmentHasBeenSet; }
98 inline void SetEnrichment(const Aws::String& value) { m_enrichmentHasBeenSet = true; m_enrichment = value; }
99 inline void SetEnrichment(Aws::String&& value) { m_enrichmentHasBeenSet = true; m_enrichment = std::move(value); }
100 inline void SetEnrichment(const char* value) { m_enrichmentHasBeenSet = true; m_enrichment.assign(value); }
101 inline UpdatePipeRequest& WithEnrichment(const Aws::String& value) { SetEnrichment(value); return *this;}
102 inline UpdatePipeRequest& WithEnrichment(Aws::String&& value) { SetEnrichment(std::move(value)); return *this;}
103 inline UpdatePipeRequest& WithEnrichment(const char* value) { SetEnrichment(value); return *this;}
105
107
110 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const{ return m_enrichmentParameters; }
111 inline bool EnrichmentParametersHasBeenSet() const { return m_enrichmentParametersHasBeenSet; }
112 inline void SetEnrichmentParameters(const PipeEnrichmentParameters& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = value; }
113 inline void SetEnrichmentParameters(PipeEnrichmentParameters&& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = std::move(value); }
117
119
122 inline const Aws::String& GetTarget() const{ return m_target; }
123 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
124 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
125 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
126 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
127 inline UpdatePipeRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
128 inline UpdatePipeRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
129 inline UpdatePipeRequest& WithTarget(const char* value) { SetTarget(value); return *this;}
131
133
140 inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; }
141 inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; }
142 inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParametersHasBeenSet = true; m_targetParameters = value; }
143 inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::move(value); }
145 inline UpdatePipeRequest& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
153 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
154 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
155 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
156 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
157 inline UpdatePipeRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
158 inline UpdatePipeRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
159 inline UpdatePipeRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
161
163
166 inline const PipeLogConfigurationParameters& GetLogConfiguration() const{ return m_logConfiguration; }
167 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
168 inline void SetLogConfiguration(const PipeLogConfigurationParameters& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
169 inline void SetLogConfiguration(PipeLogConfigurationParameters&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
173
175
188 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
189 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
190 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
191 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
192 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
193 inline UpdatePipeRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
194 inline UpdatePipeRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
195 inline UpdatePipeRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
197 private:
198
199 Aws::String m_name;
200 bool m_nameHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
205 RequestedPipeState m_desiredState;
206 bool m_desiredStateHasBeenSet = false;
207
208 UpdatePipeSourceParameters m_sourceParameters;
209 bool m_sourceParametersHasBeenSet = false;
210
211 Aws::String m_enrichment;
212 bool m_enrichmentHasBeenSet = false;
213
214 PipeEnrichmentParameters m_enrichmentParameters;
215 bool m_enrichmentParametersHasBeenSet = false;
216
217 Aws::String m_target;
218 bool m_targetHasBeenSet = false;
219
220 PipeTargetParameters m_targetParameters;
221 bool m_targetParametersHasBeenSet = false;
222
223 Aws::String m_roleArn;
224 bool m_roleArnHasBeenSet = false;
225
226 PipeLogConfigurationParameters m_logConfiguration;
227 bool m_logConfigurationHasBeenSet = false;
228
229 Aws::String m_kmsKeyIdentifier;
230 bool m_kmsKeyIdentifierHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace Pipes
235} // namespace Aws
void SetEnrichmentParameters(PipeEnrichmentParameters &&value)
UpdatePipeRequest & WithSourceParameters(const UpdatePipeSourceParameters &value)
UpdatePipeRequest & WithTargetParameters(const PipeTargetParameters &value)
const Aws::String & GetEnrichment() const
UpdatePipeRequest & WithLogConfiguration(PipeLogConfigurationParameters &&value)
UpdatePipeRequest & WithKmsKeyIdentifier(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdatePipeRequest & WithLogConfiguration(const PipeLogConfigurationParameters &value)
const UpdatePipeSourceParameters & GetSourceParameters() const
UpdatePipeRequest & WithDescription(const char *value)
void SetLogConfiguration(const PipeLogConfigurationParameters &value)
UpdatePipeRequest & WithDescription(Aws::String &&value)
void SetSourceParameters(const UpdatePipeSourceParameters &value)
UpdatePipeRequest & WithDesiredState(const RequestedPipeState &value)
void SetDesiredState(RequestedPipeState &&value)
UpdatePipeRequest & WithSourceParameters(UpdatePipeSourceParameters &&value)
const RequestedPipeState & GetDesiredState() const
const Aws::String & GetName() const
void SetEnrichment(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetName(const Aws::String &value)
void SetTargetParameters(const PipeTargetParameters &value)
UpdatePipeRequest & WithDescription(const Aws::String &value)
UpdatePipeRequest & WithName(const char *value)
UpdatePipeRequest & WithKmsKeyIdentifier(const Aws::String &value)
UpdatePipeRequest & WithEnrichment(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetRoleArn(const Aws::String &value)
AWS_PIPES_API Aws::String SerializePayload() const override
void SetKmsKeyIdentifier(const char *value)
void SetKmsKeyIdentifier(Aws::String &&value)
UpdatePipeRequest & WithEnrichment(Aws::String &&value)
UpdatePipeRequest & WithRoleArn(Aws::String &&value)
UpdatePipeRequest & WithEnrichmentParameters(PipeEnrichmentParameters &&value)
UpdatePipeRequest & WithTarget(const Aws::String &value)
UpdatePipeRequest & WithName(Aws::String &&value)
UpdatePipeRequest & WithRoleArn(const Aws::String &value)
UpdatePipeRequest & WithEnrichment(const char *value)
const Aws::String & GetKmsKeyIdentifier() const
void SetEnrichment(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetTarget() const
const PipeTargetParameters & GetTargetParameters() const
void SetSourceParameters(UpdatePipeSourceParameters &&value)
void SetTargetParameters(PipeTargetParameters &&value)
UpdatePipeRequest & WithRoleArn(const char *value)
const Aws::String & GetRoleArn() const
UpdatePipeRequest & WithTargetParameters(PipeTargetParameters &&value)
UpdatePipeRequest & WithTarget(Aws::String &&value)
void SetKmsKeyIdentifier(const Aws::String &value)
const PipeLogConfigurationParameters & GetLogConfiguration() const
UpdatePipeRequest & WithTarget(const char *value)
void SetDesiredState(const RequestedPipeState &value)
UpdatePipeRequest & WithKmsKeyIdentifier(const char *value)
UpdatePipeRequest & WithName(const Aws::String &value)
void SetLogConfiguration(PipeLogConfigurationParameters &&value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
UpdatePipeRequest & WithEnrichmentParameters(const PipeEnrichmentParameters &value)
void SetTarget(const Aws::String &value)
void SetEnrichmentParameters(const PipeEnrichmentParameters &value)
UpdatePipeRequest & WithDesiredState(RequestedPipeState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String