AWS SDK for C++  1.9.104
AWS SDK for C++
ListDomainsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SimpleDB
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline int GetMaxNumberOfDomains() const{ return m_maxNumberOfDomains; }
44 
49  inline bool MaxNumberOfDomainsHasBeenSet() const { return m_maxNumberOfDomainsHasBeenSet; }
50 
55  inline void SetMaxNumberOfDomains(int value) { m_maxNumberOfDomainsHasBeenSet = true; m_maxNumberOfDomains = value; }
56 
61  inline ListDomainsRequest& WithMaxNumberOfDomains(int value) { SetMaxNumberOfDomains(value); return *this;}
62 
63 
67  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
68 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
77  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 
82  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
83 
87  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 
92  inline ListDomainsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 
97  inline ListDomainsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 
102  inline ListDomainsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
103 
104  private:
105 
106  int m_maxNumberOfDomains;
107  bool m_maxNumberOfDomainsHasBeenSet;
108 
109  Aws::String m_nextToken;
110  bool m_nextTokenHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace SimpleDB
115 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SimpleDB::Model::ListDomainsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SimpleDB::Model::ListDomainsRequest
Definition: ListDomainsRequest.h:22
Aws::SimpleDB::Model::ListDomainsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainsRequest.h:82
SimpleDBRequest.h
Aws::SimpleDB::Model::ListDomainsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainsRequest.h:67
Aws::SimpleDB::Model::ListDomainsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainsRequest.h:87
Aws::SimpleDB::Model::ListDomainsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDomainsRequest.h:72
Aws::SimpleDB::Model::ListDomainsRequest::WithNextToken
ListDomainsRequest & WithNextToken(Aws::String &&value)
Definition: ListDomainsRequest.h:97
Aws::SimpleDB::Model::ListDomainsRequest::WithNextToken
ListDomainsRequest & WithNextToken(const char *value)
Definition: ListDomainsRequest.h:102
Aws::SimpleDB::Model::ListDomainsRequest::WithMaxNumberOfDomains
ListDomainsRequest & WithMaxNumberOfDomains(int value)
Definition: ListDomainsRequest.h:61
Aws::SimpleDB::Model::ListDomainsRequest::MaxNumberOfDomainsHasBeenSet
bool MaxNumberOfDomainsHasBeenSet() const
Definition: ListDomainsRequest.h:49
Aws::SimpleDB::Model::ListDomainsRequest::GetMaxNumberOfDomains
int GetMaxNumberOfDomains() const
Definition: ListDomainsRequest.h:43
AWSString.h
Aws::SimpleDB::Model::ListDomainsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDomainsRequest.h:30
Aws::SimpleDB::Model::ListDomainsRequest::WithNextToken
ListDomainsRequest & WithNextToken(const Aws::String &value)
Definition: ListDomainsRequest.h:92
Aws::SimpleDB::Model::ListDomainsRequest::ListDomainsRequest
ListDomainsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::SimpleDB::Model::ListDomainsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainsRequest.h:77
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::ListDomainsRequest::SetMaxNumberOfDomains
void SetMaxNumberOfDomains(int value)
Definition: ListDomainsRequest.h:55
Aws::SimpleDB::SimpleDBRequest
Definition: SimpleDBRequest.h:17
Aws::SimpleDB::Model::ListDomainsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override