AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListOperationsRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/route53domains/model/ListOperationsSortAttributeName.h>
13#include <aws/route53domains/model/SortOrder.h>
14#include <aws/route53domains/model/OperationStatus.h>
15#include <aws/route53domains/model/OperationType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Route53Domains
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53DOMAINS_API ListOperationsRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ListOperations"; }
41
42 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
43
44 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
45
46
48
53 inline const Aws::Utils::DateTime& GetSubmittedSince() const{ return m_submittedSince; }
54 inline bool SubmittedSinceHasBeenSet() const { return m_submittedSinceHasBeenSet; }
55 inline void SetSubmittedSince(const Aws::Utils::DateTime& value) { m_submittedSinceHasBeenSet = true; m_submittedSince = value; }
56 inline void SetSubmittedSince(Aws::Utils::DateTime&& value) { m_submittedSinceHasBeenSet = true; m_submittedSince = std::move(value); }
58 inline ListOperationsRequest& WithSubmittedSince(Aws::Utils::DateTime&& value) { SetSubmittedSince(std::move(value)); return *this;}
60
62
70 inline const Aws::String& GetMarker() const{ return m_marker; }
71 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
72 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
73 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
74 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
75 inline ListOperationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
76 inline ListOperationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
77 inline ListOperationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
79
81
84 inline int GetMaxItems() const{ return m_maxItems; }
85 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
86 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
87 inline ListOperationsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
89
91
94 inline const Aws::Vector<OperationStatus>& GetStatus() const{ return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(const Aws::Vector<OperationStatus>& value) { m_statusHasBeenSet = true; m_status = value; }
97 inline void SetStatus(Aws::Vector<OperationStatus>&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
98 inline ListOperationsRequest& WithStatus(const Aws::Vector<OperationStatus>& value) { SetStatus(value); return *this;}
99 inline ListOperationsRequest& WithStatus(Aws::Vector<OperationStatus>&& value) { SetStatus(std::move(value)); return *this;}
100 inline ListOperationsRequest& AddStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; }
101 inline ListOperationsRequest& AddStatus(OperationStatus&& value) { m_statusHasBeenSet = true; m_status.push_back(std::move(value)); return *this; }
103
105
108 inline const Aws::Vector<OperationType>& GetType() const{ return m_type; }
109 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110 inline void SetType(const Aws::Vector<OperationType>& value) { m_typeHasBeenSet = true; m_type = value; }
111 inline void SetType(Aws::Vector<OperationType>&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
112 inline ListOperationsRequest& WithType(const Aws::Vector<OperationType>& value) { SetType(value); return *this;}
113 inline ListOperationsRequest& WithType(Aws::Vector<OperationType>&& value) { SetType(std::move(value)); return *this;}
114 inline ListOperationsRequest& AddType(const OperationType& value) { m_typeHasBeenSet = true; m_type.push_back(value); return *this; }
115 inline ListOperationsRequest& AddType(OperationType&& value) { m_typeHasBeenSet = true; m_type.push_back(std::move(value)); return *this; }
117
119
122 inline const ListOperationsSortAttributeName& GetSortBy() const{ return m_sortBy; }
123 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
124 inline void SetSortBy(const ListOperationsSortAttributeName& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
125 inline void SetSortBy(ListOperationsSortAttributeName&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
126 inline ListOperationsRequest& WithSortBy(const ListOperationsSortAttributeName& value) { SetSortBy(value); return *this;}
127 inline ListOperationsRequest& WithSortBy(ListOperationsSortAttributeName&& value) { SetSortBy(std::move(value)); return *this;}
129
131
134 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
135 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
136 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
137 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
138 inline ListOperationsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
139 inline ListOperationsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
141 private:
142
143 Aws::Utils::DateTime m_submittedSince;
144 bool m_submittedSinceHasBeenSet = false;
145
146 Aws::String m_marker;
147 bool m_markerHasBeenSet = false;
148
149 int m_maxItems;
150 bool m_maxItemsHasBeenSet = false;
151
153 bool m_statusHasBeenSet = false;
154
156 bool m_typeHasBeenSet = false;
157
159 bool m_sortByHasBeenSet = false;
160
161 SortOrder m_sortOrder;
162 bool m_sortOrderHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Route53Domains
167} // namespace Aws
const Aws::Utils::DateTime & GetSubmittedSince() const
virtual const char * GetServiceRequestName() const override
void SetType(const Aws::Vector< OperationType > &value)
ListOperationsRequest & WithSubmittedSince(const Aws::Utils::DateTime &value)
ListOperationsRequest & WithMarker(const Aws::String &value)
ListOperationsRequest & WithSortOrder(SortOrder &&value)
const ListOperationsSortAttributeName & GetSortBy() const
ListOperationsRequest & WithSortBy(const ListOperationsSortAttributeName &value)
ListOperationsRequest & AddType(OperationType &&value)
void SetStatus(Aws::Vector< OperationStatus > &&value)
ListOperationsRequest & WithStatus(Aws::Vector< OperationStatus > &&value)
const Aws::Vector< OperationType > & GetType() const
ListOperationsRequest & WithType(Aws::Vector< OperationType > &&value)
void SetSubmittedSince(const Aws::Utils::DateTime &value)
ListOperationsRequest & WithMarker(const char *value)
void SetStatus(const Aws::Vector< OperationStatus > &value)
ListOperationsRequest & WithMarker(Aws::String &&value)
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
void SetSortBy(ListOperationsSortAttributeName &&value)
void SetType(Aws::Vector< OperationType > &&value)
ListOperationsRequest & WithStatus(const Aws::Vector< OperationStatus > &value)
ListOperationsRequest & WithSortOrder(const SortOrder &value)
void SetSubmittedSince(Aws::Utils::DateTime &&value)
ListOperationsRequest & AddStatus(OperationStatus &&value)
ListOperationsRequest & WithType(const Aws::Vector< OperationType > &value)
void SetSortBy(const ListOperationsSortAttributeName &value)
const Aws::Vector< OperationStatus > & GetStatus() const
ListOperationsRequest & WithSortBy(ListOperationsSortAttributeName &&value)
ListOperationsRequest & WithSubmittedSince(Aws::Utils::DateTime &&value)
ListOperationsRequest & AddStatus(const OperationStatus &value)
ListOperationsRequest & AddType(const OperationType &value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector