AWS SDK for C++  1.9.107
AWS SDK for C++
ListDomainAssociationsRequest.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 Amplify
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 "ListDomainAssociations"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetAppId() const{ return m_appId; }
49 
53  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
54 
58  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
59 
63  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
64 
68  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
69 
73  inline ListDomainAssociationsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
74 
78  inline ListDomainAssociationsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
79 
83  inline ListDomainAssociationsRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
84 
85 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
98  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 
105  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
106 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
119  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
120 
126  inline ListDomainAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
133  inline ListDomainAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
140  inline ListDomainAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142 
146  inline int GetMaxResults() const{ return m_maxResults; }
147 
151  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
152 
156  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
157 
161  inline ListDomainAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
162 
163  private:
164 
165  Aws::String m_appId;
166  bool m_appIdHasBeenSet;
167 
168  Aws::String m_nextToken;
169  bool m_nextTokenHasBeenSet;
170 
171  int m_maxResults;
172  bool m_maxResultsHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Amplify
177 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::ListDomainAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::Amplify::Model::ListDomainAssociationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainAssociationsRequest.h:105
Aws::Amplify::Model::ListDomainAssociationsRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: ListDomainAssociationsRequest.h:53
Aws::Amplify::Model::ListDomainAssociationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Amplify::Model::ListDomainAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDomainAssociationsRequest.h:38
Aws::Amplify::Model::ListDomainAssociationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainAssociationsRequest.h:119
Aws::Amplify::Model::ListDomainAssociationsRequest::GetAppId
const Aws::String & GetAppId() const
Definition: ListDomainAssociationsRequest.h:48
Aws::Amplify::Model::ListDomainAssociationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDomainAssociationsRequest.h:146
AmplifyRequest.h
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::ListDomainAssociationsRequest::WithNextToken
ListDomainAssociationsRequest & WithNextToken(const Aws::String &value)
Definition: ListDomainAssociationsRequest.h:126
Aws::Amplify::Model::ListDomainAssociationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDomainAssociationsRequest.h:156
Aws::Amplify::Model::ListDomainAssociationsRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: ListDomainAssociationsRequest.h:58
Aws::Amplify::Model::ListDomainAssociationsRequest
Definition: ListDomainAssociationsRequest.h:30
AWSString.h
Aws::Amplify::Model::ListDomainAssociationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDomainAssociationsRequest.h:151
Aws::Amplify::Model::ListDomainAssociationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainAssociationsRequest.h:91
Aws::Amplify::Model::ListDomainAssociationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainAssociationsRequest.h:112
Aws::Amplify::Model::ListDomainAssociationsRequest::SetAppId
void SetAppId(const char *value)
Definition: ListDomainAssociationsRequest.h:68
Aws::Amplify::Model::ListDomainAssociationsRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: ListDomainAssociationsRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ListDomainAssociationsRequest::WithAppId
ListDomainAssociationsRequest & WithAppId(const char *value)
Definition: ListDomainAssociationsRequest.h:83
Aws::Amplify::Model::ListDomainAssociationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDomainAssociationsRequest.h:98
Aws::Amplify::Model::ListDomainAssociationsRequest::WithNextToken
ListDomainAssociationsRequest & WithNextToken(const char *value)
Definition: ListDomainAssociationsRequest.h:140
Aws::Amplify::Model::ListDomainAssociationsRequest::WithAppId
ListDomainAssociationsRequest & WithAppId(const Aws::String &value)
Definition: ListDomainAssociationsRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListDomainAssociationsRequest::WithMaxResults
ListDomainAssociationsRequest & WithMaxResults(int value)
Definition: ListDomainAssociationsRequest.h:161
Aws::Amplify::Model::ListDomainAssociationsRequest::ListDomainAssociationsRequest
ListDomainAssociationsRequest()
Aws::Amplify::Model::ListDomainAssociationsRequest::WithNextToken
ListDomainAssociationsRequest & WithNextToken(Aws::String &&value)
Definition: ListDomainAssociationsRequest.h:133
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::ListDomainAssociationsRequest::WithAppId
ListDomainAssociationsRequest & WithAppId(Aws::String &&value)
Definition: ListDomainAssociationsRequest.h:78