AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ListOperationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53domains/Route53Domains_EXPORTS.h>
11#include <aws/route53domains/model/OperationSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53Domains {
25namespace Model {
33 public:
34 AWS_ROUTE53DOMAINS_API ListOperationsResult() = default;
37
39
42 inline const Aws::Vector<OperationSummary>& GetOperations() const { return m_operations; }
43 template <typename OperationsT = Aws::Vector<OperationSummary>>
44 void SetOperations(OperationsT&& value) {
45 m_operationsHasBeenSet = true;
46 m_operations = std::forward<OperationsT>(value);
47 }
48 template <typename OperationsT = Aws::Vector<OperationSummary>>
49 ListOperationsResult& WithOperations(OperationsT&& value) {
50 SetOperations(std::forward<OperationsT>(value));
51 return *this;
52 }
53 template <typename OperationsT = OperationSummary>
54 ListOperationsResult& AddOperations(OperationsT&& value) {
55 m_operationsHasBeenSet = true;
56 m_operations.emplace_back(std::forward<OperationsT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetNextPageMarker() const { return m_nextPageMarker; }
68 template <typename NextPageMarkerT = Aws::String>
69 void SetNextPageMarker(NextPageMarkerT&& value) {
70 m_nextPageMarkerHasBeenSet = true;
71 m_nextPageMarker = std::forward<NextPageMarkerT>(value);
72 }
73 template <typename NextPageMarkerT = Aws::String>
74 ListOperationsResult& WithNextPageMarker(NextPageMarkerT&& value) {
75 SetNextPageMarker(std::forward<NextPageMarkerT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
89 ListOperationsResult& WithRequestId(RequestIdT&& value) {
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
98
99 Aws::String m_nextPageMarker;
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_operationsHasBeenSet = false;
104 bool m_nextPageMarkerHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Route53Domains
110} // namespace Aws
ListOperationsResult & WithNextPageMarker(NextPageMarkerT &&value)
const Aws::Vector< OperationSummary > & GetOperations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListOperationsResult & WithOperations(OperationsT &&value)
ListOperationsResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53DOMAINS_API ListOperationsResult()=default
AWS_ROUTE53DOMAINS_API ListOperationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53DOMAINS_API ListOperationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListOperationsResult & AddOperations(OperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue