/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { class ListPlatformVersionsResult { public: AWS_ELASTICBEANSTALK_API ListPlatformVersionsResult(); AWS_ELASTICBEANSTALK_API ListPlatformVersionsResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API ListPlatformVersionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Summary information about the platform versions.

*/ inline const Aws::Vector& GetPlatformSummaryList() const{ return m_platformSummaryList; } /** *

Summary information about the platform versions.

*/ inline void SetPlatformSummaryList(const Aws::Vector& value) { m_platformSummaryList = value; } /** *

Summary information about the platform versions.

*/ inline void SetPlatformSummaryList(Aws::Vector&& value) { m_platformSummaryList = std::move(value); } /** *

Summary information about the platform versions.

*/ inline ListPlatformVersionsResult& WithPlatformSummaryList(const Aws::Vector& value) { SetPlatformSummaryList(value); return *this;} /** *

Summary information about the platform versions.

*/ inline ListPlatformVersionsResult& WithPlatformSummaryList(Aws::Vector&& value) { SetPlatformSummaryList(std::move(value)); return *this;} /** *

Summary information about the platform versions.

*/ inline ListPlatformVersionsResult& AddPlatformSummaryList(const PlatformSummary& value) { m_platformSummaryList.push_back(value); return *this; } /** *

Summary information about the platform versions.

*/ inline ListPlatformVersionsResult& AddPlatformSummaryList(PlatformSummary&& value) { m_platformSummaryList.push_back(std::move(value)); return *this; } /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline ListPlatformVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline ListPlatformVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

In a paginated request, if this value isn't null, it's the token * that you can pass in a subsequent request to get the next response page.

*/ inline ListPlatformVersionsResult& WithNextToken(const char* value) { SetNextToken(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 ListPlatformVersionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListPlatformVersionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_platformSummaryList; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws