AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAppRequest.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 UpdateAppRequest();
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 "UpdateApp"; }
41
42 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
43
44
46
49 inline const Aws::String& GetAppId() const{ return m_appId; }
50 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
51 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
52 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
53 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
54 inline UpdateAppRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
55 inline UpdateAppRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
56 inline UpdateAppRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline UpdateAppRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline UpdateAppRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline UpdateAppRequest& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline UpdateAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline UpdateAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline UpdateAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
97 inline const Platform& GetPlatform() const{ return m_platform; }
98 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
99 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
100 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
101 inline UpdateAppRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
102 inline UpdateAppRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
104
106
110 inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
111 inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
112 inline void SetIamServiceRoleArn(const Aws::String& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = value; }
113 inline void SetIamServiceRoleArn(Aws::String&& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = std::move(value); }
114 inline void SetIamServiceRoleArn(const char* value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn.assign(value); }
115 inline UpdateAppRequest& WithIamServiceRoleArn(const Aws::String& value) { SetIamServiceRoleArn(value); return *this;}
116 inline UpdateAppRequest& WithIamServiceRoleArn(Aws::String&& value) { SetIamServiceRoleArn(std::move(value)); return *this;}
117 inline UpdateAppRequest& WithIamServiceRoleArn(const char* value) { SetIamServiceRoleArn(value); return *this;}
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
125 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
126 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
127 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
130 inline UpdateAppRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
131 inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
132 inline UpdateAppRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
133 inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
134 inline UpdateAppRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
135 inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
136 inline UpdateAppRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
138
140
143 inline bool GetEnableBranchAutoBuild() const{ return m_enableBranchAutoBuild; }
144 inline bool EnableBranchAutoBuildHasBeenSet() const { return m_enableBranchAutoBuildHasBeenSet; }
145 inline void SetEnableBranchAutoBuild(bool value) { m_enableBranchAutoBuildHasBeenSet = true; m_enableBranchAutoBuild = value; }
146 inline UpdateAppRequest& WithEnableBranchAutoBuild(bool value) { SetEnableBranchAutoBuild(value); return *this;}
148
150
154 inline bool GetEnableBranchAutoDeletion() const{ return m_enableBranchAutoDeletion; }
155 inline bool EnableBranchAutoDeletionHasBeenSet() const { return m_enableBranchAutoDeletionHasBeenSet; }
156 inline void SetEnableBranchAutoDeletion(bool value) { m_enableBranchAutoDeletionHasBeenSet = true; m_enableBranchAutoDeletion = value; }
159
161
164 inline bool GetEnableBasicAuth() const{ return m_enableBasicAuth; }
165 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
166 inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; }
167 inline UpdateAppRequest& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;}
169
171
176 inline const Aws::String& GetBasicAuthCredentials() const{ return m_basicAuthCredentials; }
177 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
178 inline void SetBasicAuthCredentials(const Aws::String& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = value; }
179 inline void SetBasicAuthCredentials(Aws::String&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::move(value); }
180 inline void SetBasicAuthCredentials(const char* value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials.assign(value); }
182 inline UpdateAppRequest& WithBasicAuthCredentials(Aws::String&& value) { SetBasicAuthCredentials(std::move(value)); return *this;}
183 inline UpdateAppRequest& WithBasicAuthCredentials(const char* value) { SetBasicAuthCredentials(value); return *this;}
185
187
190 inline const Aws::Vector<CustomRule>& GetCustomRules() const{ return m_customRules; }
191 inline bool CustomRulesHasBeenSet() const { return m_customRulesHasBeenSet; }
192 inline void SetCustomRules(const Aws::Vector<CustomRule>& value) { m_customRulesHasBeenSet = true; m_customRules = value; }
193 inline void SetCustomRules(Aws::Vector<CustomRule>&& value) { m_customRulesHasBeenSet = true; m_customRules = std::move(value); }
194 inline UpdateAppRequest& WithCustomRules(const Aws::Vector<CustomRule>& value) { SetCustomRules(value); return *this;}
195 inline UpdateAppRequest& WithCustomRules(Aws::Vector<CustomRule>&& value) { SetCustomRules(std::move(value)); return *this;}
196 inline UpdateAppRequest& AddCustomRules(const CustomRule& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(value); return *this; }
197 inline UpdateAppRequest& AddCustomRules(CustomRule&& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(std::move(value)); return *this; }
199
201
204 inline const Aws::String& GetBuildSpec() const{ return m_buildSpec; }
205 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
206 inline void SetBuildSpec(const Aws::String& value) { m_buildSpecHasBeenSet = true; m_buildSpec = value; }
207 inline void SetBuildSpec(Aws::String&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::move(value); }
208 inline void SetBuildSpec(const char* value) { m_buildSpecHasBeenSet = true; m_buildSpec.assign(value); }
209 inline UpdateAppRequest& WithBuildSpec(const Aws::String& value) { SetBuildSpec(value); return *this;}
210 inline UpdateAppRequest& WithBuildSpec(Aws::String&& value) { SetBuildSpec(std::move(value)); return *this;}
211 inline UpdateAppRequest& WithBuildSpec(const char* value) { SetBuildSpec(value); return *this;}
213
215
218 inline const Aws::String& GetCustomHeaders() const{ return m_customHeaders; }
219 inline bool CustomHeadersHasBeenSet() const { return m_customHeadersHasBeenSet; }
220 inline void SetCustomHeaders(const Aws::String& value) { m_customHeadersHasBeenSet = true; m_customHeaders = value; }
221 inline void SetCustomHeaders(Aws::String&& value) { m_customHeadersHasBeenSet = true; m_customHeaders = std::move(value); }
222 inline void SetCustomHeaders(const char* value) { m_customHeadersHasBeenSet = true; m_customHeaders.assign(value); }
223 inline UpdateAppRequest& WithCustomHeaders(const Aws::String& value) { SetCustomHeaders(value); return *this;}
224 inline UpdateAppRequest& WithCustomHeaders(Aws::String&& value) { SetCustomHeaders(std::move(value)); return *this;}
225 inline UpdateAppRequest& WithCustomHeaders(const char* value) { SetCustomHeaders(value); return *this;}
227
229
232 inline bool GetEnableAutoBranchCreation() const{ return m_enableAutoBranchCreation; }
233 inline bool EnableAutoBranchCreationHasBeenSet() const { return m_enableAutoBranchCreationHasBeenSet; }
234 inline void SetEnableAutoBranchCreation(bool value) { m_enableAutoBranchCreationHasBeenSet = true; m_enableAutoBranchCreation = value; }
237
239
243 inline const Aws::Vector<Aws::String>& GetAutoBranchCreationPatterns() const{ return m_autoBranchCreationPatterns; }
244 inline bool AutoBranchCreationPatternsHasBeenSet() const { return m_autoBranchCreationPatternsHasBeenSet; }
245 inline void SetAutoBranchCreationPatterns(const Aws::Vector<Aws::String>& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = value; }
246 inline void SetAutoBranchCreationPatterns(Aws::Vector<Aws::String>&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = std::move(value); }
249 inline UpdateAppRequest& AddAutoBranchCreationPatterns(const Aws::String& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
250 inline UpdateAppRequest& AddAutoBranchCreationPatterns(Aws::String&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(std::move(value)); return *this; }
251 inline UpdateAppRequest& AddAutoBranchCreationPatterns(const char* value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
253
255
258 inline const AutoBranchCreationConfig& GetAutoBranchCreationConfig() const{ return m_autoBranchCreationConfig; }
259 inline bool AutoBranchCreationConfigHasBeenSet() const { return m_autoBranchCreationConfigHasBeenSet; }
260 inline void SetAutoBranchCreationConfig(const AutoBranchCreationConfig& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = value; }
261 inline void SetAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = std::move(value); }
265
267
270 inline const Aws::String& GetRepository() const{ return m_repository; }
271 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
272 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
273 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
274 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
275 inline UpdateAppRequest& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
276 inline UpdateAppRequest& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
277 inline UpdateAppRequest& WithRepository(const char* value) { SetRepository(value); return *this;}
279
281
296 inline const Aws::String& GetOauthToken() const{ return m_oauthToken; }
297 inline bool OauthTokenHasBeenSet() const { return m_oauthTokenHasBeenSet; }
298 inline void SetOauthToken(const Aws::String& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = value; }
299 inline void SetOauthToken(Aws::String&& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = std::move(value); }
300 inline void SetOauthToken(const char* value) { m_oauthTokenHasBeenSet = true; m_oauthToken.assign(value); }
301 inline UpdateAppRequest& WithOauthToken(const Aws::String& value) { SetOauthToken(value); return *this;}
302 inline UpdateAppRequest& WithOauthToken(Aws::String&& value) { SetOauthToken(std::move(value)); return *this;}
303 inline UpdateAppRequest& WithOauthToken(const char* value) { SetOauthToken(value); return *this;}
305
307
322 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
323 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
324 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
325 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
326 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
327 inline UpdateAppRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
328 inline UpdateAppRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
329 inline UpdateAppRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
331
333
336 inline const CacheConfig& GetCacheConfig() const{ return m_cacheConfig; }
337 inline bool CacheConfigHasBeenSet() const { return m_cacheConfigHasBeenSet; }
338 inline void SetCacheConfig(const CacheConfig& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = value; }
339 inline void SetCacheConfig(CacheConfig&& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = std::move(value); }
340 inline UpdateAppRequest& WithCacheConfig(const CacheConfig& value) { SetCacheConfig(value); return *this;}
341 inline UpdateAppRequest& WithCacheConfig(CacheConfig&& value) { SetCacheConfig(std::move(value)); return *this;}
343 private:
344
345 Aws::String m_appId;
346 bool m_appIdHasBeenSet = false;
347
348 Aws::String m_name;
349 bool m_nameHasBeenSet = false;
350
351 Aws::String m_description;
352 bool m_descriptionHasBeenSet = false;
353
354 Platform m_platform;
355 bool m_platformHasBeenSet = false;
356
357 Aws::String m_iamServiceRoleArn;
358 bool m_iamServiceRoleArnHasBeenSet = false;
359
360 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
361 bool m_environmentVariablesHasBeenSet = false;
362
363 bool m_enableBranchAutoBuild;
364 bool m_enableBranchAutoBuildHasBeenSet = false;
365
366 bool m_enableBranchAutoDeletion;
367 bool m_enableBranchAutoDeletionHasBeenSet = false;
368
369 bool m_enableBasicAuth;
370 bool m_enableBasicAuthHasBeenSet = false;
371
372 Aws::String m_basicAuthCredentials;
373 bool m_basicAuthCredentialsHasBeenSet = false;
374
375 Aws::Vector<CustomRule> m_customRules;
376 bool m_customRulesHasBeenSet = false;
377
378 Aws::String m_buildSpec;
379 bool m_buildSpecHasBeenSet = false;
380
381 Aws::String m_customHeaders;
382 bool m_customHeadersHasBeenSet = false;
383
384 bool m_enableAutoBranchCreation;
385 bool m_enableAutoBranchCreationHasBeenSet = false;
386
387 Aws::Vector<Aws::String> m_autoBranchCreationPatterns;
388 bool m_autoBranchCreationPatternsHasBeenSet = false;
389
390 AutoBranchCreationConfig m_autoBranchCreationConfig;
391 bool m_autoBranchCreationConfigHasBeenSet = false;
392
393 Aws::String m_repository;
394 bool m_repositoryHasBeenSet = false;
395
396 Aws::String m_oauthToken;
397 bool m_oauthTokenHasBeenSet = false;
398
399 Aws::String m_accessToken;
400 bool m_accessTokenHasBeenSet = false;
401
402 CacheConfig m_cacheConfig;
403 bool m_cacheConfigHasBeenSet = false;
404 };
405
406} // namespace Model
407} // namespace Amplify
408} // namespace Aws
UpdateAppRequest & WithAppId(const Aws::String &value)
UpdateAppRequest & WithBasicAuthCredentials(Aws::String &&value)
UpdateAppRequest & WithEnableBranchAutoDeletion(bool value)
UpdateAppRequest & WithAccessToken(const Aws::String &value)
UpdateAppRequest & WithOauthToken(const char *value)
void SetPlatform(const Platform &value)
UpdateAppRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetBasicAuthCredentials(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetCustomRules(const Aws::Vector< CustomRule > &value)
UpdateAppRequest & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRepository() const
void SetBuildSpec(const Aws::String &value)
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetRepository(Aws::String &&value)
UpdateAppRequest & WithCustomRules(Aws::Vector< CustomRule > &&value)
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
UpdateAppRequest & WithBuildSpec(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
void SetIamServiceRoleArn(Aws::String &&value)
UpdateAppRequest & WithBuildSpec(const char *value)
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
void SetAccessToken(Aws::String &&value)
UpdateAppRequest & WithOauthToken(const Aws::String &value)
UpdateAppRequest & WithEnableBasicAuth(bool value)
void SetIamServiceRoleArn(const char *value)
UpdateAppRequest & WithOauthToken(Aws::String &&value)
UpdateAppRequest & WithBasicAuthCredentials(const char *value)
UpdateAppRequest & WithAppId(const char *value)
UpdateAppRequest & WithCacheConfig(CacheConfig &&value)
UpdateAppRequest & WithDescription(Aws::String &&value)
const CacheConfig & GetCacheConfig() const
void SetBasicAuthCredentials(const char *value)
UpdateAppRequest & WithRepository(const char *value)
void SetAppId(const Aws::String &value)
void SetCustomHeaders(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(const char *key, const char *value)
UpdateAppRequest & WithIamServiceRoleArn(Aws::String &&value)
UpdateAppRequest & WithEnableBranchAutoBuild(bool value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
UpdateAppRequest & WithAccessToken(const char *value)
void SetDescription(Aws::String &&value)
UpdateAppRequest & WithCustomHeaders(const Aws::String &value)
void SetCustomHeaders(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateAppRequest & WithRepository(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
UpdateAppRequest & WithAppId(Aws::String &&value)
const Aws::String & GetIamServiceRoleArn() const
UpdateAppRequest & WithBasicAuthCredentials(const Aws::String &value)
const Aws::String & GetBasicAuthCredentials() const
UpdateAppRequest & AddAutoBranchCreationPatterns(const Aws::String &value)
UpdateAppRequest & WithCustomHeaders(Aws::String &&value)
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
UpdateAppRequest & WithIamServiceRoleArn(const char *value)
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
UpdateAppRequest & WithRepository(const Aws::String &value)
const Aws::String & GetCustomHeaders() const
UpdateAppRequest & AddCustomRules(const CustomRule &value)
void SetOauthToken(Aws::String &&value)
UpdateAppRequest & WithCustomHeaders(const char *value)
UpdateAppRequest & WithCacheConfig(const CacheConfig &value)
const Aws::String & GetOauthToken() const
UpdateAppRequest & AddAutoBranchCreationPatterns(const char *value)
const Aws::String & GetBuildSpec() const
UpdateAppRequest & WithName(Aws::String &&value)
UpdateAppRequest & WithName(const char *value)
UpdateAppRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetCacheConfig(const CacheConfig &value)
UpdateAppRequest & WithAccessToken(Aws::String &&value)
void SetRepository(const Aws::String &value)
const Aws::String & GetAccessToken() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
UpdateAppRequest & WithDescription(const char *value)
const Aws::Vector< CustomRule > & GetCustomRules() const
UpdateAppRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetIamServiceRoleArn(const Aws::String &value)
UpdateAppRequest & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
UpdateAppRequest & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
void SetOauthToken(const Aws::String &value)
UpdateAppRequest & AddCustomRules(CustomRule &&value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetCacheConfig(CacheConfig &&value)
UpdateAppRequest & WithEnableAutoBranchCreation(bool value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
UpdateAppRequest & WithPlatform(const Platform &value)
UpdateAppRequest & WithCustomRules(const Aws::Vector< CustomRule > &value)
void SetDescription(const Aws::String &value)
void SetBasicAuthCredentials(const Aws::String &value)
const Aws::String & GetAppId() const
UpdateAppRequest & WithIamServiceRoleArn(const Aws::String &value)
UpdateAppRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
UpdateAppRequest & WithPlatform(Platform &&value)
UpdateAppRequest & WithBuildSpec(const Aws::String &value)
UpdateAppRequest & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetAccessToken(const Aws::String &value)
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
UpdateAppRequest & AddAutoBranchCreationPatterns(Aws::String &&value)
void SetBuildSpec(Aws::String &&value)
UpdateAppRequest & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
UpdateAppRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
UpdateAppRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetCustomRules(Aws::Vector< CustomRule > &&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