7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opsworks/model/AppType.h>
12#include <aws/opsworks/model/Source.h>
13#include <aws/opsworks/model/SslConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/opsworks/model/DataSource.h>
16#include <aws/opsworks/model/AppAttributesKeys.h>
17#include <aws/opsworks/model/EnvironmentVariable.h>
51 template<
typename AppIdT = Aws::String>
52 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
53 template<
typename AppIdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
87 template<
typename DataSourcesT = Aws::Vector<DataSource>>
88 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources = std::forward<DataSourcesT>(value); }
89 template<
typename DataSourcesT = Aws::Vector<DataSource>>
91 template<
typename DataSourcesT = DataSource>
92 UpdateAppRequest&
AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
return *
this; }
111 template<
typename AppSourceT = Source>
112 void SetAppSource(AppSourceT&& value) { m_appSourceHasBeenSet =
true; m_appSource = std::forward<AppSourceT>(value); }
113 template<
typename AppSourceT = Source>
124 template<
typename DomainsT = Aws::Vector<Aws::String>>
125 void SetDomains(DomainsT&& value) { m_domainsHasBeenSet =
true; m_domains = std::forward<DomainsT>(value); }
126 template<
typename DomainsT = Aws::Vector<Aws::String>>
128 template<
typename DomainsT = Aws::String>
129 UpdateAppRequest&
AddDomains(DomainsT&& value) { m_domainsHasBeenSet =
true; m_domains.emplace_back(std::forward<DomainsT>(value));
return *
this; }
138 inline void SetEnableSsl(
bool value) { m_enableSslHasBeenSet =
true; m_enableSsl = value; }
148 template<
typename SslConfigurationT = SslConfiguration>
149 void SetSslConfiguration(SslConfigurationT&& value) { m_sslConfigurationHasBeenSet =
true; m_sslConfiguration = std::forward<SslConfigurationT>(value); }
150 template<
typename SslConfigurationT = SslConfiguration>
161 template<
typename AttributesT = Aws::Map<AppAttributesKeys, Aws::String>>
162 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
163 template<
typename AttributesT = Aws::Map<AppAttributesKeys, Aws::String>>
166 m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this;
187 template<
typename EnvironmentT = Aws::Vector<EnvironmentVariable>>
188 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
189 template<
typename EnvironmentT = Aws::Vector<EnvironmentVariable>>
191 template<
typename EnvironmentT = EnvironmentVariable>
192 UpdateAppRequest&
AddEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment.emplace_back(std::forward<EnvironmentT>(value));
return *
this; }
197 bool m_appIdHasBeenSet =
false;
200 bool m_nameHasBeenSet =
false;
203 bool m_descriptionHasBeenSet =
false;
206 bool m_dataSourcesHasBeenSet =
false;
209 bool m_typeHasBeenSet =
false;
212 bool m_appSourceHasBeenSet =
false;
215 bool m_domainsHasBeenSet =
false;
217 bool m_enableSsl{
false};
218 bool m_enableSslHasBeenSet =
false;
220 SslConfiguration m_sslConfiguration;
221 bool m_sslConfigurationHasBeenSet =
false;
224 bool m_attributesHasBeenSet =
false;
227 bool m_environmentHasBeenSet =
false;
bool TypeHasBeenSet() const
UpdateAppRequest & WithEnvironment(EnvironmentT &&value)
bool DomainsHasBeenSet() const
UpdateAppRequest & WithName(NameT &&value)
const Source & GetAppSource() const
UpdateAppRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< DataSource > & GetDataSources() const
const Aws::String & GetName() const
bool GetEnableSsl() const
void SetEnableSsl(bool value)
bool NameHasBeenSet() const
UpdateAppRequest & WithAppId(AppIdT &&value)
UpdateAppRequest & AddDataSources(DataSourcesT &&value)
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetDomains() const
void SetSslConfiguration(SslConfigurationT &&value)
void SetDomains(DomainsT &&value)
UpdateAppRequest & WithType(AppType value)
UpdateAppRequest & WithAttributes(AttributesT &&value)
UpdateAppRequest & WithDomains(DomainsT &&value)
UpdateAppRequest & WithEnableSsl(bool value)
void SetType(AppType value)
bool DataSourcesHasBeenSet() const
bool AppSourceHasBeenSet() const
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SslConfigurationHasBeenSet() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetAttributes(AttributesT &&value)
UpdateAppRequest & AddEnvironment(EnvironmentT &&value)
UpdateAppRequest & WithDataSources(DataSourcesT &&value)
bool AppIdHasBeenSet() const
const Aws::Map< AppAttributesKeys, Aws::String > & GetAttributes() const
bool EnableSslHasBeenSet() const
void SetDataSources(DataSourcesT &&value)
AWS_OPSWORKS_API UpdateAppRequest()=default
const Aws::String & GetAppId() const
UpdateAppRequest & WithSslConfiguration(SslConfigurationT &&value)
const Aws::String & GetDescription() const
UpdateAppRequest & WithAppSource(AppSourceT &&value)
void SetEnvironment(EnvironmentT &&value)
const Aws::Vector< EnvironmentVariable > & GetEnvironment() const
void SetAppId(AppIdT &&value)
bool EnvironmentHasBeenSet() const
bool AttributesHasBeenSet() const
UpdateAppRequest & AddAttributes(AppAttributesKeys key, Aws::String value)
UpdateAppRequest & AddDomains(DomainsT &&value)
void SetDescription(DescriptionT &&value)
void SetAppSource(AppSourceT &&value)
const SslConfiguration & GetSslConfiguration() const
bool DescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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