AWS SDK for C++  1.8.182
AWS SDK for C++
ListStorageLensConfigurationsRequest.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 "ListStorageLensConfigurations"; }
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 ListStorageLensConfigurationsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
72 
76  inline ListStorageLensConfigurationsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
77 
81  inline ListStorageLensConfigurationsRequest& 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 ListStorageLensConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
117  inline ListStorageLensConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 
122  inline ListStorageLensConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
123 
124  private:
125 
126  Aws::String m_accountId;
127  bool m_accountIdHasBeenSet;
128 
129  Aws::String m_nextToken;
130  bool m_nextTokenHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace S3Control
135 } // namespace Aws
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::ListStorageLensConfigurationsRequest
ListStorageLensConfigurationsRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStorageLensConfigurationsRequest.h:34
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListStorageLensConfigurationsRequest.h:66
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListStorageLensConfigurationsRequest.h:46
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithAccountId
ListStorageLensConfigurationsRequest & WithAccountId(const Aws::String &value)
Definition: ListStorageLensConfigurationsRequest.h:71
S3Control_EXPORTS.h
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStorageLensConfigurationsRequest.h:97
Aws::S3Control::Model::ListStorageLensConfigurationsRequest
Definition: ListStorageLensConfigurationsRequest.h:26
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStorageLensConfigurationsRequest.h:87
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListStorageLensConfigurationsRequest.h:107
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListStorageLensConfigurationsRequest.h:51
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListStorageLensConfigurationsRequest.h:56
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStorageLensConfigurationsRequest.h:102
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithNextToken
ListStorageLensConfigurationsRequest & WithNextToken(const char *value)
Definition: ListStorageLensConfigurationsRequest.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithAccountId
ListStorageLensConfigurationsRequest & WithAccountId(const char *value)
Definition: ListStorageLensConfigurationsRequest.h:81
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListStorageLensConfigurationsRequest.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListStorageLensConfigurationsRequest.h:61
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithAccountId
ListStorageLensConfigurationsRequest & WithAccountId(Aws::String &&value)
Definition: ListStorageLensConfigurationsRequest.h:76
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithNextToken
ListStorageLensConfigurationsRequest & WithNextToken(Aws::String &&value)
Definition: ListStorageLensConfigurationsRequest.h:117
Aws::S3Control::Model::ListStorageLensConfigurationsRequest::WithNextToken
ListStorageLensConfigurationsRequest & WithNextToken(const Aws::String &value)
Definition: ListStorageLensConfigurationsRequest.h:112