AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
56 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
57 inline ListAccessPointsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
58 inline ListAccessPointsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
59 inline ListAccessPointsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
61
63
76 inline const Aws::String& GetBucket() const{ return m_bucket; }
77 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
78 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
79 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
80 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
81 inline ListAccessPointsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
82 inline ListAccessPointsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
83 inline ListAccessPointsRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
85
87
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
98 inline ListAccessPointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 inline ListAccessPointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline ListAccessPointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102
104
110 inline int GetMaxResults() const{ return m_maxResults; }
111 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
112 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
113 inline ListAccessPointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
115 private:
116
117 Aws::String m_accountId;
118 bool m_accountIdHasBeenSet = false;
119
120 Aws::String m_bucket;
121 bool m_bucketHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 int m_maxResults;
127 bool m_maxResultsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace S3Control
132} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListAccessPointsRequest & WithNextToken(const char *value)
ListAccessPointsRequest & WithMaxResults(int value)
ListAccessPointsRequest & WithBucket(Aws::String &&value)
ListAccessPointsRequest & WithAccountId(const Aws::String &value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
ListAccessPointsRequest & WithAccountId(Aws::String &&value)
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
ListAccessPointsRequest & WithAccountId(const char *value)
ListAccessPointsRequest & WithBucket(const char *value)
ListAccessPointsRequest & WithNextToken(const Aws::String &value)
ListAccessPointsRequest & WithBucket(const Aws::String &value)
ListAccessPointsRequest & WithNextToken(Aws::String &&value)
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