/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to create an application.See Also:
AWS
* API Reference
The name of the application. Must be unique within your account.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the application. Must be unique within your account.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of the application. Must be unique within your account.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of the application. Must be unique within your account.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of the application. Must be unique within your account.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of the application. Must be unique within your account.
*/ inline CreateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application. Must be unique within your account.
*/ inline CreateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application. Must be unique within your account.
*/ inline CreateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *Your description of the application.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Your description of the application.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Your description of the application.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Your description of the application.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Your description of the application.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Your description of the application.
*/ inline CreateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Your description of the application.
*/ inline CreateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Your description of the application.
*/ inline CreateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const{ return m_resourceLifecycleConfig; } /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; } /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = value; } /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::move(value); } /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline CreateApplicationRequest& WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { SetResourceLifecycleConfig(value); return *this;} /** *Specifies an application resource lifecycle configuration to prevent your * application from accumulating too many versions.
*/ inline CreateApplicationRequest& WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { SetResourceLifecycleConfig(std::move(value)); return *this;} /** *Specifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline const Aws::VectorSpecifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Specifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline void SetTags(const Aws::VectorSpecifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline void SetTags(Aws::VectorSpecifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline CreateApplicationRequest& WithTags(const Aws::VectorSpecifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline CreateApplicationRequest& WithTags(Aws::VectorSpecifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline CreateApplicationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Specifies the tags applied to the application.
Elastic Beanstalk * applies these tags only to the application. Environments that you create in the * application don't inherit the tags.
*/ inline CreateApplicationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ApplicationResourceLifecycleConfig m_resourceLifecycleConfig; bool m_resourceLifecycleConfigHasBeenSet = false; Aws::Vector