AWS SDK for C++  1.9.97
AWS SDK for C++
ListDomainsForPackageRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticsearchService
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListDomainsForPackage"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetPackageID() const{ return m_packageID; }
49 
53  inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
54 
58  inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
59 
63  inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
64 
68  inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
69 
73  inline ListDomainsForPackageRequest& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
74 
78  inline ListDomainsForPackageRequest& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
79 
83  inline ListDomainsForPackageRequest& WithPackageID(const char* value) { SetPackageID(value); return *this;}
84 
85 
89  inline int GetMaxResults() const{ return m_maxResults; }
90 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
99  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 
104  inline ListDomainsForPackageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106 
111  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
112 
117  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 
123  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
124 
129  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
130 
135  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 
141  inline ListDomainsForPackageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
142 
147  inline ListDomainsForPackageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
148 
153  inline ListDomainsForPackageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
154 
155  private:
156 
157  Aws::String m_packageID;
158  bool m_packageIDHasBeenSet;
159 
160  int m_maxResults;
161  bool m_maxResultsHasBeenSet;
162 
163  Aws::String m_nextToken;
164  bool m_nextTokenHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace ElasticsearchService
169 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::GetPackageID
const Aws::String & GetPackageID() const
Definition: ListDomainsForPackageRequest.h:48
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainsForPackageRequest.h:111
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetPackageID
void SetPackageID(const char *value)
Definition: ListDomainsForPackageRequest.h:68
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithNextToken
ListDomainsForPackageRequest & WithNextToken(const char *value)
Definition: ListDomainsForPackageRequest.h:153
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest
Definition: ListDomainsForPackageRequest.h:30
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainsForPackageRequest.h:135
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithNextToken
ListDomainsForPackageRequest & WithNextToken(Aws::String &&value)
Definition: ListDomainsForPackageRequest.h:147
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetPackageID
void SetPackageID(const Aws::String &value)
Definition: ListDomainsForPackageRequest.h:58
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithNextToken
ListDomainsForPackageRequest & WithNextToken(const Aws::String &value)
Definition: ListDomainsForPackageRequest.h:141
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithPackageID
ListDomainsForPackageRequest & WithPackageID(const Aws::String &value)
Definition: ListDomainsForPackageRequest.h:73
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDomainsForPackageRequest.h:38
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::ListDomainsForPackageRequest
ListDomainsForPackageRequest()
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainsForPackageRequest.h:123
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDomainsForPackageRequest.h:89
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainsForPackageRequest.h:129
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetPackageID
void SetPackageID(Aws::String &&value)
Definition: ListDomainsForPackageRequest.h:63
AWSString.h
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::PackageIDHasBeenSet
bool PackageIDHasBeenSet() const
Definition: ListDomainsForPackageRequest.h:53
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithPackageID
ListDomainsForPackageRequest & WithPackageID(Aws::String &&value)
Definition: ListDomainsForPackageRequest.h:78
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithMaxResults
ListDomainsForPackageRequest & WithMaxResults(int value)
Definition: ListDomainsForPackageRequest.h:104
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDomainsForPackageRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::WithPackageID
ListDomainsForPackageRequest & WithPackageID(const char *value)
Definition: ListDomainsForPackageRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDomainsForPackageRequest.h:117
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::ListDomainsForPackageRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDomainsForPackageRequest.h:99