AWS SDK for C++  1.8.127
AWS SDK for C++
ListVPCAssociationAuthorizationsRequest.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 Route53
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 "ListVPCAssociationAuthorizations"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
50 
55  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
56 
61  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
62 
67  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
68 
73  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
74 
79  inline ListVPCAssociationAuthorizationsRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
80 
85  inline ListVPCAssociationAuthorizationsRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
86 
91  inline ListVPCAssociationAuthorizationsRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
92 
93 
101  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
102 
110  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 
119  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120 
128  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 
137  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
138 
146  inline ListVPCAssociationAuthorizationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
147 
155  inline ListVPCAssociationAuthorizationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
156 
164  inline ListVPCAssociationAuthorizationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
165 
166 
172  inline const Aws::String& GetMaxResults() const{ return m_maxResults; }
173 
179  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
180 
186  inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
187 
193  inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); }
194 
200  inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); }
201 
207  inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;}
208 
214  inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;}
215 
221  inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;}
222 
223  private:
224 
225  Aws::String m_hostedZoneId;
226  bool m_hostedZoneIdHasBeenSet;
227 
228  Aws::String m_nextToken;
229  bool m_nextTokenHasBeenSet;
230 
231  Aws::String m_maxResults;
232  bool m_maxResultsHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace Route53
237 } // namespace Aws
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest
Definition: ListVPCAssociationAuthorizationsRequest.h:30
Aws::Http::URI
Definition: URI.h:32
Aws::Route53::Route53Request
Definition: Route53Request.h:17
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:73
Route53Request.h
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListVPCAssociationAuthorizationsRequest.h:179
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetMaxResults
void SetMaxResults(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:200
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithNextToken
ListVPCAssociationAuthorizationsRequest & WithNextToken(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:155
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:128
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:61
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetMaxResults
void SetMaxResults(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:193
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVPCAssociationAuthorizationsRequest.h:101
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: ListVPCAssociationAuthorizationsRequest.h:49
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::GetMaxResults
const Aws::String & GetMaxResults() const
Definition: ListVPCAssociationAuthorizationsRequest.h:172
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithNextToken
ListVPCAssociationAuthorizationsRequest & WithNextToken(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:164
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:119
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithMaxResults
ListVPCAssociationAuthorizationsRequest & WithMaxResults(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:207
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::ListVPCAssociationAuthorizationsRequest
ListVPCAssociationAuthorizationsRequest()
AWSString.h
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithMaxResults
ListVPCAssociationAuthorizationsRequest & WithMaxResults(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:214
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithMaxResults
ListVPCAssociationAuthorizationsRequest & WithMaxResults(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:221
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithHostedZoneId
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:85
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListVPCAssociationAuthorizationsRequest.h:110
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVPCAssociationAuthorizationsRequest.h:38
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithNextToken
ListVPCAssociationAuthorizationsRequest & WithNextToken(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetMaxResults
void SetMaxResults(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:186
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:137
Route53_EXPORTS.h
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: ListVPCAssociationAuthorizationsRequest.h:67
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithHostedZoneId
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(const Aws::String &value)
Definition: ListVPCAssociationAuthorizationsRequest.h:79
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: ListVPCAssociationAuthorizationsRequest.h:55
Aws::Route53::Model::ListVPCAssociationAuthorizationsRequest::WithHostedZoneId
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(const char *value)
Definition: ListVPCAssociationAuthorizationsRequest.h:91
AWS_ROUTE53_API
#define AWS_ROUTE53_API
Definition: Route53_EXPORTS.h:28