AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ListDomainsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/swf/SWF_EXPORTS.h>
10#include <aws/swf/model/RegistrationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SWF {
16namespace Model {
17
21 public:
22 AWS_SWF_API ListDomainsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
29
30 AWS_SWF_API Aws::String SerializePayload() const override;
31
33
35
45 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
46 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
47 template <typename NextPageTokenT = Aws::String>
48 void SetNextPageToken(NextPageTokenT&& value) {
49 m_nextPageTokenHasBeenSet = true;
50 m_nextPageToken = std::forward<NextPageTokenT>(value);
51 }
52 template <typename NextPageTokenT = Aws::String>
53 ListDomainsRequest& WithNextPageToken(NextPageTokenT&& value) {
54 SetNextPageToken(std::forward<NextPageTokenT>(value));
55 return *this;
56 }
58
60
63 inline RegistrationStatus GetRegistrationStatus() const { return m_registrationStatus; }
64 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
66 m_registrationStatusHasBeenSet = true;
67 m_registrationStatus = value;
68 }
71 return *this;
72 }
74
76
80 inline int GetMaximumPageSize() const { return m_maximumPageSize; }
81 inline bool MaximumPageSizeHasBeenSet() const { return m_maximumPageSizeHasBeenSet; }
82 inline void SetMaximumPageSize(int value) {
83 m_maximumPageSizeHasBeenSet = true;
84 m_maximumPageSize = value;
85 }
87 SetMaximumPageSize(value);
88 return *this;
89 }
91
93
98 inline bool GetReverseOrder() const { return m_reverseOrder; }
99 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
100 inline void SetReverseOrder(bool value) {
101 m_reverseOrderHasBeenSet = true;
102 m_reverseOrder = value;
103 }
105 SetReverseOrder(value);
106 return *this;
107 }
109 private:
110 Aws::String m_nextPageToken;
111
113
114 int m_maximumPageSize{0};
115
116 bool m_reverseOrder{false};
117 bool m_nextPageTokenHasBeenSet = false;
118 bool m_registrationStatusHasBeenSet = false;
119 bool m_maximumPageSizeHasBeenSet = false;
120 bool m_reverseOrderHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SWF
125} // namespace Aws
RegistrationStatus GetRegistrationStatus() const
const Aws::String & GetNextPageToken() const
void SetRegistrationStatus(RegistrationStatus value)
AWS_SWF_API ListDomainsRequest()=default
ListDomainsRequest & WithRegistrationStatus(RegistrationStatus value)
ListDomainsRequest & WithNextPageToken(NextPageTokenT &&value)
ListDomainsRequest & WithMaximumPageSize(int value)
AWS_SWF_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetNextPageToken(NextPageTokenT &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDomainsRequest & WithReverseOrder(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String