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 SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
67 inline void SetShortname(
const char* value) { m_shortnameHasBeenSet =
true; m_shortname.assign(value); }
81 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
125 inline void SetType(
const AppType& value) { m_typeHasBeenSet =
true; m_type = value; }
126 inline void SetType(
AppType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
138 inline void SetAppSource(
Source&& value) { m_appSourceHasBeenSet =
true; m_appSource = std::move(value); }
165 inline void SetEnableSsl(
bool value) { m_enableSslHasBeenSet =
true; m_enableSsl = value; }
227 bool m_stackIdHasBeenSet =
false;
230 bool m_shortnameHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
239 bool m_dataSourcesHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
245 bool m_appSourceHasBeenSet =
false;
248 bool m_domainsHasBeenSet =
false;
251 bool m_enableSslHasBeenSet =
false;
254 bool m_sslConfigurationHasBeenSet =
false;
257 bool m_attributesHasBeenSet =
false;
260 bool m_environmentHasBeenSet =
false;
CreateAppRequest & AddAttributes(const AppAttributesKeys &key, Aws::String &&value)
bool AppSourceHasBeenSet() const
CreateAppRequest & AddDataSources(DataSource &&value)
bool EnableSslHasBeenSet() const
void SetSslConfiguration(SslConfiguration &&value)
CreateAppRequest & WithShortname(const Aws::String &value)
void SetShortname(Aws::String &&value)
CreateAppRequest & WithDomains(const Aws::Vector< Aws::String > &value)
void SetEnableSsl(bool value)
void SetDescription(Aws::String &&value)
CreateAppRequest & AddAttributes(AppAttributesKeys &&key, Aws::String &&value)
const Aws::String & GetStackId() const
CreateAppRequest & WithStackId(const char *value)
CreateAppRequest & WithAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
CreateAppRequest & AddAttributes(const AppAttributesKeys &key, const Aws::String &value)
void SetEnvironment(Aws::Vector< EnvironmentVariable > &&value)
void SetEnvironment(const Aws::Vector< EnvironmentVariable > &value)
AWS_OPSWORKS_API CreateAppRequest()
bool DescriptionHasBeenSet() const
bool SslConfigurationHasBeenSet() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
void SetShortname(const char *value)
void SetName(const Aws::String &value)
CreateAppRequest & WithEnableSsl(bool value)
bool NameHasBeenSet() const
void SetName(const char *value)
CreateAppRequest & WithAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
CreateAppRequest & WithDescription(Aws::String &&value)
CreateAppRequest & AddAttributes(AppAttributesKeys &&key, const Aws::String &value)
void SetName(Aws::String &&value)
bool DomainsHasBeenSet() const
void SetDataSources(const Aws::Vector< DataSource > &value)
CreateAppRequest & WithName(const Aws::String &value)
CreateAppRequest & WithName(const char *value)
void SetAppSource(Source &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAppRequest & AddEnvironment(const EnvironmentVariable &value)
CreateAppRequest & WithEnvironment(Aws::Vector< EnvironmentVariable > &&value)
void SetStackId(const char *value)
bool TypeHasBeenSet() const
CreateAppRequest & WithDataSources(const Aws::Vector< DataSource > &value)
bool EnvironmentHasBeenSet() const
const Aws::String & GetDescription() const
CreateAppRequest & WithStackId(const Aws::String &value)
void SetDomains(const Aws::Vector< Aws::String > &value)
CreateAppRequest & WithShortname(const char *value)
const Aws::Vector< DataSource > & GetDataSources() const
bool AttributesHasBeenSet() const
CreateAppRequest & AddDomains(const Aws::String &value)
const AppType & GetType() const
const Aws::String & GetName() const
bool StackIdHasBeenSet() const
bool DataSourcesHasBeenSet() const
CreateAppRequest & WithType(const AppType &value)
void SetDescription(const Aws::String &value)
CreateAppRequest & WithType(AppType &&value)
CreateAppRequest & WithDataSources(Aws::Vector< DataSource > &&value)
CreateAppRequest & AddAttributes(const AppAttributesKeys &key, const char *value)
CreateAppRequest & AddDomains(Aws::String &&value)
bool GetEnableSsl() const
void SetAppSource(const Source &value)
const Aws::Vector< Aws::String > & GetDomains() const
void SetStackId(Aws::String &&value)
CreateAppRequest & AddEnvironment(EnvironmentVariable &&value)
const Aws::Map< AppAttributesKeys, Aws::String > & GetAttributes() const
CreateAppRequest & WithAppSource(const Source &value)
CreateAppRequest & WithSslConfiguration(const SslConfiguration &value)
void SetStackId(const Aws::String &value)
void SetDomains(Aws::Vector< Aws::String > &&value)
void SetShortname(const Aws::String &value)
void SetType(const AppType &value)
CreateAppRequest & WithName(Aws::String &&value)
CreateAppRequest & AddDomains(const char *value)
CreateAppRequest & AddAttributes(AppAttributesKeys &&key, const char *value)
virtual const char * GetServiceRequestName() const override
CreateAppRequest & WithShortname(Aws::String &&value)
CreateAppRequest & WithStackId(Aws::String &&value)
const SslConfiguration & GetSslConfiguration() const
CreateAppRequest & WithEnvironment(const Aws::Vector< EnvironmentVariable > &value)
CreateAppRequest & WithSslConfiguration(SslConfiguration &&value)
CreateAppRequest & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
const Source & GetAppSource() const
void SetAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
CreateAppRequest & WithAppSource(Source &&value)
void SetType(AppType &&value)
void SetDataSources(Aws::Vector< DataSource > &&value)
const Aws::String & GetShortname() const
const Aws::Vector< EnvironmentVariable > & GetEnvironment() const
CreateAppRequest & WithDomains(Aws::Vector< Aws::String > &&value)
bool ShortnameHasBeenSet() const
CreateAppRequest & AddDataSources(const DataSource &value)
void SetSslConfiguration(const SslConfiguration &value)
CreateAppRequest & WithDescription(const char *value)
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