AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MoveCapacityReservationInstancesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/CapacityReservation.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const CapacityReservation& GetSourceCapacityReservation() const{ return m_sourceCapacityReservation; }
41 inline void SetSourceCapacityReservation(const CapacityReservation& value) { m_sourceCapacityReservation = value; }
42 inline void SetSourceCapacityReservation(CapacityReservation&& value) { m_sourceCapacityReservation = std::move(value); }
46
48
51 inline const CapacityReservation& GetDestinationCapacityReservation() const{ return m_destinationCapacityReservation; }
52 inline void SetDestinationCapacityReservation(const CapacityReservation& value) { m_destinationCapacityReservation = value; }
53 inline void SetDestinationCapacityReservation(CapacityReservation&& value) { m_destinationCapacityReservation = std::move(value); }
57
59
63 inline int GetInstanceCount() const{ return m_instanceCount; }
64 inline void SetInstanceCount(int value) { m_instanceCount = value; }
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
71 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 private:
77
78 CapacityReservation m_sourceCapacityReservation;
79
80 CapacityReservation m_destinationCapacityReservation;
81
82 int m_instanceCount;
83
84 ResponseMetadata m_responseMetadata;
85 };
86
87} // namespace Model
88} // namespace EC2
89} // namespace Aws
MoveCapacityReservationInstancesResponse & WithSourceCapacityReservation(CapacityReservation &&value)
MoveCapacityReservationInstancesResponse & WithSourceCapacityReservation(const CapacityReservation &value)
AWS_EC2_API MoveCapacityReservationInstancesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
MoveCapacityReservationInstancesResponse & WithInstanceCount(int value)
MoveCapacityReservationInstancesResponse & WithDestinationCapacityReservation(const CapacityReservation &value)
AWS_EC2_API MoveCapacityReservationInstancesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
MoveCapacityReservationInstancesResponse & WithResponseMetadata(ResponseMetadata &&value)
MoveCapacityReservationInstancesResponse & WithDestinationCapacityReservation(CapacityReservation &&value)
MoveCapacityReservationInstancesResponse & WithResponseMetadata(const ResponseMetadata &value)
Aws::Utils::Xml::XmlDocument XmlDocument