AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteVaultNotificationsRequest.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 "DeleteVaultNotifications"; }
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 DeleteVaultNotificationsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
92 
100  inline DeleteVaultNotificationsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
101 
109  inline DeleteVaultNotificationsRequest& 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 DeleteVaultNotificationsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
141 
145  inline DeleteVaultNotificationsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
146 
150  inline DeleteVaultNotificationsRequest& 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::DeleteVaultNotificationsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: DeleteVaultNotificationsRequest.h:64
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithAccountId
DeleteVaultNotificationsRequest & WithAccountId(const char *value)
Definition: DeleteVaultNotificationsRequest.h:109
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithAccountId
DeleteVaultNotificationsRequest & WithAccountId(const Aws::String &value)
Definition: DeleteVaultNotificationsRequest.h:91
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithVaultName
DeleteVaultNotificationsRequest & WithVaultName(const Aws::String &value)
Definition: DeleteVaultNotificationsRequest.h:140
Aws::Glacier::Model::DeleteVaultNotificationsRequest::DeleteVaultNotificationsRequest
DeleteVaultNotificationsRequest()
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithAccountId
DeleteVaultNotificationsRequest & WithAccountId(Aws::String &&value)
Definition: DeleteVaultNotificationsRequest.h:100
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::DeleteVaultNotificationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVaultNotificationsRequest.h:34
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::DeleteVaultNotificationsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: DeleteVaultNotificationsRequest.h:46
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: DeleteVaultNotificationsRequest.h:82
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: DeleteVaultNotificationsRequest.h:130
AWSString.h
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithVaultName
DeleteVaultNotificationsRequest & WithVaultName(const char *value)
Definition: DeleteVaultNotificationsRequest.h:150
GlacierRequest.h
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SetVaultName
void SetVaultName(const char *value)
Definition: DeleteVaultNotificationsRequest.h:135
Aws::Glacier::Model::DeleteVaultNotificationsRequest::WithVaultName
DeleteVaultNotificationsRequest & WithVaultName(Aws::String &&value)
Definition: DeleteVaultNotificationsRequest.h:145
Aws::Glacier::Model::DeleteVaultNotificationsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: DeleteVaultNotificationsRequest.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::DeleteVaultNotificationsRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: DeleteVaultNotificationsRequest.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: DeleteVaultNotificationsRequest.h:125
Aws::Glacier::Model::DeleteVaultNotificationsRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: DeleteVaultNotificationsRequest.h:120
Aws::Glacier::Model::DeleteVaultNotificationsRequest
Definition: DeleteVaultNotificationsRequest.h:26
Aws::Glacier::Model::DeleteVaultNotificationsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: DeleteVaultNotificationsRequest.h:73
Glacier_EXPORTS.h