/** * 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 ListPlatformBranchesResult { public: AWS_ELASTICBEANSTALK_API ListPlatformBranchesResult(); AWS_ELASTICBEANSTALK_API ListPlatformBranchesResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API ListPlatformBranchesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Summary information about the platform branches.

*/ inline const Aws::Vector& GetPlatformBranchSummaryList() const{ return m_platformBranchSummaryList; } /** *

Summary information about the platform branches.

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

Summary information about the platform branches.

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

Summary information about the platform branches.

*/ inline ListPlatformBranchesResult& WithPlatformBranchSummaryList(const Aws::Vector& value) { SetPlatformBranchSummaryList(value); return *this;} /** *

Summary information about the platform branches.

*/ inline ListPlatformBranchesResult& WithPlatformBranchSummaryList(Aws::Vector&& value) { SetPlatformBranchSummaryList(std::move(value)); return *this;} /** *

Summary information about the platform branches.

*/ inline ListPlatformBranchesResult& AddPlatformBranchSummaryList(const PlatformBranchSummary& value) { m_platformBranchSummaryList.push_back(value); return *this; } /** *

Summary information about the platform branches.

*/ inline ListPlatformBranchesResult& AddPlatformBranchSummaryList(PlatformBranchSummary&& value) { m_platformBranchSummaryList.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 ListPlatformBranchesResult& 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 ListPlatformBranchesResult& 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 ListPlatformBranchesResult& 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 ListPlatformBranchesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListPlatformBranchesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_platformBranchSummaryList; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws