AWS SDK for C++  1.9.104
AWS SDK for C++
ListProvisionedCapacityRequest.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 
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 "ListProvisionedCapacity"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
42  inline const Aws::String& GetAccountId() const{ return m_accountId; }
43 
51  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 
60  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
61 
69  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
70 
78  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
79 
87  inline ListProvisionedCapacityRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
88 
96  inline ListProvisionedCapacityRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
97 
105  inline ListProvisionedCapacityRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
106 
107  private:
108 
109  Aws::String m_accountId;
110  bool m_accountIdHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace Glacier
115 } // namespace Aws
Aws::Glacier::Model::ListProvisionedCapacityRequest::WithAccountId
ListProvisionedCapacityRequest & WithAccountId(const char *value)
Definition: ListProvisionedCapacityRequest.h:105
Aws::Glacier::Model::ListProvisionedCapacityRequest
Definition: ListProvisionedCapacityRequest.h:22
Aws::Glacier::Model::ListProvisionedCapacityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::ListProvisionedCapacityRequest::ListProvisionedCapacityRequest
ListProvisionedCapacityRequest()
Aws::Glacier::Model::ListProvisionedCapacityRequest::WithAccountId
ListProvisionedCapacityRequest & WithAccountId(const Aws::String &value)
Definition: ListProvisionedCapacityRequest.h:87
Aws::Glacier::Model::ListProvisionedCapacityRequest::WithAccountId
ListProvisionedCapacityRequest & WithAccountId(Aws::String &&value)
Definition: ListProvisionedCapacityRequest.h:96
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListProvisionedCapacityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProvisionedCapacityRequest.h:30
Aws::Glacier::Model::ListProvisionedCapacityRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListProvisionedCapacityRequest.h:69
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::ListProvisionedCapacityRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListProvisionedCapacityRequest.h:60
Aws::Glacier::Model::ListProvisionedCapacityRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListProvisionedCapacityRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListProvisionedCapacityRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListProvisionedCapacityRequest.h:42
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListProvisionedCapacityRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListProvisionedCapacityRequest.h:51
Glacier_EXPORTS.h