7#include <aws/amplifygen3/AmplifyGen3Request.h>
8#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
9#include <aws/amplifygen3/model/AppBackendRequest.h>
10#include <aws/amplifygen3/model/AppSourceConfigRequest.h>
11#include <aws/amplifygen3/model/AppWebConfigRequest.h>
12#include <aws/amplifygen3/model/DefaultEnvironmentConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AmplifyGen3 {
43 template <
typename AppNameT = Aws::String>
45 m_appNameHasBeenSet =
true;
46 m_appName = std::forward<AppNameT>(value);
48 template <
typename AppNameT = Aws::String>
61 template <
typename SourceConfigT = AppSourceConfigRequest>
63 m_sourceConfigHasBeenSet =
true;
64 m_sourceConfig = std::forward<SourceConfigT>(value);
66 template <
typename SourceConfigT = AppSourceConfigRequest>
79 template <
typename WebT = AppWebConfigRequest>
81 m_webHasBeenSet =
true;
82 m_web = std::forward<WebT>(value);
84 template <
typename WebT = AppWebConfigRequest>
86 SetWeb(std::forward<WebT>(value));
97 template <
typename BackendT = AppBackendRequest>
99 m_backendHasBeenSet =
true;
100 m_backend = std::forward<BackendT>(value);
102 template <
typename BackendT = AppBackendRequest>
115 return m_defaultEnvironmentsConfiguration;
118 template <
typename DefaultEnvironmentsConfigurationT = Aws::Vector<DefaultEnvironmentConfiguration>>
120 m_defaultEnvironmentsConfigurationHasBeenSet =
true;
121 m_defaultEnvironmentsConfiguration = std::forward<DefaultEnvironmentsConfigurationT>(value);
123 template <
typename DefaultEnvironmentsConfigurationT = Aws::Vector<DefaultEnvironmentConfiguration>>
128 template <
typename DefaultEnvironmentsConfigurationT = DefaultEnvironmentConfiguration>
130 m_defaultEnvironmentsConfigurationHasBeenSet =
true;
131 m_defaultEnvironmentsConfiguration.emplace_back(std::forward<DefaultEnvironmentsConfigurationT>(value));
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_appNameHasBeenSet =
false;
172 bool m_sourceConfigHasBeenSet =
false;
173 bool m_webHasBeenSet =
false;
174 bool m_backendHasBeenSet =
false;
175 bool m_defaultEnvironmentsConfigurationHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
CreateAppRequest & WithSourceConfig(SourceConfigT &&value)
const Aws::Vector< DefaultEnvironmentConfiguration > & GetDefaultEnvironmentsConfiguration() const
bool SourceConfigHasBeenSet() const
CreateAppRequest & WithTags(TagsT &&value)
const AppBackendRequest & GetBackend() const
bool DefaultEnvironmentsConfigurationHasBeenSet() const
bool AppNameHasBeenSet() const
AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override
CreateAppRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAppRequest & WithDefaultEnvironmentsConfiguration(DefaultEnvironmentsConfigurationT &&value)
void SetSourceConfig(SourceConfigT &&value)
void SetWeb(WebT &&value)
CreateAppRequest & WithWeb(WebT &&value)
const AppWebConfigRequest & GetWeb() const
const Aws::String & GetAppName() const
CreateAppRequest & WithAppName(AppNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
CreateAppRequest & AddDefaultEnvironmentsConfiguration(DefaultEnvironmentsConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool WebHasBeenSet() const
bool BackendHasBeenSet() const
AWS_AMPLIFYGEN3_API CreateAppRequest()=default
const AppSourceConfigRequest & GetSourceConfig() const
void SetDefaultEnvironmentsConfiguration(DefaultEnvironmentsConfigurationT &&value)
void SetAppName(AppNameT &&value)
void SetBackend(BackendT &&value)
CreateAppRequest & WithBackend(BackendT &&value)
bool TagsHasBeenSet() 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