AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
52 inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
53 inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
54 inline ListDomainsRequest& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
55 inline ListDomainsRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
56 inline ListDomainsRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
58
60
63 inline const RegistrationStatus& GetRegistrationStatus() const{ return m_registrationStatus; }
64 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
65 inline void SetRegistrationStatus(const RegistrationStatus& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = value; }
66 inline void SetRegistrationStatus(RegistrationStatus&& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = std::move(value); }
68 inline ListDomainsRequest& WithRegistrationStatus(RegistrationStatus&& value) { SetRegistrationStatus(std::move(value)); return *this;}
70
72
76 inline int GetMaximumPageSize() const{ return m_maximumPageSize; }
77 inline bool MaximumPageSizeHasBeenSet() const { return m_maximumPageSizeHasBeenSet; }
78 inline void SetMaximumPageSize(int value) { m_maximumPageSizeHasBeenSet = true; m_maximumPageSize = value; }
79 inline ListDomainsRequest& WithMaximumPageSize(int value) { SetMaximumPageSize(value); return *this;}
81
83
88 inline bool GetReverseOrder() const{ return m_reverseOrder; }
89 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
90 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
91 inline ListDomainsRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
93 private:
94
95 Aws::String m_nextPageToken;
96 bool m_nextPageTokenHasBeenSet = false;
97
98 RegistrationStatus m_registrationStatus;
99 bool m_registrationStatusHasBeenSet = false;
100
101 int m_maximumPageSize;
102 bool m_maximumPageSizeHasBeenSet = false;
103
104 bool m_reverseOrder;
105 bool m_reverseOrderHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SWF
110} // namespace Aws
void SetRegistrationStatus(RegistrationStatus &&value)
const Aws::String & GetNextPageToken() const
ListDomainsRequest & WithNextPageToken(const Aws::String &value)
const RegistrationStatus & GetRegistrationStatus() const
void SetNextPageToken(const Aws::String &value)
void SetNextPageToken(const char *value)
ListDomainsRequest & WithRegistrationStatus(RegistrationStatus &&value)
void SetRegistrationStatus(const RegistrationStatus &value)
ListDomainsRequest & WithMaximumPageSize(int value)
AWS_SWF_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListDomainsRequest & WithRegistrationStatus(const RegistrationStatus &value)
void SetNextPageToken(Aws::String &&value)
ListDomainsRequest & WithNextPageToken(Aws::String &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDomainsRequest & WithNextPageToken(const char *value)
ListDomainsRequest & WithReverseOrder(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String