AWS SDK for C++  1.9.104
AWS SDK for C++
PurchaseProvisionedCapacityResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Glacier
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetCapacityId() const{ return m_capacityId; }
39 
43  inline void SetCapacityId(const Aws::String& value) { m_capacityId = value; }
44 
48  inline void SetCapacityId(Aws::String&& value) { m_capacityId = std::move(value); }
49 
53  inline void SetCapacityId(const char* value) { m_capacityId.assign(value); }
54 
58  inline PurchaseProvisionedCapacityResult& WithCapacityId(const Aws::String& value) { SetCapacityId(value); return *this;}
59 
63  inline PurchaseProvisionedCapacityResult& WithCapacityId(Aws::String&& value) { SetCapacityId(std::move(value)); return *this;}
64 
68  inline PurchaseProvisionedCapacityResult& WithCapacityId(const char* value) { SetCapacityId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_capacityId;
73  };
74 
75 } // namespace Model
76 } // namespace Glacier
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::PurchaseProvisionedCapacityResult
PurchaseProvisionedCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::SetCapacityId
void SetCapacityId(const char *value)
Definition: PurchaseProvisionedCapacityResult.h:53
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::WithCapacityId
PurchaseProvisionedCapacityResult & WithCapacityId(const Aws::String &value)
Definition: PurchaseProvisionedCapacityResult.h:58
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::GetCapacityId
const Aws::String & GetCapacityId() const
Definition: PurchaseProvisionedCapacityResult.h:38
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::SetCapacityId
void SetCapacityId(const Aws::String &value)
Definition: PurchaseProvisionedCapacityResult.h:43
Aws::Glacier::Model::PurchaseProvisionedCapacityResult
Definition: PurchaseProvisionedCapacityResult.h:28
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::WithCapacityId
PurchaseProvisionedCapacityResult & WithCapacityId(const char *value)
Definition: PurchaseProvisionedCapacityResult.h:68
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::SetCapacityId
void SetCapacityId(Aws::String &&value)
Definition: PurchaseProvisionedCapacityResult.h:48
AWSString.h
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::operator=
PurchaseProvisionedCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::PurchaseProvisionedCapacityResult
PurchaseProvisionedCapacityResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::PurchaseProvisionedCapacityResult::WithCapacityId
PurchaseProvisionedCapacityResult & WithCapacityId(Aws::String &&value)
Definition: PurchaseProvisionedCapacityResult.h:63
Glacier_EXPORTS.h