AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCapacityReservationBySplittingResponse.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
CreateCapacityReservationBySplittingResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateCapacityReservationBySplittingResponse & WithSourceCapacityReservation(const CapacityReservation &value)
AWS_EC2_API CreateCapacityReservationBySplittingResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCapacityReservationBySplittingResponse & WithDestinationCapacityReservation(CapacityReservation &&value)
CreateCapacityReservationBySplittingResponse & WithInstanceCount(int value)
CreateCapacityReservationBySplittingResponse & WithDestinationCapacityReservation(const CapacityReservation &value)
CreateCapacityReservationBySplittingResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API CreateCapacityReservationBySplittingResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCapacityReservationBySplittingResponse & WithSourceCapacityReservation(CapacityReservation &&value)
Aws::Utils::Xml::XmlDocument XmlDocument