/** * 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 { /** *

Result message wrapping a list of application version * descriptions.

See Also:

AWS * API Reference

*/ class DescribeApplicationVersionsResult { public: AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult(); AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of ApplicationVersionDescription objects sorted in order of * creation.

*/ inline const Aws::Vector& GetApplicationVersions() const{ return m_applicationVersions; } /** *

List of ApplicationVersionDescription objects sorted in order of * creation.

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

List of ApplicationVersionDescription objects sorted in order of * creation.

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

List of ApplicationVersionDescription objects sorted in order of * creation.

*/ inline DescribeApplicationVersionsResult& WithApplicationVersions(const Aws::Vector& value) { SetApplicationVersions(value); return *this;} /** *

List of ApplicationVersionDescription objects sorted in order of * creation.

*/ inline DescribeApplicationVersionsResult& WithApplicationVersions(Aws::Vector&& value) { SetApplicationVersions(std::move(value)); return *this;} /** *

List of ApplicationVersionDescription objects sorted in order of * creation.

*/ inline DescribeApplicationVersionsResult& AddApplicationVersions(const ApplicationVersionDescription& value) { m_applicationVersions.push_back(value); return *this; } /** *

List of ApplicationVersionDescription objects sorted in order of * creation.

*/ inline DescribeApplicationVersionsResult& AddApplicationVersions(ApplicationVersionDescription&& value) { m_applicationVersions.push_back(std::move(value)); return *this; } /** *

In a paginated request, 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, 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, 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, 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, the token that you can pass in a subsequent request * to get the next response page.

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

In a paginated request, the token that you can pass in a subsequent request * to get the next response page.

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

In a paginated request, the token that you can pass in a subsequent request * to get the next response page.

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