AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDomainsRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/RegistrationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SWF
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SWF_API ListDomainsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
32
33 AWS_SWF_API Aws::String SerializePayload() const override;
34
36
37
39
49 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
50 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
51 template<typename NextPageTokenT = Aws::String>
52 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
53 template<typename NextPageTokenT = Aws::String>
54 ListDomainsRequest& WithNextPageToken(NextPageTokenT&& value) { SetNextPageToken(std::forward<NextPageTokenT>(value)); return *this;}
56
58
61 inline RegistrationStatus GetRegistrationStatus() const { return m_registrationStatus; }
62 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
63 inline void SetRegistrationStatus(RegistrationStatus value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = value; }
66
68
72 inline int GetMaximumPageSize() const { return m_maximumPageSize; }
73 inline bool MaximumPageSizeHasBeenSet() const { return m_maximumPageSizeHasBeenSet; }
74 inline void SetMaximumPageSize(int value) { m_maximumPageSizeHasBeenSet = true; m_maximumPageSize = value; }
75 inline ListDomainsRequest& WithMaximumPageSize(int value) { SetMaximumPageSize(value); return *this;}
77
79
84 inline bool GetReverseOrder() const { return m_reverseOrder; }
85 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
86 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
87 inline ListDomainsRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
89 private:
90
91 Aws::String m_nextPageToken;
92 bool m_nextPageTokenHasBeenSet = false;
93
95 bool m_registrationStatusHasBeenSet = false;
96
97 int m_maximumPageSize{0};
98 bool m_maximumPageSizeHasBeenSet = false;
99
100 bool m_reverseOrder{false};
101 bool m_reverseOrderHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SWF
106} // 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