AWS SDK for C++  1.9.66
AWS SDK for C++
DeleteQueuedReservedInstancesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<SuccessfulQueuedPurchaseDeletion>& GetSuccessfulQueuedPurchaseDeletions() const{ return m_successfulQueuedPurchaseDeletions; }
42 
46  inline void SetSuccessfulQueuedPurchaseDeletions(const Aws::Vector<SuccessfulQueuedPurchaseDeletion>& value) { m_successfulQueuedPurchaseDeletions = value; }
47 
51  inline void SetSuccessfulQueuedPurchaseDeletions(Aws::Vector<SuccessfulQueuedPurchaseDeletion>&& value) { m_successfulQueuedPurchaseDeletions = std::move(value); }
52 
56  inline DeleteQueuedReservedInstancesResponse& WithSuccessfulQueuedPurchaseDeletions(const Aws::Vector<SuccessfulQueuedPurchaseDeletion>& value) { SetSuccessfulQueuedPurchaseDeletions(value); return *this;}
57 
61  inline DeleteQueuedReservedInstancesResponse& WithSuccessfulQueuedPurchaseDeletions(Aws::Vector<SuccessfulQueuedPurchaseDeletion>&& value) { SetSuccessfulQueuedPurchaseDeletions(std::move(value)); return *this;}
62 
66  inline DeleteQueuedReservedInstancesResponse& AddSuccessfulQueuedPurchaseDeletions(const SuccessfulQueuedPurchaseDeletion& value) { m_successfulQueuedPurchaseDeletions.push_back(value); return *this; }
67 
71  inline DeleteQueuedReservedInstancesResponse& AddSuccessfulQueuedPurchaseDeletions(SuccessfulQueuedPurchaseDeletion&& value) { m_successfulQueuedPurchaseDeletions.push_back(std::move(value)); return *this; }
72 
73 
77  inline const Aws::Vector<FailedQueuedPurchaseDeletion>& GetFailedQueuedPurchaseDeletions() const{ return m_failedQueuedPurchaseDeletions; }
78 
82  inline void SetFailedQueuedPurchaseDeletions(const Aws::Vector<FailedQueuedPurchaseDeletion>& value) { m_failedQueuedPurchaseDeletions = value; }
83 
87  inline void SetFailedQueuedPurchaseDeletions(Aws::Vector<FailedQueuedPurchaseDeletion>&& value) { m_failedQueuedPurchaseDeletions = std::move(value); }
88 
92  inline DeleteQueuedReservedInstancesResponse& WithFailedQueuedPurchaseDeletions(const Aws::Vector<FailedQueuedPurchaseDeletion>& value) { SetFailedQueuedPurchaseDeletions(value); return *this;}
93 
97  inline DeleteQueuedReservedInstancesResponse& WithFailedQueuedPurchaseDeletions(Aws::Vector<FailedQueuedPurchaseDeletion>&& value) { SetFailedQueuedPurchaseDeletions(std::move(value)); return *this;}
98 
102  inline DeleteQueuedReservedInstancesResponse& AddFailedQueuedPurchaseDeletions(const FailedQueuedPurchaseDeletion& value) { m_failedQueuedPurchaseDeletions.push_back(value); return *this; }
103 
107  inline DeleteQueuedReservedInstancesResponse& AddFailedQueuedPurchaseDeletions(FailedQueuedPurchaseDeletion&& value) { m_failedQueuedPurchaseDeletions.push_back(std::move(value)); return *this; }
108 
109 
110 
111  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
112 
113 
114  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
115 
116 
117  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
118 
119 
120  inline DeleteQueuedReservedInstancesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
121 
122 
123  inline DeleteQueuedReservedInstancesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
124 
125  private:
126 
127  Aws::Vector<SuccessfulQueuedPurchaseDeletion> m_successfulQueuedPurchaseDeletions;
128 
129  Aws::Vector<FailedQueuedPurchaseDeletion> m_failedQueuedPurchaseDeletions;
130 
131  ResponseMetadata m_responseMetadata;
132  };
133 
134 } // namespace Model
135 } // namespace EC2
136 } // namespace Aws
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::GetSuccessfulQueuedPurchaseDeletions
const Aws::Vector< SuccessfulQueuedPurchaseDeletion > & GetSuccessfulQueuedPurchaseDeletions() const
Definition: DeleteQueuedReservedInstancesResponse.h:41
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion
Definition: SuccessfulQueuedPurchaseDeletion.h:33
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:117
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::DeleteQueuedReservedInstancesResponse
DeleteQueuedReservedInstancesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetSuccessfulQueuedPurchaseDeletions
void SetSuccessfulQueuedPurchaseDeletions(Aws::Vector< SuccessfulQueuedPurchaseDeletion > &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:51
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithSuccessfulQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & WithSuccessfulQueuedPurchaseDeletions(Aws::Vector< SuccessfulQueuedPurchaseDeletion > &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:61
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::GetFailedQueuedPurchaseDeletions
const Aws::Vector< FailedQueuedPurchaseDeletion > & GetFailedQueuedPurchaseDeletions() const
Definition: DeleteQueuedReservedInstancesResponse.h:77
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetSuccessfulQueuedPurchaseDeletions
void SetSuccessfulQueuedPurchaseDeletions(const Aws::Vector< SuccessfulQueuedPurchaseDeletion > &value)
Definition: DeleteQueuedReservedInstancesResponse.h:46
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithResponseMetadata
DeleteQueuedReservedInstancesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteQueuedReservedInstancesResponse.h:120
AWSVector.h
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::DeleteQueuedReservedInstancesResponse
DeleteQueuedReservedInstancesResponse()
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithFailedQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & WithFailedQueuedPurchaseDeletions(const Aws::Vector< FailedQueuedPurchaseDeletion > &value)
Definition: DeleteQueuedReservedInstancesResponse.h:92
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetFailedQueuedPurchaseDeletions
void SetFailedQueuedPurchaseDeletions(Aws::Vector< FailedQueuedPurchaseDeletion > &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:87
FailedQueuedPurchaseDeletion.h
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::AddSuccessfulQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & AddSuccessfulQueuedPurchaseDeletions(const SuccessfulQueuedPurchaseDeletion &value)
Definition: DeleteQueuedReservedInstancesResponse.h:66
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::AddFailedQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & AddFailedQueuedPurchaseDeletions(const FailedQueuedPurchaseDeletion &value)
Definition: DeleteQueuedReservedInstancesResponse.h:102
Aws::EC2::Model::FailedQueuedPurchaseDeletion
Definition: FailedQueuedPurchaseDeletion.h:34
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithSuccessfulQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & WithSuccessfulQueuedPurchaseDeletions(const Aws::Vector< SuccessfulQueuedPurchaseDeletion > &value)
Definition: DeleteQueuedReservedInstancesResponse.h:56
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse
Definition: DeleteQueuedReservedInstancesResponse.h:31
SuccessfulQueuedPurchaseDeletion.h
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::AddSuccessfulQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & AddSuccessfulQueuedPurchaseDeletions(SuccessfulQueuedPurchaseDeletion &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:71
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteQueuedReservedInstancesResponse.h:114
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::AddFailedQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & AddFailedQueuedPurchaseDeletions(FailedQueuedPurchaseDeletion &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithFailedQueuedPurchaseDeletions
DeleteQueuedReservedInstancesResponse & WithFailedQueuedPurchaseDeletions(Aws::Vector< FailedQueuedPurchaseDeletion > &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:97
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteQueuedReservedInstancesResponse.h:111
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::SetFailedQueuedPurchaseDeletions
void SetFailedQueuedPurchaseDeletions(const Aws::Vector< FailedQueuedPurchaseDeletion > &value)
Definition: DeleteQueuedReservedInstancesResponse.h:82
EC2_EXPORTS.h
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::operator=
DeleteQueuedReservedInstancesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteQueuedReservedInstancesResponse::WithResponseMetadata
DeleteQueuedReservedInstancesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteQueuedReservedInstancesResponse.h:123