/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { /** *

Describes the properties of an application.

See Also:

AWS * API Reference

*/ class ApplicationDescription { public: AWS_ELASTICBEANSTALK_API ApplicationDescription(); AWS_ELASTICBEANSTALK_API ApplicationDescription(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API ApplicationDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The Amazon Resource Name (ARN) of the application.

*/ inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationDescription& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationDescription& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationDescription& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;} /** *

The name of the application.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the application.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the application.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the application.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the application.

*/ inline ApplicationDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the application.

*/ inline ApplicationDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the application.

*/ inline ApplicationDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

User-defined description of the application.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

User-defined description of the application.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

User-defined description of the application.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

User-defined description of the application.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

User-defined description of the application.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

User-defined description of the application.

*/ inline ApplicationDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

User-defined description of the application.

*/ inline ApplicationDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

User-defined description of the application.

*/ inline ApplicationDescription& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The date when the application was created.

*/ inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; } /** *

The date when the application was created.

*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *

The date when the application was created.

*/ inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *

The date when the application was created.

*/ inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *

The date when the application was created.

*/ inline ApplicationDescription& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;} /** *

The date when the application was created.

*/ inline ApplicationDescription& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;} /** *

The date when the application was last modified.

*/ inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; } /** *

The date when the application was last modified.

*/ inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *

The date when the application was last modified.

*/ inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; } /** *

The date when the application was last modified.

*/ inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); } /** *

The date when the application was last modified.

*/ inline ApplicationDescription& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;} /** *

The date when the application was last modified.

*/ inline ApplicationDescription& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(std::move(value)); return *this;} /** *

The names of the versions for this application.

*/ inline const Aws::Vector& GetVersions() const{ return m_versions; } /** *

The names of the versions for this application.

*/ inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; } /** *

The names of the versions for this application.

*/ inline void SetVersions(const Aws::Vector& value) { m_versionsHasBeenSet = true; m_versions = value; } /** *

The names of the versions for this application.

*/ inline void SetVersions(Aws::Vector&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); } /** *

The names of the versions for this application.

*/ inline ApplicationDescription& WithVersions(const Aws::Vector& value) { SetVersions(value); return *this;} /** *

The names of the versions for this application.

*/ inline ApplicationDescription& WithVersions(Aws::Vector&& value) { SetVersions(std::move(value)); return *this;} /** *

The names of the versions for this application.

*/ inline ApplicationDescription& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *

The names of the versions for this application.

*/ inline ApplicationDescription& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; } /** *

The names of the versions for this application.

*/ inline ApplicationDescription& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *

The names of the configuration templates associated with this * application.

*/ inline const Aws::Vector& GetConfigurationTemplates() const{ return m_configurationTemplates; } /** *

The names of the configuration templates associated with this * application.

*/ inline bool ConfigurationTemplatesHasBeenSet() const { return m_configurationTemplatesHasBeenSet; } /** *

The names of the configuration templates associated with this * application.

*/ inline void SetConfigurationTemplates(const Aws::Vector& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates = value; } /** *

The names of the configuration templates associated with this * application.

*/ inline void SetConfigurationTemplates(Aws::Vector&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates = std::move(value); } /** *

The names of the configuration templates associated with this * application.

*/ inline ApplicationDescription& WithConfigurationTemplates(const Aws::Vector& value) { SetConfigurationTemplates(value); return *this;} /** *

The names of the configuration templates associated with this * application.

*/ inline ApplicationDescription& WithConfigurationTemplates(Aws::Vector&& value) { SetConfigurationTemplates(std::move(value)); return *this;} /** *

The names of the configuration templates associated with this * application.

*/ inline ApplicationDescription& AddConfigurationTemplates(const Aws::String& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(value); return *this; } /** *

The names of the configuration templates associated with this * application.

*/ inline ApplicationDescription& AddConfigurationTemplates(Aws::String&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(std::move(value)); return *this; } /** *

The names of the configuration templates associated with this * application.

*/ inline ApplicationDescription& AddConfigurationTemplates(const char* value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(value); return *this; } /** *

The lifecycle settings for the application.

*/ inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const{ return m_resourceLifecycleConfig; } /** *

The lifecycle settings for the application.

*/ inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; } /** *

The lifecycle settings for the application.

*/ inline void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = value; } /** *

The lifecycle settings for the application.

*/ inline void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::move(value); } /** *

The lifecycle settings for the application.

*/ inline ApplicationDescription& WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { SetResourceLifecycleConfig(value); return *this;} /** *

The lifecycle settings for the application.

*/ inline ApplicationDescription& WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { SetResourceLifecycleConfig(std::move(value)); return *this;} private: Aws::String m_applicationArn; bool m_applicationArnHasBeenSet = false; Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::Utils::DateTime m_dateUpdated; bool m_dateUpdatedHasBeenSet = false; Aws::Vector m_versions; bool m_versionsHasBeenSet = false; Aws::Vector m_configurationTemplates; bool m_configurationTemplatesHasBeenSet = false; ApplicationResourceLifecycleConfig m_resourceLifecycleConfig; bool m_resourceLifecycleConfigHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws