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

Summary information about a platform version.

See Also:

AWS * API Reference

*/ class PlatformSummary { public: AWS_ELASTICBEANSTALK_API PlatformSummary(); AWS_ELASTICBEANSTALK_API PlatformSummary(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API PlatformSummary& 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 ARN of the platform version.

*/ inline const Aws::String& GetPlatformArn() const{ return m_platformArn; } /** *

The ARN of the platform version.

*/ inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); } /** *

The ARN of the platform version.

*/ inline PlatformSummary& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;} /** *

The ARN of the platform version.

*/ inline PlatformSummary& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;} /** *

The ARN of the platform version.

*/ inline PlatformSummary& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;} /** *

The AWS account ID of the person who created the platform version.

*/ inline const Aws::String& GetPlatformOwner() const{ return m_platformOwner; } /** *

The AWS account ID of the person who created the platform version.

*/ inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; } /** *

The AWS account ID of the person who created the platform version.

*/ inline void SetPlatformOwner(const Aws::String& value) { m_platformOwnerHasBeenSet = true; m_platformOwner = value; } /** *

The AWS account ID of the person who created the platform version.

*/ inline void SetPlatformOwner(Aws::String&& value) { m_platformOwnerHasBeenSet = true; m_platformOwner = std::move(value); } /** *

The AWS account ID of the person who created the platform version.

*/ inline void SetPlatformOwner(const char* value) { m_platformOwnerHasBeenSet = true; m_platformOwner.assign(value); } /** *

The AWS account ID of the person who created the platform version.

*/ inline PlatformSummary& WithPlatformOwner(const Aws::String& value) { SetPlatformOwner(value); return *this;} /** *

The AWS account ID of the person who created the platform version.

*/ inline PlatformSummary& WithPlatformOwner(Aws::String&& value) { SetPlatformOwner(std::move(value)); return *this;} /** *

The AWS account ID of the person who created the platform version.

*/ inline PlatformSummary& WithPlatformOwner(const char* value) { SetPlatformOwner(value); return *this;} /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline const PlatformStatus& GetPlatformStatus() const{ return m_platformStatus; } /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; } /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline void SetPlatformStatus(const PlatformStatus& value) { m_platformStatusHasBeenSet = true; m_platformStatus = value; } /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline void SetPlatformStatus(PlatformStatus&& value) { m_platformStatusHasBeenSet = true; m_platformStatus = std::move(value); } /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline PlatformSummary& WithPlatformStatus(const PlatformStatus& value) { SetPlatformStatus(value); return *this;} /** *

The status of the platform version. You can create an environment from the * platform version once it is ready.

*/ inline PlatformSummary& WithPlatformStatus(PlatformStatus&& value) { SetPlatformStatus(std::move(value)); return *this;} /** *

The category of platform version.

*/ inline const Aws::String& GetPlatformCategory() const{ return m_platformCategory; } /** *

The category of platform version.

*/ inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; } /** *

The category of platform version.

*/ inline void SetPlatformCategory(const Aws::String& value) { m_platformCategoryHasBeenSet = true; m_platformCategory = value; } /** *

The category of platform version.

*/ inline void SetPlatformCategory(Aws::String&& value) { m_platformCategoryHasBeenSet = true; m_platformCategory = std::move(value); } /** *

The category of platform version.

*/ inline void SetPlatformCategory(const char* value) { m_platformCategoryHasBeenSet = true; m_platformCategory.assign(value); } /** *

The category of platform version.

*/ inline PlatformSummary& WithPlatformCategory(const Aws::String& value) { SetPlatformCategory(value); return *this;} /** *

The category of platform version.

*/ inline PlatformSummary& WithPlatformCategory(Aws::String&& value) { SetPlatformCategory(std::move(value)); return *this;} /** *

The category of platform version.

*/ inline PlatformSummary& WithPlatformCategory(const char* value) { SetPlatformCategory(value); return *this;} /** *

The operating system used by the platform version.

*/ inline const Aws::String& GetOperatingSystemName() const{ return m_operatingSystemName; } /** *

The operating system used by the platform version.

*/ inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; } /** *

The operating system used by the platform version.

*/ inline void SetOperatingSystemName(const Aws::String& value) { m_operatingSystemNameHasBeenSet = true; m_operatingSystemName = value; } /** *

The operating system used by the platform version.

*/ inline void SetOperatingSystemName(Aws::String&& value) { m_operatingSystemNameHasBeenSet = true; m_operatingSystemName = std::move(value); } /** *

The operating system used by the platform version.

*/ inline void SetOperatingSystemName(const char* value) { m_operatingSystemNameHasBeenSet = true; m_operatingSystemName.assign(value); } /** *

The operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemName(const Aws::String& value) { SetOperatingSystemName(value); return *this;} /** *

The operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemName(Aws::String&& value) { SetOperatingSystemName(std::move(value)); return *this;} /** *

The operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemName(const char* value) { SetOperatingSystemName(value); return *this;} /** *

The version of the operating system used by the platform version.

*/ inline const Aws::String& GetOperatingSystemVersion() const{ return m_operatingSystemVersion; } /** *

The version of the operating system used by the platform version.

*/ inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; } /** *

The version of the operating system used by the platform version.

*/ inline void SetOperatingSystemVersion(const Aws::String& value) { m_operatingSystemVersionHasBeenSet = true; m_operatingSystemVersion = value; } /** *

The version of the operating system used by the platform version.

*/ inline void SetOperatingSystemVersion(Aws::String&& value) { m_operatingSystemVersionHasBeenSet = true; m_operatingSystemVersion = std::move(value); } /** *

The version of the operating system used by the platform version.

*/ inline void SetOperatingSystemVersion(const char* value) { m_operatingSystemVersionHasBeenSet = true; m_operatingSystemVersion.assign(value); } /** *

The version of the operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemVersion(const Aws::String& value) { SetOperatingSystemVersion(value); return *this;} /** *

The version of the operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemVersion(Aws::String&& value) { SetOperatingSystemVersion(std::move(value)); return *this;} /** *

The version of the operating system used by the platform version.

*/ inline PlatformSummary& WithOperatingSystemVersion(const char* value) { SetOperatingSystemVersion(value); return *this;} /** *

The tiers in which the platform version runs.

*/ inline const Aws::Vector& GetSupportedTierList() const{ return m_supportedTierList; } /** *

The tiers in which the platform version runs.

*/ inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; } /** *

The tiers in which the platform version runs.

*/ inline void SetSupportedTierList(const Aws::Vector& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = value; } /** *

The tiers in which the platform version runs.

*/ inline void SetSupportedTierList(Aws::Vector&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = std::move(value); } /** *

The tiers in which the platform version runs.

*/ inline PlatformSummary& WithSupportedTierList(const Aws::Vector& value) { SetSupportedTierList(value); return *this;} /** *

The tiers in which the platform version runs.

*/ inline PlatformSummary& WithSupportedTierList(Aws::Vector&& value) { SetSupportedTierList(std::move(value)); return *this;} /** *

The tiers in which the platform version runs.

*/ inline PlatformSummary& AddSupportedTierList(const Aws::String& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(value); return *this; } /** *

The tiers in which the platform version runs.

*/ inline PlatformSummary& AddSupportedTierList(Aws::String&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(std::move(value)); return *this; } /** *

The tiers in which the platform version runs.

*/ inline PlatformSummary& AddSupportedTierList(const char* value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.push_back(value); return *this; } /** *

The additions associated with the platform version.

*/ inline const Aws::Vector& GetSupportedAddonList() const{ return m_supportedAddonList; } /** *

The additions associated with the platform version.

*/ inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; } /** *

The additions associated with the platform version.

*/ inline void SetSupportedAddonList(const Aws::Vector& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList = value; } /** *

The additions associated with the platform version.

*/ inline void SetSupportedAddonList(Aws::Vector&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList = std::move(value); } /** *

The additions associated with the platform version.

*/ inline PlatformSummary& WithSupportedAddonList(const Aws::Vector& value) { SetSupportedAddonList(value); return *this;} /** *

The additions associated with the platform version.

*/ inline PlatformSummary& WithSupportedAddonList(Aws::Vector&& value) { SetSupportedAddonList(std::move(value)); return *this;} /** *

The additions associated with the platform version.

*/ inline PlatformSummary& AddSupportedAddonList(const Aws::String& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList.push_back(value); return *this; } /** *

The additions associated with the platform version.

*/ inline PlatformSummary& AddSupportedAddonList(Aws::String&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList.push_back(std::move(value)); return *this; } /** *

The additions associated with the platform version.

*/ inline PlatformSummary& AddSupportedAddonList(const char* value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList.push_back(value); return *this; } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline const Aws::String& GetPlatformLifecycleState() const{ return m_platformLifecycleState; } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline void SetPlatformLifecycleState(const Aws::String& value) { m_platformLifecycleStateHasBeenSet = true; m_platformLifecycleState = value; } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline void SetPlatformLifecycleState(Aws::String&& value) { m_platformLifecycleStateHasBeenSet = true; m_platformLifecycleState = std::move(value); } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline void SetPlatformLifecycleState(const char* value) { m_platformLifecycleStateHasBeenSet = true; m_platformLifecycleState.assign(value); } /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline PlatformSummary& WithPlatformLifecycleState(const Aws::String& value) { SetPlatformLifecycleState(value); return *this;} /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline PlatformSummary& WithPlatformLifecycleState(Aws::String&& value) { SetPlatformLifecycleState(std::move(value)); return *this;} /** *

The state of the platform version in its lifecycle.

Possible values: * recommended | empty

If an empty value is returned, the * platform version is supported but isn't the recommended one for its branch.

*/ inline PlatformSummary& WithPlatformLifecycleState(const char* value) { SetPlatformLifecycleState(value); return *this;} /** *

The version string of the platform version.

*/ inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; } /** *

The version string of the platform version.

*/ inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; } /** *

The version string of the platform version.

*/ inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; } /** *

The version string of the platform version.

*/ inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); } /** *

The version string of the platform version.

*/ inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); } /** *

The version string of the platform version.

*/ inline PlatformSummary& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;} /** *

The version string of the platform version.

*/ inline PlatformSummary& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;} /** *

The version string of the platform version.

*/ inline PlatformSummary& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;} /** *

The platform branch to which the platform version belongs.

*/ inline const Aws::String& GetPlatformBranchName() const{ return m_platformBranchName; } /** *

The platform branch to which the platform version belongs.

*/ inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; } /** *

The platform branch to which the platform version belongs.

*/ inline void SetPlatformBranchName(const Aws::String& value) { m_platformBranchNameHasBeenSet = true; m_platformBranchName = value; } /** *

The platform branch to which the platform version belongs.

*/ inline void SetPlatformBranchName(Aws::String&& value) { m_platformBranchNameHasBeenSet = true; m_platformBranchName = std::move(value); } /** *

The platform branch to which the platform version belongs.

*/ inline void SetPlatformBranchName(const char* value) { m_platformBranchNameHasBeenSet = true; m_platformBranchName.assign(value); } /** *

The platform branch to which the platform version belongs.

*/ inline PlatformSummary& WithPlatformBranchName(const Aws::String& value) { SetPlatformBranchName(value); return *this;} /** *

The platform branch to which the platform version belongs.

*/ inline PlatformSummary& WithPlatformBranchName(Aws::String&& value) { SetPlatformBranchName(std::move(value)); return *this;} /** *

The platform branch to which the platform version belongs.

*/ inline PlatformSummary& WithPlatformBranchName(const char* value) { SetPlatformBranchName(value); return *this;} /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline const Aws::String& GetPlatformBranchLifecycleState() const{ return m_platformBranchLifecycleState; } /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; } /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline void SetPlatformBranchLifecycleState(const Aws::String& value) { m_platformBranchLifecycleStateHasBeenSet = true; m_platformBranchLifecycleState = value; } /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline void SetPlatformBranchLifecycleState(Aws::String&& value) { m_platformBranchLifecycleStateHasBeenSet = true; m_platformBranchLifecycleState = std::move(value); } /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline void SetPlatformBranchLifecycleState(const char* value) { m_platformBranchLifecycleStateHasBeenSet = true; m_platformBranchLifecycleState.assign(value); } /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline PlatformSummary& WithPlatformBranchLifecycleState(const Aws::String& value) { SetPlatformBranchLifecycleState(value); return *this;} /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline PlatformSummary& WithPlatformBranchLifecycleState(Aws::String&& value) { SetPlatformBranchLifecycleState(std::move(value)); return *this;} /** *

The state of the platform version's branch in its lifecycle.

Possible * values: beta | supported | deprecated | * retired

*/ inline PlatformSummary& WithPlatformBranchLifecycleState(const char* value) { SetPlatformBranchLifecycleState(value); return *this;} private: Aws::String m_platformArn; bool m_platformArnHasBeenSet = false; Aws::String m_platformOwner; bool m_platformOwnerHasBeenSet = false; PlatformStatus m_platformStatus; bool m_platformStatusHasBeenSet = false; Aws::String m_platformCategory; bool m_platformCategoryHasBeenSet = false; Aws::String m_operatingSystemName; bool m_operatingSystemNameHasBeenSet = false; Aws::String m_operatingSystemVersion; bool m_operatingSystemVersionHasBeenSet = false; Aws::Vector m_supportedTierList; bool m_supportedTierListHasBeenSet = false; Aws::Vector m_supportedAddonList; bool m_supportedAddonListHasBeenSet = false; Aws::String m_platformLifecycleState; bool m_platformLifecycleStateHasBeenSet = false; Aws::String m_platformVersion; bool m_platformVersionHasBeenSet = false; Aws::String m_platformBranchName; bool m_platformBranchNameHasBeenSet = false; Aws::String m_platformBranchLifecycleState; bool m_platformBranchLifecycleStateHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws