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>
53 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
107 inline void SetType(
const AppType& value) { m_typeHasBeenSet =
true; m_type = value; }
108 inline void SetType(
AppType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
120 inline void SetAppSource(
Source&& value) { m_appSourceHasBeenSet =
true; m_appSource = std::move(value); }
147 inline void SetEnableSsl(
bool value) { m_enableSslHasBeenSet =
true; m_enableSsl = value; }
209 bool m_appIdHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_dataSourcesHasBeenSet =
false;
221 bool m_typeHasBeenSet =
false;
224 bool m_appSourceHasBeenSet =
false;
227 bool m_domainsHasBeenSet =
false;
230 bool m_enableSslHasBeenSet =
false;
233 bool m_sslConfigurationHasBeenSet =
false;
236 bool m_attributesHasBeenSet =
false;
239 bool m_environmentHasBeenSet =
false;
bool TypeHasBeenSet() const
UpdateAppRequest & AddEnvironment(EnvironmentVariable &&value)
bool DomainsHasBeenSet() const
UpdateAppRequest & WithAppId(const Aws::String &value)
const Source & GetAppSource() const
UpdateAppRequest & AddAttributes(AppAttributesKeys &&key, const char *value)
const Aws::Vector< DataSource > & GetDataSources() const
const Aws::String & GetName() const
bool GetEnableSsl() const
UpdateAppRequest & WithType(const AppType &value)
UpdateAppRequest & AddDomains(const Aws::String &value)
void SetEnableSsl(bool value)
void SetAppSource(const Source &value)
bool NameHasBeenSet() const
UpdateAppRequest & WithSslConfiguration(const SslConfiguration &value)
UpdateAppRequest & WithSslConfiguration(SslConfiguration &&value)
UpdateAppRequest & WithAppId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetAppId(const char *value)
const Aws::Vector< Aws::String > & GetDomains() const
void SetName(const char *value)
UpdateAppRequest & WithDomains(Aws::Vector< Aws::String > &&value)
UpdateAppRequest & AddDataSources(DataSource &&value)
void SetAppId(Aws::String &&value)
UpdateAppRequest & WithName(const char *value)
UpdateAppRequest & AddEnvironment(const EnvironmentVariable &value)
void SetSslConfiguration(const SslConfiguration &value)
UpdateAppRequest & WithEnvironment(Aws::Vector< EnvironmentVariable > &&value)
void SetEnvironment(const Aws::Vector< EnvironmentVariable > &value)
UpdateAppRequest & AddDomains(Aws::String &&value)
void SetAppId(const Aws::String &value)
void SetName(Aws::String &&value)
UpdateAppRequest & WithEnvironment(const Aws::Vector< EnvironmentVariable > &value)
UpdateAppRequest & WithEnableSsl(bool value)
void SetType(const AppType &value)
UpdateAppRequest & AddAttributes(AppAttributesKeys &&key, Aws::String &&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 SetSslConfiguration(SslConfiguration &&value)
bool AppIdHasBeenSet() const
UpdateAppRequest & WithDomains(const Aws::Vector< Aws::String > &value)
const Aws::Map< AppAttributesKeys, Aws::String > & GetAttributes() const
void SetAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
bool EnableSslHasBeenSet() const
UpdateAppRequest & WithType(AppType &&value)
void SetAppSource(Source &&value)
UpdateAppRequest & AddDomains(const char *value)
void SetType(AppType &&value)
void SetDomains(const Aws::Vector< Aws::String > &value)
UpdateAppRequest & WithAppId(const char *value)
UpdateAppRequest & AddAttributes(const AppAttributesKeys &key, const char *value)
const Aws::String & GetAppId() const
void SetDomains(Aws::Vector< Aws::String > &&value)
UpdateAppRequest & WithDescription(const char *value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
UpdateAppRequest & AddAttributes(const AppAttributesKeys &key, Aws::String &&value)
void SetAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
AWS_OPSWORKS_API UpdateAppRequest()
const Aws::Vector< EnvironmentVariable > & GetEnvironment() const
void SetDescription(const char *value)
UpdateAppRequest & WithDataSources(Aws::Vector< DataSource > &&value)
void SetDataSources(Aws::Vector< DataSource > &&value)
UpdateAppRequest & AddDataSources(const DataSource &value)
UpdateAppRequest & WithDescription(const Aws::String &value)
UpdateAppRequest & WithAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
UpdateAppRequest & WithName(Aws::String &&value)
bool EnvironmentHasBeenSet() const
bool AttributesHasBeenSet() const
void SetDescription(const Aws::String &value)
UpdateAppRequest & WithName(const Aws::String &value)
const AppType & GetType() const
void SetEnvironment(Aws::Vector< EnvironmentVariable > &&value)
void SetName(const Aws::String &value)
UpdateAppRequest & AddAttributes(AppAttributesKeys &&key, const Aws::String &value)
UpdateAppRequest & WithAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
void SetDataSources(const Aws::Vector< DataSource > &value)
UpdateAppRequest & WithAppSource(const Source &value)
UpdateAppRequest & WithDescription(Aws::String &&value)
UpdateAppRequest & AddAttributes(const AppAttributesKeys &key, const Aws::String &value)
const SslConfiguration & GetSslConfiguration() const
UpdateAppRequest & WithAppSource(Source &&value)
UpdateAppRequest & WithDataSources(const Aws::Vector< DataSource > &value)
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