/** * 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 Route53Domains { namespace Model { /** *

The ListOperations response includes the following elements.

See * Also:

AWS * API Reference

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

Lists summaries of the operations.

*/ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** *

Lists summaries of the operations.

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

Lists summaries of the operations.

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

Lists summaries of the operations.

*/ inline ListOperationsResult& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** *

Lists summaries of the operations.

*/ inline ListOperationsResult& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** *

Lists summaries of the operations.

*/ inline ListOperationsResult& AddOperations(const OperationSummary& value) { m_operations.push_back(value); return *this; } /** *

Lists summaries of the operations.

*/ inline ListOperationsResult& AddOperations(OperationSummary&& value) { m_operations.push_back(std::move(value)); return *this; } /** *

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; } /** *

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

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

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

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

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); } /** *

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListOperationsResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;} /** *

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListOperationsResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;} /** *

If there are more operations than you specified for MaxItems in * the request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListOperationsResult& WithNextPageMarker(const char* value) { SetNextPageMarker(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 ListOperationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListOperationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListOperationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_operations; Aws::String m_nextPageMarker; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws