AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAccessPointsRequest.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 ListAccessPointsRequest() = default;
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 "ListAccessPoints"; }
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
52 inline const Aws::String& GetAccountId() const { return m_accountId; }
53 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
54 template<typename AccountIdT = Aws::String>
55 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
56 template<typename AccountIdT = Aws::String>
57 ListAccessPointsRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
59
61
74 inline const Aws::String& GetBucket() const { return m_bucket; }
75 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
76 template<typename BucketT = Aws::String>
77 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
78 template<typename BucketT = Aws::String>
79 ListAccessPointsRequest& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
81
83
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 ListAccessPointsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96
98
104 inline int GetMaxResults() const { return m_maxResults; }
105 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
106 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
107 inline ListAccessPointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
109
111
114 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
115 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
116 template<typename DataSourceIdT = Aws::String>
117 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
118 template<typename DataSourceIdT = Aws::String>
119 ListAccessPointsRequest& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
121
123
128 inline const Aws::String& GetDataSourceType() const { return m_dataSourceType; }
129 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
130 template<typename DataSourceTypeT = Aws::String>
131 void SetDataSourceType(DataSourceTypeT&& value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = std::forward<DataSourceTypeT>(value); }
132 template<typename DataSourceTypeT = Aws::String>
133 ListAccessPointsRequest& WithDataSourceType(DataSourceTypeT&& value) { SetDataSourceType(std::forward<DataSourceTypeT>(value)); return *this;}
135 private:
136
137 Aws::String m_accountId;
138 bool m_accountIdHasBeenSet = false;
139
140 Aws::String m_bucket;
141 bool m_bucketHasBeenSet = false;
142
143 Aws::String m_nextToken;
144 bool m_nextTokenHasBeenSet = false;
145
146 int m_maxResults{0};
147 bool m_maxResultsHasBeenSet = false;
148
149 Aws::String m_dataSourceId;
150 bool m_dataSourceIdHasBeenSet = false;
151
152 Aws::String m_dataSourceType;
153 bool m_dataSourceTypeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace S3Control
158} // namespace Aws
AWS_S3CONTROL_API ListAccessPointsRequest()=default
virtual const char * GetServiceRequestName() const override
ListAccessPointsRequest & WithMaxResults(int value)
ListAccessPointsRequest & WithDataSourceType(DataSourceTypeT &&value)
ListAccessPointsRequest & WithNextToken(NextTokenT &&value)
ListAccessPointsRequest & WithAccountId(AccountIdT &&value)
ListAccessPointsRequest & WithDataSourceId(DataSourceIdT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAccessPointsRequest & WithBucket(BucketT &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String