AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataIntegrationRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appintegrations/model/ScheduleConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/appintegrations/model/FileConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace AppIntegrationsService
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationRequest();
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 "CreateDataIntegration"; }
36
37 AWS_APPINTEGRATIONSSERVICE_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 CreateDataIntegrationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline CreateDataIntegrationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline CreateDataIntegrationRequest& 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 CreateDataIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateDataIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateDataIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
73 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
74 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
75 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
76 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
77 inline CreateDataIntegrationRequest& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
78 inline CreateDataIntegrationRequest& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
79 inline CreateDataIntegrationRequest& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
81
83
86 inline const Aws::String& GetSourceURI() const{ return m_sourceURI; }
87 inline bool SourceURIHasBeenSet() const { return m_sourceURIHasBeenSet; }
88 inline void SetSourceURI(const Aws::String& value) { m_sourceURIHasBeenSet = true; m_sourceURI = value; }
89 inline void SetSourceURI(Aws::String&& value) { m_sourceURIHasBeenSet = true; m_sourceURI = std::move(value); }
90 inline void SetSourceURI(const char* value) { m_sourceURIHasBeenSet = true; m_sourceURI.assign(value); }
91 inline CreateDataIntegrationRequest& WithSourceURI(const Aws::String& value) { SetSourceURI(value); return *this;}
92 inline CreateDataIntegrationRequest& WithSourceURI(Aws::String&& value) { SetSourceURI(std::move(value)); return *this;}
93 inline CreateDataIntegrationRequest& WithSourceURI(const char* value) { SetSourceURI(value); return *this;}
95
97
100 inline const ScheduleConfiguration& GetScheduleConfig() const{ return m_scheduleConfig; }
101 inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; }
102 inline void SetScheduleConfig(const ScheduleConfiguration& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = value; }
103 inline void SetScheduleConfig(ScheduleConfiguration&& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = std::move(value); }
107
109
113 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
114 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
115 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
116 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
118 inline CreateDataIntegrationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
119 inline CreateDataIntegrationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 inline CreateDataIntegrationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline CreateDataIntegrationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateDataIntegrationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
123 inline CreateDataIntegrationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline CreateDataIntegrationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
125 inline CreateDataIntegrationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
127
129
136 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
137 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
138 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
139 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
140 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
141 inline CreateDataIntegrationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
142 inline CreateDataIntegrationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
143 inline CreateDataIntegrationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
145
147
150 inline const FileConfiguration& GetFileConfiguration() const{ return m_fileConfiguration; }
151 inline bool FileConfigurationHasBeenSet() const { return m_fileConfigurationHasBeenSet; }
152 inline void SetFileConfiguration(const FileConfiguration& value) { m_fileConfigurationHasBeenSet = true; m_fileConfiguration = value; }
153 inline void SetFileConfiguration(FileConfiguration&& value) { m_fileConfigurationHasBeenSet = true; m_fileConfiguration = std::move(value); }
157
159
163 inline bool ObjectConfigurationHasBeenSet() const { return m_objectConfigurationHasBeenSet; }
164 inline void SetObjectConfiguration(const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration = value; }
165 inline void SetObjectConfiguration(Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::Vector<Aws::String>>>&& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration = std::move(value); }
168 inline CreateDataIntegrationRequest& AddObjectConfiguration(const Aws::String& key, const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(key, value); return *this; }
169 inline CreateDataIntegrationRequest& AddObjectConfiguration(Aws::String&& key, const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(std::move(key), value); return *this; }
170 inline CreateDataIntegrationRequest& AddObjectConfiguration(const Aws::String& key, Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(key, std::move(value)); return *this; }
171 inline CreateDataIntegrationRequest& AddObjectConfiguration(Aws::String&& key, Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(std::move(key), std::move(value)); return *this; }
172 inline CreateDataIntegrationRequest& AddObjectConfiguration(const char* key, Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(key, std::move(value)); return *this; }
173 inline CreateDataIntegrationRequest& AddObjectConfiguration(const char* key, const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_objectConfigurationHasBeenSet = true; m_objectConfiguration.emplace(key, value); return *this; }
175 private:
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_kmsKey;
184 bool m_kmsKeyHasBeenSet = false;
185
186 Aws::String m_sourceURI;
187 bool m_sourceURIHasBeenSet = false;
188
189 ScheduleConfiguration m_scheduleConfig;
190 bool m_scheduleConfigHasBeenSet = false;
191
193 bool m_tagsHasBeenSet = false;
194
195 Aws::String m_clientToken;
196 bool m_clientTokenHasBeenSet = false;
197
198 FileConfiguration m_fileConfiguration;
199 bool m_fileConfigurationHasBeenSet = false;
200
202 bool m_objectConfigurationHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace AppIntegrationsService
207} // namespace Aws
CreateDataIntegrationRequest & AddTags(const char *key, Aws::String &&value)
CreateDataIntegrationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDataIntegrationRequest & WithObjectConfiguration(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
CreateDataIntegrationRequest & WithObjectConfiguration(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
CreateDataIntegrationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDataIntegrationRequest & AddObjectConfiguration(Aws::String &&key, const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateDataIntegrationRequest & WithSourceURI(Aws::String &&value)
CreateDataIntegrationRequest & WithClientToken(const Aws::String &value)
CreateDataIntegrationRequest & WithDescription(const char *value)
void SetObjectConfiguration(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
CreateDataIntegrationRequest & AddObjectConfiguration(const char *key, const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetObjectConfiguration() const
void SetObjectConfiguration(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
CreateDataIntegrationRequest & AddObjectConfiguration(const Aws::String &key, const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
CreateDataIntegrationRequest & WithDescription(const Aws::String &value)
CreateDataIntegrationRequest & WithClientToken(Aws::String &&value)
CreateDataIntegrationRequest & WithKmsKey(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataIntegrationRequest & AddTags(const char *key, const char *value)
CreateDataIntegrationRequest & WithDescription(Aws::String &&value)
CreateDataIntegrationRequest & WithName(const Aws::String &value)
CreateDataIntegrationRequest & WithScheduleConfig(ScheduleConfiguration &&value)
CreateDataIntegrationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataIntegrationRequest & WithScheduleConfig(const ScheduleConfiguration &value)
CreateDataIntegrationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDataIntegrationRequest & AddObjectConfiguration(const Aws::String &key, Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateDataIntegrationRequest & AddObjectConfiguration(const char *key, Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
CreateDataIntegrationRequest & AddObjectConfiguration(Aws::String &&key, Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
CreateDataIntegrationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDataIntegrationRequest & WithKmsKey(Aws::String &&value)
CreateDataIntegrationRequest & WithFileConfiguration(FileConfiguration &&value)
CreateDataIntegrationRequest & WithFileConfiguration(const FileConfiguration &value)
CreateDataIntegrationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataIntegrationRequest & AddTags(Aws::String &&key, const char *value)
CreateDataIntegrationRequest & WithSourceURI(const Aws::String &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