AWS SDK for C++  1.9.104
AWS SDK for C++
RemoveTagsFromVaultRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glacier
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "RemoveTagsFromVault"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
56  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
57 
65  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
66 
74  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
75 
83  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
84 
92  inline RemoveTagsFromVaultRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
93 
101  inline RemoveTagsFromVaultRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
102 
110  inline RemoveTagsFromVaultRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
111 
112 
116  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
117 
121  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
122 
126  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
127 
131  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
132 
136  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
137 
141  inline RemoveTagsFromVaultRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
142 
146  inline RemoveTagsFromVaultRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
147 
151  inline RemoveTagsFromVaultRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
152 
153 
157  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
158 
162  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
163 
167  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
168 
172  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
173 
177  inline RemoveTagsFromVaultRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
178 
182  inline RemoveTagsFromVaultRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
183 
187  inline RemoveTagsFromVaultRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
188 
192  inline RemoveTagsFromVaultRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
193 
197  inline RemoveTagsFromVaultRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
198 
199  private:
200 
201  Aws::String m_accountId;
202  bool m_accountIdHasBeenSet;
203 
204  Aws::String m_vaultName;
205  bool m_vaultNameHasBeenSet;
206 
207  Aws::Vector<Aws::String> m_tagKeys;
208  bool m_tagKeysHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace Glacier
213 } // namespace Aws
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetVaultName
void SetVaultName(const char *value)
Definition: RemoveTagsFromVaultRequest.h:136
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithAccountId
RemoveTagsFromVaultRequest & WithAccountId(Aws::String &&value)
Definition: RemoveTagsFromVaultRequest.h:101
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithVaultName
RemoveTagsFromVaultRequest & WithVaultName(Aws::String &&value)
Definition: RemoveTagsFromVaultRequest.h:146
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithVaultName
RemoveTagsFromVaultRequest & WithVaultName(const char *value)
Definition: RemoveTagsFromVaultRequest.h:151
Aws::Glacier::Model::RemoveTagsFromVaultRequest::AddTagKeys
RemoveTagsFromVaultRequest & AddTagKeys(Aws::String &&value)
Definition: RemoveTagsFromVaultRequest.h:192
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: RemoveTagsFromVaultRequest.h:126
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithVaultName
RemoveTagsFromVaultRequest & WithVaultName(const Aws::String &value)
Definition: RemoveTagsFromVaultRequest.h:141
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::Glacier::Model::RemoveTagsFromVaultRequest::AddTagKeys
RemoveTagsFromVaultRequest & AddTagKeys(const char *value)
Definition: RemoveTagsFromVaultRequest.h:197
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithTagKeys
RemoveTagsFromVaultRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromVaultRequest.h:177
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: RemoveTagsFromVaultRequest.h:74
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithAccountId
RemoveTagsFromVaultRequest & WithAccountId(const char *value)
Definition: RemoveTagsFromVaultRequest.h:110
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::RemoveTagsFromVaultRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: RemoveTagsFromVaultRequest.h:121
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromVaultRequest.h:167
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromVaultRequest.h:172
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: RemoveTagsFromVaultRequest.h:131
Aws::Glacier::Model::RemoveTagsFromVaultRequest::AddTagKeys
RemoveTagsFromVaultRequest & AddTagKeys(const Aws::String &value)
Definition: RemoveTagsFromVaultRequest.h:187
Aws::Glacier::Model::RemoveTagsFromVaultRequest
Definition: RemoveTagsFromVaultRequest.h:27
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithAccountId
RemoveTagsFromVaultRequest & WithAccountId(const Aws::String &value)
Definition: RemoveTagsFromVaultRequest.h:92
Aws::Glacier::Model::RemoveTagsFromVaultRequest::WithTagKeys
RemoveTagsFromVaultRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromVaultRequest.h:182
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: RemoveTagsFromVaultRequest.h:65
Aws::Glacier::Model::RemoveTagsFromVaultRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsFromVaultRequest.h:35
Aws::Glacier::Model::RemoveTagsFromVaultRequest::SetAccountId
void SetAccountId(const char *value)
Definition: RemoveTagsFromVaultRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::RemoveTagsFromVaultRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: RemoveTagsFromVaultRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::RemoveTagsFromVaultRequest::RemoveTagsFromVaultRequest
RemoveTagsFromVaultRequest()
Aws::Glacier::Model::RemoveTagsFromVaultRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: RemoveTagsFromVaultRequest.h:47
Aws::Glacier::Model::RemoveTagsFromVaultRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: RemoveTagsFromVaultRequest.h:162
Aws::Glacier::Model::RemoveTagsFromVaultRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: RemoveTagsFromVaultRequest.h:56
Aws::Glacier::Model::RemoveTagsFromVaultRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: RemoveTagsFromVaultRequest.h:157
Glacier_EXPORTS.h