/** * 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 ConnectCases { namespace Model { class ListLayoutsResult { public: AWS_CONNECTCASES_API ListLayoutsResult(); AWS_CONNECTCASES_API ListLayoutsResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECTCASES_API ListLayoutsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The layouts for the domain.

*/ inline const Aws::Vector& GetLayouts() const{ return m_layouts; } /** *

The layouts for the domain.

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

The layouts for the domain.

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

The layouts for the domain.

*/ inline ListLayoutsResult& WithLayouts(const Aws::Vector& value) { SetLayouts(value); return *this;} /** *

The layouts for the domain.

*/ inline ListLayoutsResult& WithLayouts(Aws::Vector&& value) { SetLayouts(std::move(value)); return *this;} /** *

The layouts for the domain.

*/ inline ListLayoutsResult& AddLayouts(const LayoutSummary& value) { m_layouts.push_back(value); return *this; } /** *

The layouts for the domain.

*/ inline ListLayoutsResult& AddLayouts(LayoutSummary&& value) { m_layouts.push_back(std::move(value)); return *this; } /** *

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

*/ inline ListLayoutsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListLayoutsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLayoutsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLayoutsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_layouts; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectCases } // namespace Aws