AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAppRequest.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplify/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplify/model/AutoBranchCreationConfig.h>
14#include <aws/amplify/model/CacheConfig.h>
15#include <aws/amplify/model/CustomRule.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Amplify
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_AMPLIFY_API CreateAppRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateApp"; }
41
42 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline CreateAppRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline CreateAppRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline CreateAppRequest& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline CreateAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline CreateAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline CreateAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::String& GetRepository() const{ return m_repository; }
78 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
79 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
80 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
81 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
82 inline CreateAppRequest& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
83 inline CreateAppRequest& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
84 inline CreateAppRequest& WithRepository(const char* value) { SetRepository(value); return *this;}
86
88
102 inline const Platform& GetPlatform() const{ return m_platform; }
103 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
104 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
105 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
106 inline CreateAppRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
107 inline CreateAppRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
109
111
115 inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
116 inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
117 inline void SetIamServiceRoleArn(const Aws::String& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = value; }
118 inline void SetIamServiceRoleArn(Aws::String&& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = std::move(value); }
119 inline void SetIamServiceRoleArn(const char* value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn.assign(value); }
120 inline CreateAppRequest& WithIamServiceRoleArn(const Aws::String& value) { SetIamServiceRoleArn(value); return *this;}
121 inline CreateAppRequest& WithIamServiceRoleArn(Aws::String&& value) { SetIamServiceRoleArn(std::move(value)); return *this;}
122 inline CreateAppRequest& WithIamServiceRoleArn(const char* value) { SetIamServiceRoleArn(value); return *this;}
124
126
141 inline const Aws::String& GetOauthToken() const{ return m_oauthToken; }
142 inline bool OauthTokenHasBeenSet() const { return m_oauthTokenHasBeenSet; }
143 inline void SetOauthToken(const Aws::String& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = value; }
144 inline void SetOauthToken(Aws::String&& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = std::move(value); }
145 inline void SetOauthToken(const char* value) { m_oauthTokenHasBeenSet = true; m_oauthToken.assign(value); }
146 inline CreateAppRequest& WithOauthToken(const Aws::String& value) { SetOauthToken(value); return *this;}
147 inline CreateAppRequest& WithOauthToken(Aws::String&& value) { SetOauthToken(std::move(value)); return *this;}
148 inline CreateAppRequest& WithOauthToken(const char* value) { SetOauthToken(value); return *this;}
150
152
167 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
168 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
169 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
170 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
171 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
172 inline CreateAppRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
173 inline CreateAppRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
174 inline CreateAppRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
176
178
184 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
185 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
186 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
187 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
190 inline CreateAppRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
191 inline CreateAppRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
192 inline CreateAppRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
193 inline CreateAppRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
194 inline CreateAppRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
195 inline CreateAppRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
196 inline CreateAppRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
198
200
203 inline bool GetEnableBranchAutoBuild() const{ return m_enableBranchAutoBuild; }
204 inline bool EnableBranchAutoBuildHasBeenSet() const { return m_enableBranchAutoBuildHasBeenSet; }
205 inline void SetEnableBranchAutoBuild(bool value) { m_enableBranchAutoBuildHasBeenSet = true; m_enableBranchAutoBuild = value; }
206 inline CreateAppRequest& WithEnableBranchAutoBuild(bool value) { SetEnableBranchAutoBuild(value); return *this;}
208
210
214 inline bool GetEnableBranchAutoDeletion() const{ return m_enableBranchAutoDeletion; }
215 inline bool EnableBranchAutoDeletionHasBeenSet() const { return m_enableBranchAutoDeletionHasBeenSet; }
216 inline void SetEnableBranchAutoDeletion(bool value) { m_enableBranchAutoDeletionHasBeenSet = true; m_enableBranchAutoDeletion = value; }
219
221
225 inline bool GetEnableBasicAuth() const{ return m_enableBasicAuth; }
226 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
227 inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; }
228 inline CreateAppRequest& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;}
230
232
237 inline const Aws::String& GetBasicAuthCredentials() const{ return m_basicAuthCredentials; }
238 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
239 inline void SetBasicAuthCredentials(const Aws::String& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = value; }
240 inline void SetBasicAuthCredentials(Aws::String&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::move(value); }
241 inline void SetBasicAuthCredentials(const char* value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials.assign(value); }
243 inline CreateAppRequest& WithBasicAuthCredentials(Aws::String&& value) { SetBasicAuthCredentials(std::move(value)); return *this;}
244 inline CreateAppRequest& WithBasicAuthCredentials(const char* value) { SetBasicAuthCredentials(value); return *this;}
246
248
251 inline const Aws::Vector<CustomRule>& GetCustomRules() const{ return m_customRules; }
252 inline bool CustomRulesHasBeenSet() const { return m_customRulesHasBeenSet; }
253 inline void SetCustomRules(const Aws::Vector<CustomRule>& value) { m_customRulesHasBeenSet = true; m_customRules = value; }
254 inline void SetCustomRules(Aws::Vector<CustomRule>&& value) { m_customRulesHasBeenSet = true; m_customRules = std::move(value); }
255 inline CreateAppRequest& WithCustomRules(const Aws::Vector<CustomRule>& value) { SetCustomRules(value); return *this;}
256 inline CreateAppRequest& WithCustomRules(Aws::Vector<CustomRule>&& value) { SetCustomRules(std::move(value)); return *this;}
257 inline CreateAppRequest& AddCustomRules(const CustomRule& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(value); return *this; }
258 inline CreateAppRequest& AddCustomRules(CustomRule&& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(std::move(value)); return *this; }
260
262
265 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
266 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
267 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
268 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
269 inline CreateAppRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
270 inline CreateAppRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
271 inline CreateAppRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
272 inline CreateAppRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
273 inline CreateAppRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
274 inline CreateAppRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
275 inline CreateAppRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
276 inline CreateAppRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
277 inline CreateAppRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
279
281
284 inline const Aws::String& GetBuildSpec() const{ return m_buildSpec; }
285 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
286 inline void SetBuildSpec(const Aws::String& value) { m_buildSpecHasBeenSet = true; m_buildSpec = value; }
287 inline void SetBuildSpec(Aws::String&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::move(value); }
288 inline void SetBuildSpec(const char* value) { m_buildSpecHasBeenSet = true; m_buildSpec.assign(value); }
289 inline CreateAppRequest& WithBuildSpec(const Aws::String& value) { SetBuildSpec(value); return *this;}
290 inline CreateAppRequest& WithBuildSpec(Aws::String&& value) { SetBuildSpec(std::move(value)); return *this;}
291 inline CreateAppRequest& WithBuildSpec(const char* value) { SetBuildSpec(value); return *this;}
293
295
298 inline const Aws::String& GetCustomHeaders() const{ return m_customHeaders; }
299 inline bool CustomHeadersHasBeenSet() const { return m_customHeadersHasBeenSet; }
300 inline void SetCustomHeaders(const Aws::String& value) { m_customHeadersHasBeenSet = true; m_customHeaders = value; }
301 inline void SetCustomHeaders(Aws::String&& value) { m_customHeadersHasBeenSet = true; m_customHeaders = std::move(value); }
302 inline void SetCustomHeaders(const char* value) { m_customHeadersHasBeenSet = true; m_customHeaders.assign(value); }
303 inline CreateAppRequest& WithCustomHeaders(const Aws::String& value) { SetCustomHeaders(value); return *this;}
304 inline CreateAppRequest& WithCustomHeaders(Aws::String&& value) { SetCustomHeaders(std::move(value)); return *this;}
305 inline CreateAppRequest& WithCustomHeaders(const char* value) { SetCustomHeaders(value); return *this;}
307
309
312 inline bool GetEnableAutoBranchCreation() const{ return m_enableAutoBranchCreation; }
313 inline bool EnableAutoBranchCreationHasBeenSet() const { return m_enableAutoBranchCreationHasBeenSet; }
314 inline void SetEnableAutoBranchCreation(bool value) { m_enableAutoBranchCreationHasBeenSet = true; m_enableAutoBranchCreation = value; }
317
319
322 inline const Aws::Vector<Aws::String>& GetAutoBranchCreationPatterns() const{ return m_autoBranchCreationPatterns; }
323 inline bool AutoBranchCreationPatternsHasBeenSet() const { return m_autoBranchCreationPatternsHasBeenSet; }
324 inline void SetAutoBranchCreationPatterns(const Aws::Vector<Aws::String>& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = value; }
325 inline void SetAutoBranchCreationPatterns(Aws::Vector<Aws::String>&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = std::move(value); }
328 inline CreateAppRequest& AddAutoBranchCreationPatterns(const Aws::String& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
329 inline CreateAppRequest& AddAutoBranchCreationPatterns(Aws::String&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(std::move(value)); return *this; }
330 inline CreateAppRequest& AddAutoBranchCreationPatterns(const char* value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
332
334
337 inline const AutoBranchCreationConfig& GetAutoBranchCreationConfig() const{ return m_autoBranchCreationConfig; }
338 inline bool AutoBranchCreationConfigHasBeenSet() const { return m_autoBranchCreationConfigHasBeenSet; }
339 inline void SetAutoBranchCreationConfig(const AutoBranchCreationConfig& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = value; }
340 inline void SetAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = std::move(value); }
344
346
349 inline const CacheConfig& GetCacheConfig() const{ return m_cacheConfig; }
350 inline bool CacheConfigHasBeenSet() const { return m_cacheConfigHasBeenSet; }
351 inline void SetCacheConfig(const CacheConfig& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = value; }
352 inline void SetCacheConfig(CacheConfig&& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = std::move(value); }
353 inline CreateAppRequest& WithCacheConfig(const CacheConfig& value) { SetCacheConfig(value); return *this;}
354 inline CreateAppRequest& WithCacheConfig(CacheConfig&& value) { SetCacheConfig(std::move(value)); return *this;}
356 private:
357
358 Aws::String m_name;
359 bool m_nameHasBeenSet = false;
360
361 Aws::String m_description;
362 bool m_descriptionHasBeenSet = false;
363
364 Aws::String m_repository;
365 bool m_repositoryHasBeenSet = false;
366
367 Platform m_platform;
368 bool m_platformHasBeenSet = false;
369
370 Aws::String m_iamServiceRoleArn;
371 bool m_iamServiceRoleArnHasBeenSet = false;
372
373 Aws::String m_oauthToken;
374 bool m_oauthTokenHasBeenSet = false;
375
376 Aws::String m_accessToken;
377 bool m_accessTokenHasBeenSet = false;
378
379 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
380 bool m_environmentVariablesHasBeenSet = false;
381
382 bool m_enableBranchAutoBuild;
383 bool m_enableBranchAutoBuildHasBeenSet = false;
384
385 bool m_enableBranchAutoDeletion;
386 bool m_enableBranchAutoDeletionHasBeenSet = false;
387
388 bool m_enableBasicAuth;
389 bool m_enableBasicAuthHasBeenSet = false;
390
391 Aws::String m_basicAuthCredentials;
392 bool m_basicAuthCredentialsHasBeenSet = false;
393
394 Aws::Vector<CustomRule> m_customRules;
395 bool m_customRulesHasBeenSet = false;
396
398 bool m_tagsHasBeenSet = false;
399
400 Aws::String m_buildSpec;
401 bool m_buildSpecHasBeenSet = false;
402
403 Aws::String m_customHeaders;
404 bool m_customHeadersHasBeenSet = false;
405
406 bool m_enableAutoBranchCreation;
407 bool m_enableAutoBranchCreationHasBeenSet = false;
408
409 Aws::Vector<Aws::String> m_autoBranchCreationPatterns;
410 bool m_autoBranchCreationPatternsHasBeenSet = false;
411
412 AutoBranchCreationConfig m_autoBranchCreationConfig;
413 bool m_autoBranchCreationConfigHasBeenSet = false;
414
415 CacheConfig m_cacheConfig;
416 bool m_cacheConfigHasBeenSet = false;
417 };
418
419} // namespace Model
420} // namespace Amplify
421} // namespace Aws
void SetRepository(Aws::String &&value)
void SetCacheConfig(const CacheConfig &value)
CreateAppRequest & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
CreateAppRequest & WithOauthToken(const Aws::String &value)
void SetName(const Aws::String &value)
void SetAccessToken(Aws::String &&value)
void SetBuildSpec(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetCustomHeaders() const
CreateAppRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAppRequest & WithPlatform(Platform &&value)
void SetCustomHeaders(Aws::String &&value)
CreateAppRequest & WithDescription(Aws::String &&value)
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
void SetBuildSpec(const Aws::String &value)
CreateAppRequest & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetIamServiceRoleArn(const Aws::String &value)
CreateAppRequest & AddCustomRules(CustomRule &&value)
CreateAppRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppRequest & AddAutoBranchCreationPatterns(const char *value)
virtual const char * GetServiceRequestName() const override
CreateAppRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAppRequest & WithBuildSpec(const Aws::String &value)
const CacheConfig & GetCacheConfig() const
CreateAppRequest & WithIamServiceRoleArn(Aws::String &&value)
CreateAppRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithRepository(Aws::String &&value)
CreateAppRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
CreateAppRequest & WithEnableAutoBranchCreation(bool value)
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetBasicAuthCredentials(Aws::String &&value)
void SetIamServiceRoleArn(Aws::String &&value)
void SetAccessToken(const Aws::String &value)
const Aws::String & GetBuildSpec() const
void SetRepository(const Aws::String &value)
void SetBasicAuthCredentials(const char *value)
CreateAppRequest & AddTags(const char *key, const char *value)
void SetCacheConfig(CacheConfig &&value)
CreateAppRequest & WithCustomHeaders(Aws::String &&value)
CreateAppRequest & AddTags(const char *key, Aws::String &&value)
CreateAppRequest & WithEnableBranchAutoBuild(bool value)
CreateAppRequest & AddEnvironmentVariables(const char *key, const char *value)
CreateAppRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetOauthToken(const Aws::String &value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppRequest & AddAutoBranchCreationPatterns(const Aws::String &value)
CreateAppRequest & WithIamServiceRoleArn(const char *value)
CreateAppRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithCacheConfig(const CacheConfig &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetRepository() const
const Aws::Vector< CustomRule > & GetCustomRules() const
const Aws::String & GetDescription() const
CreateAppRequest & WithBuildSpec(const char *value)
CreateAppRequest & WithRepository(const char *value)
CreateAppRequest & AddAutoBranchCreationPatterns(Aws::String &&value)
CreateAppRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
CreateAppRequest & WithPlatform(const Platform &value)
CreateAppRequest & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetOauthToken() const
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
CreateAppRequest & WithName(const char *value)
CreateAppRequest & WithCustomRules(Aws::Vector< CustomRule > &&value)
CreateAppRequest & WithAccessToken(Aws::String &&value)
CreateAppRequest & WithIamServiceRoleArn(const Aws::String &value)
CreateAppRequest & WithRepository(const Aws::String &value)
CreateAppRequest & WithBuildSpec(Aws::String &&value)
void SetCustomRules(Aws::Vector< CustomRule > &&value)
CreateAppRequest & WithBasicAuthCredentials(const char *value)
void SetCustomRules(const Aws::Vector< CustomRule > &value)
CreateAppRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppRequest & AddCustomRules(const CustomRule &value)
const Aws::String & GetIamServiceRoleArn() const
CreateAppRequest & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
CreateAppRequest & WithOauthToken(Aws::String &&value)
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
CreateAppRequest & WithCustomRules(const Aws::Vector< CustomRule > &value)
const Aws::String & GetAccessToken() const
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAppRequest & WithAccessToken(const char *value)
CreateAppRequest & WithCustomHeaders(const Aws::String &value)
CreateAppRequest & WithName(const Aws::String &value)
CreateAppRequest & WithDescription(const char *value)
const Aws::String & GetBasicAuthCredentials() const
CreateAppRequest & WithEnableBranchAutoDeletion(bool value)
CreateAppRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAppRequest & WithEnableBasicAuth(bool value)
void SetCustomHeaders(const Aws::String &value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithBasicAuthCredentials(Aws::String &&value)
CreateAppRequest & WithAccessToken(const Aws::String &value)
CreateAppRequest & WithBasicAuthCredentials(const Aws::String &value)
void SetIamServiceRoleArn(const char *value)
void SetPlatform(const Platform &value)
CreateAppRequest & WithCustomHeaders(const char *value)
CreateAppRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
CreateAppRequest & WithName(Aws::String &&value)
void SetBasicAuthCredentials(const Aws::String &value)
CreateAppRequest & WithOauthToken(const char *value)
CreateAppRequest & WithCacheConfig(CacheConfig &&value)
CreateAppRequest & WithDescription(const Aws::String &value)
CreateAppRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetOauthToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
const Aws::String & GetName() 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
std::vector< T, Aws::Allocator< T > > Vector