/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Result message containing a list of environment descriptions.See
* Also:
AWS
* API Reference
Returns an EnvironmentDescription list.
*/ inline const Aws::VectorReturns an EnvironmentDescription list.
*/ inline void SetEnvironments(const Aws::VectorReturns an EnvironmentDescription list.
*/ inline void SetEnvironments(Aws::VectorReturns an EnvironmentDescription list.
*/ inline DescribeEnvironmentsResult& WithEnvironments(const Aws::VectorReturns an EnvironmentDescription list.
*/ inline DescribeEnvironmentsResult& WithEnvironments(Aws::VectorReturns an EnvironmentDescription list.
*/ inline DescribeEnvironmentsResult& AddEnvironments(const EnvironmentDescription& value) { m_environments.push_back(value); return *this; } /** *Returns an EnvironmentDescription list.
*/ inline DescribeEnvironmentsResult& AddEnvironments(EnvironmentDescription&& value) { m_environments.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 DescribeEnvironmentsResult& 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 DescribeEnvironmentsResult& 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 DescribeEnvironmentsResult& 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 DescribeEnvironmentsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeEnvironmentsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector