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