AWS SDK for C++  1.9.75
AWS SDK for C++
AcceptReservedInstancesExchangeQuoteResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetExchangeId() const{ return m_exchangeId; }
46 
50  inline void SetExchangeId(const Aws::String& value) { m_exchangeId = value; }
51 
55  inline void SetExchangeId(Aws::String&& value) { m_exchangeId = std::move(value); }
56 
60  inline void SetExchangeId(const char* value) { m_exchangeId.assign(value); }
61 
65  inline AcceptReservedInstancesExchangeQuoteResponse& WithExchangeId(const Aws::String& value) { SetExchangeId(value); return *this;}
66 
70  inline AcceptReservedInstancesExchangeQuoteResponse& WithExchangeId(Aws::String&& value) { SetExchangeId(std::move(value)); return *this;}
71 
75  inline AcceptReservedInstancesExchangeQuoteResponse& WithExchangeId(const char* value) { SetExchangeId(value); return *this;}
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline AcceptReservedInstancesExchangeQuoteResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline AcceptReservedInstancesExchangeQuoteResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::String m_exchangeId;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace EC2
102 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::WithResponseMetadata
AcceptReservedInstancesExchangeQuoteResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:91
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:35
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::GetExchangeId
const Aws::String & GetExchangeId() const
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:45
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::operator=
AcceptReservedInstancesExchangeQuoteResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::WithExchangeId
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(const char *value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:75
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:85
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::AcceptReservedInstancesExchangeQuoteResponse
AcceptReservedInstancesExchangeQuoteResponse()
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::AcceptReservedInstancesExchangeQuoteResponse
AcceptReservedInstancesExchangeQuoteResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::SetExchangeId
void SetExchangeId(const char *value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:60
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:82
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:79
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::WithExchangeId
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(Aws::String &&value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::WithExchangeId
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(const Aws::String &value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::SetExchangeId
void SetExchangeId(Aws::String &&value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:55
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::SetExchangeId
void SetExchangeId(const Aws::String &value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:50
EC2_EXPORTS.h
Aws::EC2::Model::AcceptReservedInstancesExchangeQuoteResponse::WithResponseMetadata
AcceptReservedInstancesExchangeQuoteResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AcceptReservedInstancesExchangeQuoteResponse.h:88