7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/supplychain/SupplyChainRequest.h>
11#include <aws/supplychain/SupplyChain_EXPORTS.h>
12#include <aws/supplychain/model/DataIntegrationFlowSource.h>
13#include <aws/supplychain/model/DataIntegrationFlowTarget.h>
14#include <aws/supplychain/model/DataIntegrationFlowTransformation.h>
19namespace SupplyChain {
46 template <
typename InstanceIdT = Aws::String>
48 m_instanceIdHasBeenSet =
true;
49 m_instanceId = std::forward<InstanceIdT>(value);
51 template <
typename InstanceIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
84 m_sourcesHasBeenSet =
true;
85 m_sources = std::forward<SourcesT>(value);
87 template <
typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
92 template <
typename SourcesT = DataIntegrationFlowSource>
94 m_sourcesHasBeenSet =
true;
95 m_sources.emplace_back(std::forward<SourcesT>(value));
106 template <
typename TransformationT = DataIntegrationFlowTransformation>
108 m_transformationHasBeenSet =
true;
109 m_transformation = std::forward<TransformationT>(value);
111 template <
typename TransformationT = DataIntegrationFlowTransformation>
124 template <
typename TargetT = DataIntegrationFlowTarget>
126 m_targetHasBeenSet =
true;
127 m_target = std::forward<TargetT>(value);
129 template <
typename TargetT = DataIntegrationFlowTarget>
142 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 m_tagsHasBeenSet =
true;
145 m_tags = std::forward<TagsT>(value);
147 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 SetTags(std::forward<TagsT>(value));
152 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
154 m_tagsHasBeenSet =
true;
155 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
171 bool m_instanceIdHasBeenSet =
false;
172 bool m_nameHasBeenSet =
false;
173 bool m_sourcesHasBeenSet =
false;
174 bool m_transformationHasBeenSet =
false;
175 bool m_targetHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
CreateDataIntegrationFlowRequest & WithTarget(TargetT &&value)
void SetSources(SourcesT &&value)
const Aws::String & GetInstanceId() const
CreateDataIntegrationFlowRequest & WithTags(TagsT &&value)
CreateDataIntegrationFlowRequest & WithTransformation(TransformationT &&value)
CreateDataIntegrationFlowRequest & WithInstanceId(InstanceIdT &&value)
void SetInstanceId(InstanceIdT &&value)
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
bool SourcesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDataIntegrationFlowRequest & AddSources(SourcesT &&value)
const DataIntegrationFlowTransformation & GetTransformation() const
void SetTransformation(TransformationT &&value)
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
bool InstanceIdHasBeenSet() const
const DataIntegrationFlowTarget & GetTarget() const
void SetTarget(TargetT &&value)
bool TransformationHasBeenSet() const
void SetName(NameT &&value)
CreateDataIntegrationFlowRequest & WithSources(SourcesT &&value)
AWS_SUPPLYCHAIN_API CreateDataIntegrationFlowRequest()=default
bool TargetHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDataIntegrationFlowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDataIntegrationFlowRequest & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
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
std::vector< T, Aws::Allocator< T > > Vector