/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppStream { namespace Model { class AWS_APPSTREAM_API DescribeStacksResult { public: DescribeStacksResult(); DescribeStacksResult(const Aws::AmazonWebServiceResult& result); DescribeStacksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the stacks.

*/ inline const Aws::Vector& GetStacks() const{ return m_stacks; } /** *

Information about the stacks.

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

Information about the stacks.

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

Information about the stacks.

*/ inline DescribeStacksResult& WithStacks(const Aws::Vector& value) { SetStacks(value); return *this;} /** *

Information about the stacks.

*/ inline DescribeStacksResult& WithStacks(Aws::Vector&& value) { SetStacks(std::move(value)); return *this;} /** *

Information about the stacks.

*/ inline DescribeStacksResult& AddStacks(const Stack& value) { m_stacks.push_back(value); return *this; } /** *

Information about the stacks.

*/ inline DescribeStacksResult& AddStacks(Stack&& value) { m_stacks.push_back(std::move(value)); return *this; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

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

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline DescribeStacksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_stacks; Aws::String m_nextToken; }; } // namespace Model } // namespace AppStream } // namespace Aws