7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opsworks/model/AppType.h>
11#include <aws/opsworks/model/Source.h>
12#include <aws/opsworks/model/SslConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/opsworks/model/DataSource.h>
15#include <aws/opsworks/model/AppAttributesKeys.h>
16#include <aws/opsworks/model/EnvironmentVariable.h>
42 AWS_OPSWORKS_API
App();
56 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
70 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
84 inline void SetShortname(
const char* value) { m_shortnameHasBeenSet =
true; m_shortname.assign(value); }
98 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetType(
const AppType& value) { m_typeHasBeenSet =
true; m_type = value; }
139 inline void SetType(
AppType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
151 inline void SetAppSource(
Source&& value) { m_appSourceHasBeenSet =
true; m_appSource = std::move(value); }
169 inline App&
AddDomains(
const char* value) { m_domainsHasBeenSet =
true; m_domains.push_back(value);
return *
this; }
178 inline void SetEnableSsl(
bool value) { m_enableSslHasBeenSet =
true; m_enableSsl = value; }
220 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
252 bool m_appIdHasBeenSet =
false;
255 bool m_stackIdHasBeenSet =
false;
258 bool m_shortnameHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
264 bool m_descriptionHasBeenSet =
false;
267 bool m_dataSourcesHasBeenSet =
false;
270 bool m_typeHasBeenSet =
false;
273 bool m_appSourceHasBeenSet =
false;
276 bool m_domainsHasBeenSet =
false;
279 bool m_enableSslHasBeenSet =
false;
282 bool m_sslConfigurationHasBeenSet =
false;
285 bool m_attributesHasBeenSet =
false;
288 bool m_createdAtHasBeenSet =
false;
291 bool m_environmentHasBeenSet =
false;
void SetName(const Aws::String &value)
App & WithDomains(const Aws::Vector< Aws::String > &value)
App & WithEnableSsl(bool value)
void SetShortname(Aws::String &&value)
bool StackIdHasBeenSet() const
void SetDataSources(const Aws::Vector< DataSource > &value)
void SetAppId(Aws::String &&value)
App & WithName(const Aws::String &value)
void SetAppSource(const Source &value)
void SetAppId(const Aws::String &value)
App & WithName(Aws::String &&value)
bool EnvironmentHasBeenSet() const
App & WithDataSources(const Aws::Vector< DataSource > &value)
const Aws::String & GetCreatedAt() const
App & WithType(const AppType &value)
bool DescriptionHasBeenSet() const
bool AppSourceHasBeenSet() const
void SetCreatedAt(Aws::String &&value)
const Source & GetAppSource() const
App & WithStackId(Aws::String &&value)
const Aws::String & GetStackId() const
App & WithCreatedAt(const char *value)
void SetSslConfiguration(const SslConfiguration &value)
App & AddDomains(const Aws::String &value)
App & WithAppId(const char *value)
App & WithEnvironment(Aws::Vector< EnvironmentVariable > &&value)
App & WithAppId(const Aws::String &value)
bool DataSourcesHasBeenSet() const
App & WithStackId(const Aws::String &value)
void SetCreatedAt(const char *value)
void SetDataSources(Aws::Vector< DataSource > &&value)
App & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
App & AddAttributes(const AppAttributesKeys &key, Aws::String &&value)
bool NameHasBeenSet() const
App & WithAppSource(Source &&value)
const Aws::Vector< EnvironmentVariable > & GetEnvironment() const
App & WithShortname(Aws::String &&value)
void SetDomains(const Aws::Vector< Aws::String > &value)
AWS_OPSWORKS_API App(Aws::Utils::Json::JsonView jsonValue)
bool EnableSslHasBeenSet() const
void SetType(AppType &&value)
void SetAppId(const char *value)
void SetStackId(const char *value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetShortname() const
App & AddDataSources(DataSource &&value)
App & WithName(const char *value)
App & WithShortname(const Aws::String &value)
App & AddDomains(const char *value)
App & WithStackId(const char *value)
App & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetEnvironment(Aws::Vector< EnvironmentVariable > &&value)
AWS_OPSWORKS_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
App & AddEnvironment(const EnvironmentVariable &value)
void SetStackId(Aws::String &&value)
const AppType & GetType() const
const Aws::String & GetName() const
App & AddDomains(Aws::String &&value)
App & WithDomains(Aws::Vector< Aws::String > &&value)
App & AddEnvironment(EnvironmentVariable &&value)
void SetCreatedAt(const Aws::String &value)
void SetAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
void SetStackId(const Aws::String &value)
const Aws::Vector< DataSource > & GetDataSources() const
bool GetEnableSsl() const
App & WithAttributes(Aws::Map< AppAttributesKeys, Aws::String > &&value)
App & WithType(AppType &&value)
App & WithDataSources(Aws::Vector< DataSource > &&value)
App & AddAttributes(const AppAttributesKeys &key, const char *value)
App & AddAttributes(AppAttributesKeys &&key, Aws::String &&value)
App & AddAttributes(AppAttributesKeys &&key, const Aws::String &value)
void SetAppSource(Source &&value)
App & WithDescription(const char *value)
bool SslConfigurationHasBeenSet() const
App & WithSslConfiguration(const SslConfiguration &value)
App & WithSslConfiguration(SslConfiguration &&value)
App & WithAppSource(const Source &value)
bool CreatedAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetDomains() const
void SetShortname(const Aws::String &value)
App & AddAttributes(const AppAttributesKeys &key, const Aws::String &value)
void SetName(Aws::String &&value)
void SetAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
App & WithCreatedAt(const Aws::String &value)
const Aws::Map< AppAttributesKeys, Aws::String > & GetAttributes() const
App & AddAttributes(AppAttributesKeys &&key, const char *value)
App & WithEnvironment(const Aws::Vector< EnvironmentVariable > &value)
void SetDescription(const Aws::String &value)
bool DomainsHasBeenSet() const
const SslConfiguration & GetSslConfiguration() const
void SetSslConfiguration(SslConfiguration &&value)
const Aws::String & GetAppId() const
void SetType(const AppType &value)
void SetName(const char *value)
App & WithAppId(Aws::String &&value)
bool TypeHasBeenSet() const
bool AttributesHasBeenSet() const
bool ShortnameHasBeenSet() const
App & WithCreatedAt(Aws::String &&value)
void SetDescription(const char *value)
App & WithAttributes(const Aws::Map< AppAttributesKeys, Aws::String > &value)
void SetDomains(Aws::Vector< Aws::String > &&value)
bool AppIdHasBeenSet() const
void SetEnvironment(const Aws::Vector< EnvironmentVariable > &value)
void SetShortname(const char *value)
App & WithShortname(const char *value)
void SetEnableSsl(bool value)
App & AddDataSources(const DataSource &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
Aws::Utils::Json::JsonValue JsonValue