AWS SDK for C++  1.8.127
AWS SDK for C++
ListRegionalBucketsRequest.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 S3Control
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListRegionalBuckets"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
41 
42 
46  inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 
51  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 
56  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
57 
61  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
62 
66  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
67 
71  inline ListRegionalBucketsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
72 
76  inline ListRegionalBucketsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
77 
81  inline ListRegionalBucketsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
92  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 
97  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 
102  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
103 
107  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
108 
112  inline ListRegionalBucketsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
117  inline ListRegionalBucketsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 
122  inline ListRegionalBucketsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
123 
124 
128  inline int GetMaxResults() const{ return m_maxResults; }
129 
133  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
134 
138  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 
143  inline ListRegionalBucketsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
144 
145 
150  inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
151 
156  inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
157 
162  inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
163 
168  inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
169 
174  inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
175 
180  inline ListRegionalBucketsRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
181 
186  inline ListRegionalBucketsRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
187 
192  inline ListRegionalBucketsRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
193 
194  private:
195 
196  Aws::String m_accountId;
197  bool m_accountIdHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201 
202  int m_maxResults;
203  bool m_maxResultsHasBeenSet;
204 
205  Aws::String m_outpostId;
206  bool m_outpostIdHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace S3Control
211 } // namespace Aws
Aws::S3Control::Model::ListRegionalBucketsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListRegionalBucketsRequest.h:133
Aws::S3Control::Model::ListRegionalBucketsRequest::WithOutpostId
ListRegionalBucketsRequest & WithOutpostId(const char *value)
Definition: ListRegionalBucketsRequest.h:192
Aws::Http::URI
Definition: URI.h:32
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::ListRegionalBucketsRequest::WithAccountId
ListRegionalBucketsRequest & WithAccountId(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:71
Aws::S3Control::Model::ListRegionalBucketsRequest::WithNextToken
ListRegionalBucketsRequest & WithNextToken(const char *value)
Definition: ListRegionalBucketsRequest.h:122
Aws::S3Control::Model::ListRegionalBucketsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::ListRegionalBucketsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRegionalBucketsRequest.h:87
Aws::S3Control::Model::ListRegionalBucketsRequest::WithMaxResults
ListRegionalBucketsRequest & WithMaxResults(int value)
Definition: ListRegionalBucketsRequest.h:143
Aws::S3Control::Model::ListRegionalBucketsRequest::GetOutpostId
const Aws::String & GetOutpostId() const
Definition: ListRegionalBucketsRequest.h:150
S3Control_EXPORTS.h
Aws::S3Control::Model::ListRegionalBucketsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:97
Aws::S3Control::Model::ListRegionalBucketsRequest
Definition: ListRegionalBucketsRequest.h:26
Aws::S3Control::Model::ListRegionalBucketsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:56
Aws::S3Control::Model::ListRegionalBucketsRequest::WithNextToken
ListRegionalBucketsRequest & WithNextToken(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:112
Aws::S3Control::Model::ListRegionalBucketsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:102
Aws::S3Control::Model::ListRegionalBucketsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRegionalBucketsRequest.h:34
Aws::S3Control::Model::ListRegionalBucketsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ListRegionalBucketsRequest::WithNextToken
ListRegionalBucketsRequest & WithNextToken(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:117
Aws::S3Control::Model::ListRegionalBucketsRequest::SetOutpostId
void SetOutpostId(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:162
Aws::S3Control::Model::ListRegionalBucketsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:61
AWSString.h
Aws::S3Control::Model::ListRegionalBucketsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListRegionalBucketsRequest.h:128
Aws::S3Control::Model::ListRegionalBucketsRequest::SetOutpostId
void SetOutpostId(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:168
Aws::S3Control::Model::ListRegionalBucketsRequest::WithOutpostId
ListRegionalBucketsRequest & WithOutpostId(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:186
Aws::S3Control::Model::ListRegionalBucketsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRegionalBucketsRequest.h:92
Aws::S3Control::Model::ListRegionalBucketsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListRegionalBucketsRequest.h:66
Aws::S3Control::Model::ListRegionalBucketsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListRegionalBucketsRequest.h:46
Aws::S3Control::Model::ListRegionalBucketsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListRegionalBucketsRequest.h:51
Aws::S3Control::Model::ListRegionalBucketsRequest::WithAccountId
ListRegionalBucketsRequest & WithAccountId(Aws::String &&value)
Definition: ListRegionalBucketsRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ListRegionalBucketsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRegionalBucketsRequest.h:107
Aws::S3Control::Model::ListRegionalBucketsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3Control::Model::ListRegionalBucketsRequest::WithAccountId
ListRegionalBucketsRequest & WithAccountId(const char *value)
Definition: ListRegionalBucketsRequest.h:81
Aws::S3Control::Model::ListRegionalBucketsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListRegionalBucketsRequest.h:138
Aws::S3Control::Model::ListRegionalBucketsRequest::OutpostIdHasBeenSet
bool OutpostIdHasBeenSet() const
Definition: ListRegionalBucketsRequest.h:156
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::ListRegionalBucketsRequest::ListRegionalBucketsRequest
ListRegionalBucketsRequest()
Aws::S3Control::Model::ListRegionalBucketsRequest::WithOutpostId
ListRegionalBucketsRequest & WithOutpostId(const Aws::String &value)
Definition: ListRegionalBucketsRequest.h:180
Aws::S3Control::Model::ListRegionalBucketsRequest::SetOutpostId
void SetOutpostId(const char *value)
Definition: ListRegionalBucketsRequest.h:174