AWS SDK for C++  1.9.129
AWS SDK for C++
ListSecretVersionIdsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SecretsManager
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListSecretVersionIds"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetSecretId() const{ return m_secretId; }
44 
51  inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
52 
59  inline void SetSecretId(const Aws::String& value) { m_secretIdHasBeenSet = true; m_secretId = value; }
60 
67  inline void SetSecretId(Aws::String&& value) { m_secretIdHasBeenSet = true; m_secretId = std::move(value); }
68 
75  inline void SetSecretId(const char* value) { m_secretIdHasBeenSet = true; m_secretId.assign(value); }
76 
83  inline ListSecretVersionIdsRequest& WithSecretId(const Aws::String& value) { SetSecretId(value); return *this;}
84 
91  inline ListSecretVersionIdsRequest& WithSecretId(Aws::String&& value) { SetSecretId(std::move(value)); return *this;}
92 
99  inline ListSecretVersionIdsRequest& WithSecretId(const char* value) { SetSecretId(value); return *this;}
100 
101 
113  inline int GetMaxResults() const{ return m_maxResults; }
114 
126  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
127 
139  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
140 
152  inline ListSecretVersionIdsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
153 
154 
162  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
163 
171  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
172 
180  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
181 
189  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
190 
198  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
199 
207  inline ListSecretVersionIdsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
208 
216  inline ListSecretVersionIdsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
217 
225  inline ListSecretVersionIdsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
226 
227 
233  inline bool GetIncludeDeprecated() const{ return m_includeDeprecated; }
234 
240  inline bool IncludeDeprecatedHasBeenSet() const { return m_includeDeprecatedHasBeenSet; }
241 
247  inline void SetIncludeDeprecated(bool value) { m_includeDeprecatedHasBeenSet = true; m_includeDeprecated = value; }
248 
254  inline ListSecretVersionIdsRequest& WithIncludeDeprecated(bool value) { SetIncludeDeprecated(value); return *this;}
255 
256  private:
257 
258  Aws::String m_secretId;
259  bool m_secretIdHasBeenSet;
260 
261  int m_maxResults;
262  bool m_maxResultsHasBeenSet;
263 
264  Aws::String m_nextToken;
265  bool m_nextTokenHasBeenSet;
266 
267  bool m_includeDeprecated;
268  bool m_includeDeprecatedHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace SecretsManager
273 } // namespace Aws
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSecretVersionIdsRequest.h:113
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::ListSecretVersionIdsRequest
ListSecretVersionIdsRequest()
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSecretVersionIdsRequest.h:189
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithIncludeDeprecated
ListSecretVersionIdsRequest & WithIncludeDeprecated(bool value)
Definition: ListSecretVersionIdsRequest.h:254
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithNextToken
ListSecretVersionIdsRequest & WithNextToken(const char *value)
Definition: ListSecretVersionIdsRequest.h:225
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSecretVersionIdsRequest.h:198
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetSecretId
void SetSecretId(Aws::String &&value)
Definition: ListSecretVersionIdsRequest.h:67
Aws::SecretsManager::Model::ListSecretVersionIdsRequest
Definition: ListSecretVersionIdsRequest.h:22
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSecretVersionIdsRequest.h:162
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSecretVersionIdsRequest.h:180
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithMaxResults
ListSecretVersionIdsRequest & WithMaxResults(int value)
Definition: ListSecretVersionIdsRequest.h:152
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSecretVersionIdsRequest.h:139
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetIncludeDeprecated
void SetIncludeDeprecated(bool value)
Definition: ListSecretVersionIdsRequest.h:247
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSecretVersionIdsRequest.h:126
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSecretVersionIdsRequest.h:30
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SecretIdHasBeenSet
bool SecretIdHasBeenSet() const
Definition: ListSecretVersionIdsRequest.h:51
AWSString.h
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetSecretId
const Aws::String & GetSecretId() const
Definition: ListSecretVersionIdsRequest.h:43
AWS_SECRETSMANAGER_API
#define AWS_SECRETSMANAGER_API
Definition: SecretsManager_EXPORTS.h:28
Aws::SecretsManager::SecretsManagerRequest
Definition: SecretsManagerRequest.h:17
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithNextToken
ListSecretVersionIdsRequest & WithNextToken(Aws::String &&value)
Definition: ListSecretVersionIdsRequest.h:216
Aws
Definition: AccessManagementClient.h:15
SecretsManagerRequest.h
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSecretVersionIdsRequest.h:171
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithNextToken
ListSecretVersionIdsRequest & WithNextToken(const Aws::String &value)
Definition: ListSecretVersionIdsRequest.h:207
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetSecretId
void SetSecretId(const Aws::String &value)
Definition: ListSecretVersionIdsRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithSecretId
ListSecretVersionIdsRequest & WithSecretId(const char *value)
Definition: ListSecretVersionIdsRequest.h:99
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithSecretId
ListSecretVersionIdsRequest & WithSecretId(const Aws::String &value)
Definition: ListSecretVersionIdsRequest.h:83
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::WithSecretId
ListSecretVersionIdsRequest & WithSecretId(Aws::String &&value)
Definition: ListSecretVersionIdsRequest.h:91
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SetSecretId
void SetSecretId(const char *value)
Definition: ListSecretVersionIdsRequest.h:75
SecretsManager_EXPORTS.h
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::GetIncludeDeprecated
bool GetIncludeDeprecated() const
Definition: ListSecretVersionIdsRequest.h:233
Aws::SecretsManager::Model::ListSecretVersionIdsRequest::IncludeDeprecatedHasBeenSet
bool IncludeDeprecatedHasBeenSet() const
Definition: ListSecretVersionIdsRequest.h:240