AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataIntegrationFlowRequest.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/supplychain/model/DataIntegrationFlowTransformation.h>
12#include <aws/supplychain/model/DataIntegrationFlowTarget.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/supplychain/model/DataIntegrationFlowSource.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SupplyChain
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SUPPLYCHAIN_API CreateDataIntegrationFlowRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateDataIntegrationFlow"; }
40
41 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
42
43
45
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline CreateDataIntegrationFlowRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline CreateDataIntegrationFlowRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline CreateDataIntegrationFlowRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CreateDataIntegrationFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CreateDataIntegrationFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CreateDataIntegrationFlowRequest& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::Vector<DataIntegrationFlowSource>& GetSources() const{ return m_sources; }
77 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
78 inline void SetSources(const Aws::Vector<DataIntegrationFlowSource>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
79 inline void SetSources(Aws::Vector<DataIntegrationFlowSource>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
82 inline CreateDataIntegrationFlowRequest& AddSources(const DataIntegrationFlowSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
83 inline CreateDataIntegrationFlowRequest& AddSources(DataIntegrationFlowSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
85
87
90 inline const DataIntegrationFlowTransformation& GetTransformation() const{ return m_transformation; }
91 inline bool TransformationHasBeenSet() const { return m_transformationHasBeenSet; }
92 inline void SetTransformation(const DataIntegrationFlowTransformation& value) { m_transformationHasBeenSet = true; m_transformation = value; }
93 inline void SetTransformation(DataIntegrationFlowTransformation&& value) { m_transformationHasBeenSet = true; m_transformation = std::move(value); }
97
99
102 inline const DataIntegrationFlowTarget& GetTarget() const{ return m_target; }
103 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
104 inline void SetTarget(const DataIntegrationFlowTarget& value) { m_targetHasBeenSet = true; m_target = value; }
105 inline void SetTarget(DataIntegrationFlowTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
107 inline CreateDataIntegrationFlowRequest& WithTarget(DataIntegrationFlowTarget&& value) { SetTarget(std::move(value)); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline CreateDataIntegrationFlowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline CreateDataIntegrationFlowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline CreateDataIntegrationFlowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline CreateDataIntegrationFlowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreateDataIntegrationFlowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline CreateDataIntegrationFlowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreateDataIntegrationFlowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline CreateDataIntegrationFlowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 private:
129
130 Aws::String m_instanceId;
131 bool m_instanceIdHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
137 bool m_sourcesHasBeenSet = false;
138
139 DataIntegrationFlowTransformation m_transformation;
140 bool m_transformationHasBeenSet = false;
141
143 bool m_targetHasBeenSet = false;
144
146 bool m_tagsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace SupplyChain
151} // namespace Aws
CreateDataIntegrationFlowRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataIntegrationFlowRequest & AddTags(const char *key, Aws::String &&value)
CreateDataIntegrationFlowRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDataIntegrationFlowRequest & WithTransformation(DataIntegrationFlowTransformation &&value)
CreateDataIntegrationFlowRequest & WithSources(Aws::Vector< DataIntegrationFlowSource > &&value)
CreateDataIntegrationFlowRequest & AddSources(const DataIntegrationFlowSource &value)
void SetSources(Aws::Vector< DataIntegrationFlowSource > &&value)
void SetSources(const Aws::Vector< DataIntegrationFlowSource > &value)
CreateDataIntegrationFlowRequest & WithName(Aws::String &&value)
CreateDataIntegrationFlowRequest & AddTags(const char *key, const char *value)
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
CreateDataIntegrationFlowRequest & WithTarget(DataIntegrationFlowTarget &&value)
CreateDataIntegrationFlowRequest & AddTags(const Aws::String &key, Aws::String &&value)
const DataIntegrationFlowTransformation & GetTransformation() const
void SetTransformation(DataIntegrationFlowTransformation &&value)
CreateDataIntegrationFlowRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataIntegrationFlowRequest & WithName(const char *value)
CreateDataIntegrationFlowRequest & AddTags(Aws::String &&key, const char *value)
CreateDataIntegrationFlowRequest & WithName(const Aws::String &value)
CreateDataIntegrationFlowRequest & WithInstanceId(const char *value)
CreateDataIntegrationFlowRequest & WithTransformation(const DataIntegrationFlowTransformation &value)
CreateDataIntegrationFlowRequest & WithInstanceId(const Aws::String &value)
CreateDataIntegrationFlowRequest & WithSources(const Aws::Vector< DataIntegrationFlowSource > &value)
CreateDataIntegrationFlowRequest & WithInstanceId(Aws::String &&value)
void SetTransformation(const DataIntegrationFlowTransformation &value)
CreateDataIntegrationFlowRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDataIntegrationFlowRequest & WithTarget(const DataIntegrationFlowTarget &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDataIntegrationFlowRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
CreateDataIntegrationFlowRequest & AddSources(DataIntegrationFlowSource &&value)
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