AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 UpdatePipeRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 UpdatePipeRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline RequestedPipeState GetDesiredState() const { return m_desiredState; }
69 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
70 inline void SetDesiredState(RequestedPipeState value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
73
75
78 inline const UpdatePipeSourceParameters& GetSourceParameters() const { return m_sourceParameters; }
79 inline bool SourceParametersHasBeenSet() const { return m_sourceParametersHasBeenSet; }
80 template<typename SourceParametersT = UpdatePipeSourceParameters>
81 void SetSourceParameters(SourceParametersT&& value) { m_sourceParametersHasBeenSet = true; m_sourceParameters = std::forward<SourceParametersT>(value); }
82 template<typename SourceParametersT = UpdatePipeSourceParameters>
83 UpdatePipeRequest& WithSourceParameters(SourceParametersT&& value) { SetSourceParameters(std::forward<SourceParametersT>(value)); return *this;}
85
87
90 inline const Aws::String& GetEnrichment() const { return m_enrichment; }
91 inline bool EnrichmentHasBeenSet() const { return m_enrichmentHasBeenSet; }
92 template<typename EnrichmentT = Aws::String>
93 void SetEnrichment(EnrichmentT&& value) { m_enrichmentHasBeenSet = true; m_enrichment = std::forward<EnrichmentT>(value); }
94 template<typename EnrichmentT = Aws::String>
95 UpdatePipeRequest& WithEnrichment(EnrichmentT&& value) { SetEnrichment(std::forward<EnrichmentT>(value)); return *this;}
97
99
102 inline const PipeEnrichmentParameters& GetEnrichmentParameters() const { return m_enrichmentParameters; }
103 inline bool EnrichmentParametersHasBeenSet() const { return m_enrichmentParametersHasBeenSet; }
104 template<typename EnrichmentParametersT = PipeEnrichmentParameters>
105 void SetEnrichmentParameters(EnrichmentParametersT&& value) { m_enrichmentParametersHasBeenSet = true; m_enrichmentParameters = std::forward<EnrichmentParametersT>(value); }
106 template<typename EnrichmentParametersT = PipeEnrichmentParameters>
107 UpdatePipeRequest& WithEnrichmentParameters(EnrichmentParametersT&& value) { SetEnrichmentParameters(std::forward<EnrichmentParametersT>(value)); return *this;}
109
111
114 inline const Aws::String& GetTarget() const { return m_target; }
115 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
116 template<typename TargetT = Aws::String>
117 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
118 template<typename TargetT = Aws::String>
119 UpdatePipeRequest& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
121
123
130 inline const PipeTargetParameters& GetTargetParameters() const { return m_targetParameters; }
131 inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; }
132 template<typename TargetParametersT = PipeTargetParameters>
133 void SetTargetParameters(TargetParametersT&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::forward<TargetParametersT>(value); }
134 template<typename TargetParametersT = PipeTargetParameters>
135 UpdatePipeRequest& WithTargetParameters(TargetParametersT&& value) { SetTargetParameters(std::forward<TargetParametersT>(value)); return *this;}
137
139
142 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
143 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
144 template<typename RoleArnT = Aws::String>
145 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
146 template<typename RoleArnT = Aws::String>
147 UpdatePipeRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
149
151
154 inline const PipeLogConfigurationParameters& GetLogConfiguration() const { return m_logConfiguration; }
155 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
156 template<typename LogConfigurationT = PipeLogConfigurationParameters>
157 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
158 template<typename LogConfigurationT = PipeLogConfigurationParameters>
159 UpdatePipeRequest& WithLogConfiguration(LogConfigurationT&& value) { SetLogConfiguration(std::forward<LogConfigurationT>(value)); return *this;}
161
163
176 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
177 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
178 template<typename KmsKeyIdentifierT = Aws::String>
179 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
180 template<typename KmsKeyIdentifierT = Aws::String>
181 UpdatePipeRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
183 private:
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
192 bool m_desiredStateHasBeenSet = false;
193
194 UpdatePipeSourceParameters m_sourceParameters;
195 bool m_sourceParametersHasBeenSet = false;
196
197 Aws::String m_enrichment;
198 bool m_enrichmentHasBeenSet = false;
199
200 PipeEnrichmentParameters m_enrichmentParameters;
201 bool m_enrichmentParametersHasBeenSet = false;
202
203 Aws::String m_target;
204 bool m_targetHasBeenSet = false;
205
206 PipeTargetParameters m_targetParameters;
207 bool m_targetParametersHasBeenSet = false;
208
209 Aws::String m_roleArn;
210 bool m_roleArnHasBeenSet = false;
211
212 PipeLogConfigurationParameters m_logConfiguration;
213 bool m_logConfigurationHasBeenSet = false;
214
215 Aws::String m_kmsKeyIdentifier;
216 bool m_kmsKeyIdentifierHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Pipes
221} // 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