AWS SDK for C++  1.9.104
AWS SDK for C++
ListTagsForVaultRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glacier
15 {
16 namespace Model
17 {
18 
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 "ListTagsForVault"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
46  inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 
55  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
56 
64  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
65 
73  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
74 
82  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
83 
91  inline ListTagsForVaultRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
92 
100  inline ListTagsForVaultRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
101 
109  inline ListTagsForVaultRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
110 
111 
115  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
116 
120  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
121 
125  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
126 
130  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
131 
135  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
136 
140  inline ListTagsForVaultRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
141 
145  inline ListTagsForVaultRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
146 
150  inline ListTagsForVaultRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
151 
152  private:
153 
154  Aws::String m_accountId;
155  bool m_accountIdHasBeenSet;
156 
157  Aws::String m_vaultName;
158  bool m_vaultNameHasBeenSet;
159  };
160 
161 } // namespace Model
162 } // namespace Glacier
163 } // namespace Aws
Aws::Glacier::Model::ListTagsForVaultRequest::WithAccountId
ListTagsForVaultRequest & WithAccountId(Aws::String &&value)
Definition: ListTagsForVaultRequest.h:100
Aws::Glacier::Model::ListTagsForVaultRequest::WithVaultName
ListTagsForVaultRequest & WithVaultName(const char *value)
Definition: ListTagsForVaultRequest.h:150
Aws::Glacier::Model::ListTagsForVaultRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: ListTagsForVaultRequest.h:130
Aws::Glacier::Model::ListTagsForVaultRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListTagsForVaultRequest.h:64
Aws::Glacier::Model::ListTagsForVaultRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: ListTagsForVaultRequest.h:120
Aws::Glacier::Model::ListTagsForVaultRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListTagsForVaultRequest.h:55
Aws::Glacier::Model::ListTagsForVaultRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::ListTagsForVaultRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListTagsForVaultRequest.h:82
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListTagsForVaultRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: ListTagsForVaultRequest.h:115
Aws::Glacier::Model::ListTagsForVaultRequest::WithAccountId
ListTagsForVaultRequest & WithAccountId(const char *value)
Definition: ListTagsForVaultRequest.h:109
Aws::Glacier::Model::ListTagsForVaultRequest::WithVaultName
ListTagsForVaultRequest & WithVaultName(Aws::String &&value)
Definition: ListTagsForVaultRequest.h:145
Aws::Glacier::Model::ListTagsForVaultRequest::ListTagsForVaultRequest
ListTagsForVaultRequest()
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::ListTagsForVaultRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListTagsForVaultRequest.h:46
Aws::Glacier::Model::ListTagsForVaultRequest::WithAccountId
ListTagsForVaultRequest & WithAccountId(const Aws::String &value)
Definition: ListTagsForVaultRequest.h:91
Aws::Glacier::Model::ListTagsForVaultRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: ListTagsForVaultRequest.h:125
Aws::Glacier::Model::ListTagsForVaultRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListTagsForVaultRequest.h:73
Aws::Glacier::Model::ListTagsForVaultRequest::SetVaultName
void SetVaultName(const char *value)
Definition: ListTagsForVaultRequest.h:135
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListTagsForVaultRequest
Definition: ListTagsForVaultRequest.h:26
Aws::Glacier::Model::ListTagsForVaultRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForVaultRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListTagsForVaultRequest::WithVaultName
ListTagsForVaultRequest & WithVaultName(const Aws::String &value)
Definition: ListTagsForVaultRequest.h:140
Glacier_EXPORTS.h