/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to create a new platform version.See Also:
AWS
* API Reference
The name of your custom platform.
*/ inline const Aws::String& GetPlatformName() const{ return m_platformName; } /** *The name of your custom platform.
*/ inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; } /** *The name of your custom platform.
*/ inline void SetPlatformName(const Aws::String& value) { m_platformNameHasBeenSet = true; m_platformName = value; } /** *The name of your custom platform.
*/ inline void SetPlatformName(Aws::String&& value) { m_platformNameHasBeenSet = true; m_platformName = std::move(value); } /** *The name of your custom platform.
*/ inline void SetPlatformName(const char* value) { m_platformNameHasBeenSet = true; m_platformName.assign(value); } /** *The name of your custom platform.
*/ inline CreatePlatformVersionRequest& WithPlatformName(const Aws::String& value) { SetPlatformName(value); return *this;} /** *The name of your custom platform.
*/ inline CreatePlatformVersionRequest& WithPlatformName(Aws::String&& value) { SetPlatformName(std::move(value)); return *this;} /** *The name of your custom platform.
*/ inline CreatePlatformVersionRequest& WithPlatformName(const char* value) { SetPlatformName(value); return *this;} /** *The number, such as 1.0.2, for the new platform version.
*/ inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; } /** *The number, such as 1.0.2, for the new platform version.
*/ inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; } /** *The number, such as 1.0.2, for the new platform version.
*/ inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; } /** *The number, such as 1.0.2, for the new platform version.
*/ inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); } /** *The number, such as 1.0.2, for the new platform version.
*/ inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); } /** *The number, such as 1.0.2, for the new platform version.
*/ inline CreatePlatformVersionRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;} /** *The number, such as 1.0.2, for the new platform version.
*/ inline CreatePlatformVersionRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;} /** *The number, such as 1.0.2, for the new platform version.
*/ inline CreatePlatformVersionRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;} /** *The location of the platform definition archive in Amazon S3.
*/ inline const S3Location& GetPlatformDefinitionBundle() const{ return m_platformDefinitionBundle; } /** *The location of the platform definition archive in Amazon S3.
*/ inline bool PlatformDefinitionBundleHasBeenSet() const { return m_platformDefinitionBundleHasBeenSet; } /** *The location of the platform definition archive in Amazon S3.
*/ inline void SetPlatformDefinitionBundle(const S3Location& value) { m_platformDefinitionBundleHasBeenSet = true; m_platformDefinitionBundle = value; } /** *The location of the platform definition archive in Amazon S3.
*/ inline void SetPlatformDefinitionBundle(S3Location&& value) { m_platformDefinitionBundleHasBeenSet = true; m_platformDefinitionBundle = std::move(value); } /** *The location of the platform definition archive in Amazon S3.
*/ inline CreatePlatformVersionRequest& WithPlatformDefinitionBundle(const S3Location& value) { SetPlatformDefinitionBundle(value); return *this;} /** *The location of the platform definition archive in Amazon S3.
*/ inline CreatePlatformVersionRequest& WithPlatformDefinitionBundle(S3Location&& value) { SetPlatformDefinitionBundle(std::move(value)); return *this;} /** *The name of the builder environment.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the builder environment.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the builder environment.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the builder environment.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the builder environment.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the builder environment.
*/ inline CreatePlatformVersionRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the builder environment.
*/ inline CreatePlatformVersionRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the builder environment.
*/ inline CreatePlatformVersionRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The configuration option settings to apply to the builder environment.
*/ inline const Aws::VectorThe configuration option settings to apply to the builder environment.
*/ inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; } /** *The configuration option settings to apply to the builder environment.
*/ inline void SetOptionSettings(const Aws::VectorThe configuration option settings to apply to the builder environment.
*/ inline void SetOptionSettings(Aws::VectorThe configuration option settings to apply to the builder environment.
*/ inline CreatePlatformVersionRequest& WithOptionSettings(const Aws::VectorThe configuration option settings to apply to the builder environment.
*/ inline CreatePlatformVersionRequest& WithOptionSettings(Aws::VectorThe configuration option settings to apply to the builder environment.
*/ inline CreatePlatformVersionRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; } /** *The configuration option settings to apply to the builder environment.
*/ inline CreatePlatformVersionRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; } /** *Specifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline const Aws::VectorSpecifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Specifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline void SetTags(const Aws::VectorSpecifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline void SetTags(Aws::VectorSpecifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline CreatePlatformVersionRequest& WithTags(const Aws::VectorSpecifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline CreatePlatformVersionRequest& WithTags(Aws::VectorSpecifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline CreatePlatformVersionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Specifies the tags applied to the new platform version.
Elastic * Beanstalk applies these tags only to the platform version. Environments that you * create using the platform version don't inherit the tags.
*/ inline CreatePlatformVersionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_platformName; bool m_platformNameHasBeenSet = false; Aws::String m_platformVersion; bool m_platformVersionHasBeenSet = false; S3Location m_platformDefinitionBundle; bool m_platformDefinitionBundleHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::Vector