AWS SDK for C++  1.8.71
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
ListVPCAssociationAuthorizationsRequest & WithMaxResults(const Aws::String &value)
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(const char *value)
#define AWS_ROUTE53_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListVPCAssociationAuthorizationsRequest & WithMaxResults(const char *value)
ListVPCAssociationAuthorizationsRequest & WithNextToken(const Aws::String &value)
ListVPCAssociationAuthorizationsRequest & WithNextToken(Aws::String &&value)
ListVPCAssociationAuthorizationsRequest & WithNextToken(const char *value)
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(Aws::String &&value)
ListVPCAssociationAuthorizationsRequest & WithMaxResults(Aws::String &&value)
ListVPCAssociationAuthorizationsRequest & WithHostedZoneId(const Aws::String &value)