AWS SDK for C++  1.9.104
AWS SDK for C++
ListProvisionedCapacityResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Glacier
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<ProvisionedCapacityDescription>& GetProvisionedCapacityList() const{ return m_provisionedCapacityList; }
40 
44  inline void SetProvisionedCapacityList(const Aws::Vector<ProvisionedCapacityDescription>& value) { m_provisionedCapacityList = value; }
45 
49  inline void SetProvisionedCapacityList(Aws::Vector<ProvisionedCapacityDescription>&& value) { m_provisionedCapacityList = std::move(value); }
50 
54  inline ListProvisionedCapacityResult& WithProvisionedCapacityList(const Aws::Vector<ProvisionedCapacityDescription>& value) { SetProvisionedCapacityList(value); return *this;}
55 
59  inline ListProvisionedCapacityResult& WithProvisionedCapacityList(Aws::Vector<ProvisionedCapacityDescription>&& value) { SetProvisionedCapacityList(std::move(value)); return *this;}
60 
64  inline ListProvisionedCapacityResult& AddProvisionedCapacityList(const ProvisionedCapacityDescription& value) { m_provisionedCapacityList.push_back(value); return *this; }
65 
69  inline ListProvisionedCapacityResult& AddProvisionedCapacityList(ProvisionedCapacityDescription&& value) { m_provisionedCapacityList.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<ProvisionedCapacityDescription> m_provisionedCapacityList;
74  };
75 
76 } // namespace Model
77 } // namespace Glacier
78 } // namespace Aws
Aws::Glacier::Model::ListProvisionedCapacityResult::WithProvisionedCapacityList
ListProvisionedCapacityResult & WithProvisionedCapacityList(const Aws::Vector< ProvisionedCapacityDescription > &value)
Definition: ListProvisionedCapacityResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListProvisionedCapacityResult::SetProvisionedCapacityList
void SetProvisionedCapacityList(Aws::Vector< ProvisionedCapacityDescription > &&value)
Definition: ListProvisionedCapacityResult.h:49
ProvisionedCapacityDescription.h
Aws::Glacier::Model::ListProvisionedCapacityResult::AddProvisionedCapacityList
ListProvisionedCapacityResult & AddProvisionedCapacityList(const ProvisionedCapacityDescription &value)
Definition: ListProvisionedCapacityResult.h:64
Aws::Glacier::Model::ListProvisionedCapacityResult::SetProvisionedCapacityList
void SetProvisionedCapacityList(const Aws::Vector< ProvisionedCapacityDescription > &value)
Definition: ListProvisionedCapacityResult.h:44
Aws::Glacier::Model::ListProvisionedCapacityResult::GetProvisionedCapacityList
const Aws::Vector< ProvisionedCapacityDescription > & GetProvisionedCapacityList() const
Definition: ListProvisionedCapacityResult.h:39
Aws::Glacier::Model::ListProvisionedCapacityResult::ListProvisionedCapacityResult
ListProvisionedCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListProvisionedCapacityResult
Definition: ListProvisionedCapacityResult.h:29
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Glacier::Model::ListProvisionedCapacityResult::ListProvisionedCapacityResult
ListProvisionedCapacityResult()
Aws::Glacier::Model::ProvisionedCapacityDescription
Definition: ProvisionedCapacityDescription.h:32
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListProvisionedCapacityResult::AddProvisionedCapacityList
ListProvisionedCapacityResult & AddProvisionedCapacityList(ProvisionedCapacityDescription &&value)
Definition: ListProvisionedCapacityResult.h:69
Aws::Glacier::Model::ListProvisionedCapacityResult::operator=
ListProvisionedCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListProvisionedCapacityResult::WithProvisionedCapacityList
ListProvisionedCapacityResult & WithProvisionedCapacityList(Aws::Vector< ProvisionedCapacityDescription > &&value)
Definition: ListProvisionedCapacityResult.h:59
Glacier_EXPORTS.h