/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { class CreatePlatformVersionResult { public: AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult(); AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Detailed information about the new version of the custom platform.

*/ inline const PlatformSummary& GetPlatformSummary() const{ return m_platformSummary; } /** *

Detailed information about the new version of the custom platform.

*/ inline void SetPlatformSummary(const PlatformSummary& value) { m_platformSummary = value; } /** *

Detailed information about the new version of the custom platform.

*/ inline void SetPlatformSummary(PlatformSummary&& value) { m_platformSummary = std::move(value); } /** *

Detailed information about the new version of the custom platform.

*/ inline CreatePlatformVersionResult& WithPlatformSummary(const PlatformSummary& value) { SetPlatformSummary(value); return *this;} /** *

Detailed information about the new version of the custom platform.

*/ inline CreatePlatformVersionResult& WithPlatformSummary(PlatformSummary&& value) { SetPlatformSummary(std::move(value)); return *this;} /** *

The builder used to create the custom platform.

*/ inline const Builder& GetBuilder() const{ return m_builder; } /** *

The builder used to create the custom platform.

*/ inline void SetBuilder(const Builder& value) { m_builder = value; } /** *

The builder used to create the custom platform.

*/ inline void SetBuilder(Builder&& value) { m_builder = std::move(value); } /** *

The builder used to create the custom platform.

*/ inline CreatePlatformVersionResult& WithBuilder(const Builder& value) { SetBuilder(value); return *this;} /** *

The builder used to create the custom platform.

*/ inline CreatePlatformVersionResult& WithBuilder(Builder&& value) { SetBuilder(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreatePlatformVersionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreatePlatformVersionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: PlatformSummary m_platformSummary; Builder m_builder; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws