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>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
81 template<
typename SourceT = Aws::String>
82 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
83 template<
typename SourceT = Aws::String>
93 template<
typename SourceParametersT = PipeSourceParameters>
94 void SetSourceParameters(SourceParametersT&& value) { m_sourceParametersHasBeenSet =
true; m_sourceParameters = std::forward<SourceParametersT>(value); }
95 template<
typename SourceParametersT = PipeSourceParameters>
105 template<
typename EnrichmentT = Aws::String>
106 void SetEnrichment(EnrichmentT&& value) { m_enrichmentHasBeenSet =
true; m_enrichment = std::forward<EnrichmentT>(value); }
107 template<
typename EnrichmentT = Aws::String>
117 template<
typename EnrichmentParametersT = PipeEnrichmentParameters>
118 void SetEnrichmentParameters(EnrichmentParametersT&& value) { m_enrichmentParametersHasBeenSet =
true; m_enrichmentParameters = std::forward<EnrichmentParametersT>(value); }
119 template<
typename EnrichmentParametersT = PipeEnrichmentParameters>
129 template<
typename TargetT = Aws::String>
130 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
131 template<
typename TargetT = Aws::String>
145 template<
typename TargetParametersT = PipeTargetParameters>
146 void SetTargetParameters(TargetParametersT&& value) { m_targetParametersHasBeenSet =
true; m_targetParameters = std::forward<TargetParametersT>(value); }
147 template<
typename TargetParametersT = PipeTargetParameters>
157 template<
typename RoleArnT = Aws::String>
158 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
159 template<
typename RoleArnT = Aws::String>
169 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
171 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
185 template<
typename LogConfigurationT = PipeLogConfigurationParameters>
186 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet =
true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
187 template<
typename LogConfigurationT = PipeLogConfigurationParameters>
204 template<
typename KmsKeyIdentifierT = Aws::String>
205 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
206 template<
typename KmsKeyIdentifierT = Aws::String>
212 bool m_nameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_desiredStateHasBeenSet =
false;
221 bool m_sourceHasBeenSet =
false;
223 PipeSourceParameters m_sourceParameters;
224 bool m_sourceParametersHasBeenSet =
false;
227 bool m_enrichmentHasBeenSet =
false;
229 PipeEnrichmentParameters m_enrichmentParameters;
230 bool m_enrichmentParametersHasBeenSet =
false;
233 bool m_targetHasBeenSet =
false;
235 PipeTargetParameters m_targetParameters;
236 bool m_targetParametersHasBeenSet =
false;
239 bool m_roleArnHasBeenSet =
false;
242 bool m_tagsHasBeenSet =
false;
244 PipeLogConfigurationParameters m_logConfiguration;
245 bool m_logConfigurationHasBeenSet =
false;
248 bool m_kmsKeyIdentifierHasBeenSet =
false;
bool SourceHasBeenSet() const
const PipeSourceParameters & GetSourceParameters() const
bool EnrichmentParametersHasBeenSet() const
void SetTargetParameters(TargetParametersT &&value)
CreatePipeRequest & WithTargetParameters(TargetParametersT &&value)
void SetSource(SourceT &&value)
void SetRoleArn(RoleArnT &&value)
bool DesiredStateHasBeenSet() const
void SetEnrichment(EnrichmentT &&value)
CreatePipeRequest & WithTarget(TargetT &&value)
RequestedPipeState GetDesiredState() const
CreatePipeRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
const PipeLogConfigurationParameters & GetLogConfiguration() const
CreatePipeRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
CreatePipeRequest & WithLogConfiguration(LogConfigurationT &&value)
CreatePipeRequest & WithTags(TagsT &&value)
bool RoleArnHasBeenSet() const
CreatePipeRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreatePipeRequest & WithEnrichmentParameters(EnrichmentParametersT &&value)
bool KmsKeyIdentifierHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreatePipeRequest & WithSource(SourceT &&value)
const Aws::String & GetRoleArn() const
void SetDesiredState(RequestedPipeState value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetSource() const
const PipeTargetParameters & GetTargetParameters() const
AWS_PIPES_API Aws::String SerializePayload() const override
const Aws::String & GetEnrichment() const
bool SourceParametersHasBeenSet() const
AWS_PIPES_API CreatePipeRequest()=default
const Aws::String & GetKmsKeyIdentifier() const
bool TagsHasBeenSet() const
void SetSourceParameters(SourceParametersT &&value)
const Aws::String & GetName() const
CreatePipeRequest & WithSourceParameters(SourceParametersT &&value)
bool EnrichmentHasBeenSet() const
CreatePipeRequest & WithEnrichment(EnrichmentT &&value)
void SetEnrichmentParameters(EnrichmentParametersT &&value)
const PipeEnrichmentParameters & GetEnrichmentParameters() const
CreatePipeRequest & WithName(NameT &&value)
void SetLogConfiguration(LogConfigurationT &&value)
bool TargetHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetTarget() const
CreatePipeRequest & WithDesiredState(RequestedPipeState value)
void SetTarget(TargetT &&value)
CreatePipeRequest & WithRoleArn(RoleArnT &&value)
bool TargetParametersHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool LogConfigurationHasBeenSet() 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