AWS SDK for C++  1.9.126
AWS SDK for C++
ListAutomaticTapeCreationPoliciesResult.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 StorageGateway
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::Vector<AutomaticTapeCreationPolicyInfo>& GetAutomaticTapeCreationPolicyInfos() const{ return m_automaticTapeCreationPolicyInfos; }
42 
48  inline void SetAutomaticTapeCreationPolicyInfos(const Aws::Vector<AutomaticTapeCreationPolicyInfo>& value) { m_automaticTapeCreationPolicyInfos = value; }
49 
55  inline void SetAutomaticTapeCreationPolicyInfos(Aws::Vector<AutomaticTapeCreationPolicyInfo>&& value) { m_automaticTapeCreationPolicyInfos = std::move(value); }
56 
62  inline ListAutomaticTapeCreationPoliciesResult& WithAutomaticTapeCreationPolicyInfos(const Aws::Vector<AutomaticTapeCreationPolicyInfo>& value) { SetAutomaticTapeCreationPolicyInfos(value); return *this;}
63 
69  inline ListAutomaticTapeCreationPoliciesResult& WithAutomaticTapeCreationPolicyInfos(Aws::Vector<AutomaticTapeCreationPolicyInfo>&& value) { SetAutomaticTapeCreationPolicyInfos(std::move(value)); return *this;}
70 
76  inline ListAutomaticTapeCreationPoliciesResult& AddAutomaticTapeCreationPolicyInfos(const AutomaticTapeCreationPolicyInfo& value) { m_automaticTapeCreationPolicyInfos.push_back(value); return *this; }
77 
83  inline ListAutomaticTapeCreationPoliciesResult& AddAutomaticTapeCreationPolicyInfos(AutomaticTapeCreationPolicyInfo&& value) { m_automaticTapeCreationPolicyInfos.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<AutomaticTapeCreationPolicyInfo> m_automaticTapeCreationPolicyInfos;
88  };
89 
90 } // namespace Model
91 } // namespace StorageGateway
92 } // namespace Aws
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::ListAutomaticTapeCreationPoliciesResult
ListAutomaticTapeCreationPoliciesResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::AutomaticTapeCreationPolicyInfo
Definition: AutomaticTapeCreationPolicyInfo.h:36
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::WithAutomaticTapeCreationPolicyInfos
ListAutomaticTapeCreationPoliciesResult & WithAutomaticTapeCreationPolicyInfos(Aws::Vector< AutomaticTapeCreationPolicyInfo > &&value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::WithAutomaticTapeCreationPolicyInfos
ListAutomaticTapeCreationPoliciesResult & WithAutomaticTapeCreationPolicyInfos(const Aws::Vector< AutomaticTapeCreationPolicyInfo > &value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:62
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::AddAutomaticTapeCreationPolicyInfos
ListAutomaticTapeCreationPoliciesResult & AddAutomaticTapeCreationPolicyInfos(AutomaticTapeCreationPolicyInfo &&value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:83
AutomaticTapeCreationPolicyInfo.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::operator=
ListAutomaticTapeCreationPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::ListAutomaticTapeCreationPoliciesResult
ListAutomaticTapeCreationPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult
Definition: ListAutomaticTapeCreationPoliciesResult.h:29
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::AddAutomaticTapeCreationPolicyInfos
ListAutomaticTapeCreationPoliciesResult & AddAutomaticTapeCreationPolicyInfos(const AutomaticTapeCreationPolicyInfo &value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:76
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::GetAutomaticTapeCreationPolicyInfos
const Aws::Vector< AutomaticTapeCreationPolicyInfo > & GetAutomaticTapeCreationPolicyInfos() const
Definition: ListAutomaticTapeCreationPoliciesResult.h:41
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::SetAutomaticTapeCreationPolicyInfos
void SetAutomaticTapeCreationPolicyInfos(Aws::Vector< AutomaticTapeCreationPolicyInfo > &&value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:55
Aws::StorageGateway::Model::ListAutomaticTapeCreationPoliciesResult::SetAutomaticTapeCreationPolicyInfos
void SetAutomaticTapeCreationPolicyInfos(const Aws::Vector< AutomaticTapeCreationPolicyInfo > &value)
Definition: ListAutomaticTapeCreationPoliciesResult.h:48