AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReservedInstancesExchangeQuoteResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ec2/model/ReservationValue.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ResponseMetadata.h>
13#include <aws/ec2/model/ReservedInstanceReservationValue.h>
14#include <aws/ec2/model/TargetReservationValue.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
40 {
41 public:
45
46
48
51 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
52 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCode = value; }
53 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCode = std::move(value); }
54 inline void SetCurrencyCode(const char* value) { m_currencyCode.assign(value); }
57 inline GetReservedInstancesExchangeQuoteResponse& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
59
61
65 inline bool GetIsValidExchange() const{ return m_isValidExchange; }
66 inline void SetIsValidExchange(bool value) { m_isValidExchange = value; }
69
71
74 inline const Aws::Utils::DateTime& GetOutputReservedInstancesWillExpireAt() const{ return m_outputReservedInstancesWillExpireAt; }
75 inline void SetOutputReservedInstancesWillExpireAt(const Aws::Utils::DateTime& value) { m_outputReservedInstancesWillExpireAt = value; }
76 inline void SetOutputReservedInstancesWillExpireAt(Aws::Utils::DateTime&& value) { m_outputReservedInstancesWillExpireAt = std::move(value); }
80
82
85 inline const Aws::String& GetPaymentDue() const{ return m_paymentDue; }
86 inline void SetPaymentDue(const Aws::String& value) { m_paymentDue = value; }
87 inline void SetPaymentDue(Aws::String&& value) { m_paymentDue = std::move(value); }
88 inline void SetPaymentDue(const char* value) { m_paymentDue.assign(value); }
90 inline GetReservedInstancesExchangeQuoteResponse& WithPaymentDue(Aws::String&& value) { SetPaymentDue(std::move(value)); return *this;}
91 inline GetReservedInstancesExchangeQuoteResponse& WithPaymentDue(const char* value) { SetPaymentDue(value); return *this;}
93
95
98 inline const ReservationValue& GetReservedInstanceValueRollup() const{ return m_reservedInstanceValueRollup; }
99 inline void SetReservedInstanceValueRollup(const ReservationValue& value) { m_reservedInstanceValueRollup = value; }
100 inline void SetReservedInstanceValueRollup(ReservationValue&& value) { m_reservedInstanceValueRollup = std::move(value); }
104
106
109 inline const Aws::Vector<ReservedInstanceReservationValue>& GetReservedInstanceValueSet() const{ return m_reservedInstanceValueSet; }
110 inline void SetReservedInstanceValueSet(const Aws::Vector<ReservedInstanceReservationValue>& value) { m_reservedInstanceValueSet = value; }
111 inline void SetReservedInstanceValueSet(Aws::Vector<ReservedInstanceReservationValue>&& value) { m_reservedInstanceValueSet = std::move(value); }
114 inline GetReservedInstancesExchangeQuoteResponse& AddReservedInstanceValueSet(const ReservedInstanceReservationValue& value) { m_reservedInstanceValueSet.push_back(value); return *this; }
115 inline GetReservedInstancesExchangeQuoteResponse& AddReservedInstanceValueSet(ReservedInstanceReservationValue&& value) { m_reservedInstanceValueSet.push_back(std::move(value)); return *this; }
117
119
122 inline const ReservationValue& GetTargetConfigurationValueRollup() const{ return m_targetConfigurationValueRollup; }
123 inline void SetTargetConfigurationValueRollup(const ReservationValue& value) { m_targetConfigurationValueRollup = value; }
124 inline void SetTargetConfigurationValueRollup(ReservationValue&& value) { m_targetConfigurationValueRollup = std::move(value); }
128
130
133 inline const Aws::Vector<TargetReservationValue>& GetTargetConfigurationValueSet() const{ return m_targetConfigurationValueSet; }
134 inline void SetTargetConfigurationValueSet(const Aws::Vector<TargetReservationValue>& value) { m_targetConfigurationValueSet = value; }
135 inline void SetTargetConfigurationValueSet(Aws::Vector<TargetReservationValue>&& value) { m_targetConfigurationValueSet = std::move(value); }
138 inline GetReservedInstancesExchangeQuoteResponse& AddTargetConfigurationValueSet(const TargetReservationValue& value) { m_targetConfigurationValueSet.push_back(value); return *this; }
139 inline GetReservedInstancesExchangeQuoteResponse& AddTargetConfigurationValueSet(TargetReservationValue&& value) { m_targetConfigurationValueSet.push_back(std::move(value)); return *this; }
141
143
146 inline const Aws::String& GetValidationFailureReason() const{ return m_validationFailureReason; }
147 inline void SetValidationFailureReason(const Aws::String& value) { m_validationFailureReason = value; }
148 inline void SetValidationFailureReason(Aws::String&& value) { m_validationFailureReason = std::move(value); }
149 inline void SetValidationFailureReason(const char* value) { m_validationFailureReason.assign(value); }
154
156
157 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
158 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
159 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
163 private:
164
165 Aws::String m_currencyCode;
166
167 bool m_isValidExchange;
168
169 Aws::Utils::DateTime m_outputReservedInstancesWillExpireAt;
170
171 Aws::String m_paymentDue;
172
173 ReservationValue m_reservedInstanceValueRollup;
174
175 Aws::Vector<ReservedInstanceReservationValue> m_reservedInstanceValueSet;
176
177 ReservationValue m_targetConfigurationValueRollup;
178
179 Aws::Vector<TargetReservationValue> m_targetConfigurationValueSet;
180
181 Aws::String m_validationFailureReason;
182
183 ResponseMetadata m_responseMetadata;
184 };
185
186} // namespace Model
187} // namespace EC2
188} // namespace Aws
void SetReservedInstanceValueSet(Aws::Vector< ReservedInstanceReservationValue > &&value)
GetReservedInstancesExchangeQuoteResponse & WithPaymentDue(const Aws::String &value)
void SetTargetConfigurationValueSet(const Aws::Vector< TargetReservationValue > &value)
GetReservedInstancesExchangeQuoteResponse & WithPaymentDue(Aws::String &&value)
GetReservedInstancesExchangeQuoteResponse & AddReservedInstanceValueSet(ReservedInstanceReservationValue &&value)
GetReservedInstancesExchangeQuoteResponse & WithReservedInstanceValueSet(const Aws::Vector< ReservedInstanceReservationValue > &value)
GetReservedInstancesExchangeQuoteResponse & AddReservedInstanceValueSet(const ReservedInstanceReservationValue &value)
AWS_EC2_API GetReservedInstancesExchangeQuoteResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetReservedInstancesExchangeQuoteResponse & WithValidationFailureReason(Aws::String &&value)
GetReservedInstancesExchangeQuoteResponse & WithPaymentDue(const char *value)
GetReservedInstancesExchangeQuoteResponse & WithValidationFailureReason(const char *value)
GetReservedInstancesExchangeQuoteResponse & WithResponseMetadata(ResponseMetadata &&value)
void SetReservedInstanceValueSet(const Aws::Vector< ReservedInstanceReservationValue > &value)
GetReservedInstancesExchangeQuoteResponse & WithOutputReservedInstancesWillExpireAt(const Aws::Utils::DateTime &value)
GetReservedInstancesExchangeQuoteResponse & WithTargetConfigurationValueSet(Aws::Vector< TargetReservationValue > &&value)
const Aws::Vector< ReservedInstanceReservationValue > & GetReservedInstanceValueSet() const
GetReservedInstancesExchangeQuoteResponse & WithResponseMetadata(const ResponseMetadata &value)
GetReservedInstancesExchangeQuoteResponse & WithReservedInstanceValueRollup(const ReservationValue &value)
GetReservedInstancesExchangeQuoteResponse & WithTargetConfigurationValueRollup(ReservationValue &&value)
GetReservedInstancesExchangeQuoteResponse & WithValidationFailureReason(const Aws::String &value)
GetReservedInstancesExchangeQuoteResponse & WithTargetConfigurationValueRollup(const ReservationValue &value)
GetReservedInstancesExchangeQuoteResponse & WithCurrencyCode(Aws::String &&value)
GetReservedInstancesExchangeQuoteResponse & WithCurrencyCode(const Aws::String &value)
AWS_EC2_API GetReservedInstancesExchangeQuoteResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetReservedInstancesExchangeQuoteResponse & WithCurrencyCode(const char *value)
GetReservedInstancesExchangeQuoteResponse & WithReservedInstanceValueRollup(ReservationValue &&value)
GetReservedInstancesExchangeQuoteResponse & AddTargetConfigurationValueSet(const TargetReservationValue &value)
GetReservedInstancesExchangeQuoteResponse & WithTargetConfigurationValueSet(const Aws::Vector< TargetReservationValue > &value)
GetReservedInstancesExchangeQuoteResponse & WithOutputReservedInstancesWillExpireAt(Aws::Utils::DateTime &&value)
GetReservedInstancesExchangeQuoteResponse & AddTargetConfigurationValueSet(TargetReservationValue &&value)
GetReservedInstancesExchangeQuoteResponse & WithIsValidExchange(bool value)
void SetTargetConfigurationValueSet(Aws::Vector< TargetReservationValue > &&value)
const Aws::Vector< TargetReservationValue > & GetTargetConfigurationValueSet() const
GetReservedInstancesExchangeQuoteResponse & WithReservedInstanceValueSet(Aws::Vector< ReservedInstanceReservationValue > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument