AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRegionalBucketsRequest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace S3Control
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_S3CONTROL_API ListRegionalBucketsRequest();
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_S3CONTROL_API Aws::String SerializePayload() const override;
37
38 AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
45 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
46
48
51 inline const Aws::String& GetAccountId() const{ return m_accountId; }
52 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
55 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
56 inline ListRegionalBucketsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
57 inline ListRegionalBucketsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
58 inline ListRegionalBucketsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
60
62
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
68 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
69 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
70 inline ListRegionalBucketsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 inline ListRegionalBucketsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 inline ListRegionalBucketsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
74
76
79 inline int GetMaxResults() const{ return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListRegionalBucketsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
90 inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
91 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
92 inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
93 inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
94 inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
95 inline ListRegionalBucketsRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
96 inline ListRegionalBucketsRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
97 inline ListRegionalBucketsRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
99 private:
100
101 Aws::String m_accountId;
102 bool m_accountIdHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 int m_maxResults;
108 bool m_maxResultsHasBeenSet = false;
109
110 Aws::String m_outpostId;
111 bool m_outpostIdHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace S3Control
116} // namespace Aws
ListRegionalBucketsRequest & WithNextToken(Aws::String &&value)
ListRegionalBucketsRequest & WithNextToken(const char *value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRegionalBucketsRequest & WithAccountId(const char *value)
virtual const char * GetServiceRequestName() const override
ListRegionalBucketsRequest & WithOutpostId(const char *value)
ListRegionalBucketsRequest & WithNextToken(const Aws::String &value)
ListRegionalBucketsRequest & WithOutpostId(const Aws::String &value)
ListRegionalBucketsRequest & WithMaxResults(int value)
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRegionalBucketsRequest & WithAccountId(const Aws::String &value)
ListRegionalBucketsRequest & WithOutpostId(Aws::String &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
ListRegionalBucketsRequest & WithAccountId(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String