AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptReservedInstancesExchangeQuoteResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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{
35 {
36 public:
40
41
43
46 inline const Aws::String& GetExchangeId() const{ return m_exchangeId; }
47 inline void SetExchangeId(const Aws::String& value) { m_exchangeId = value; }
48 inline void SetExchangeId(Aws::String&& value) { m_exchangeId = std::move(value); }
49 inline void SetExchangeId(const char* value) { m_exchangeId.assign(value); }
51 inline AcceptReservedInstancesExchangeQuoteResponse& WithExchangeId(Aws::String&& value) { SetExchangeId(std::move(value)); return *this;}
52 inline AcceptReservedInstancesExchangeQuoteResponse& WithExchangeId(const char* value) { SetExchangeId(value); return *this;}
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 private:
64
65 Aws::String m_exchangeId;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace EC2
72} // namespace Aws
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(const Aws::String &value)
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(Aws::String &&value)
AcceptReservedInstancesExchangeQuoteResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API AcceptReservedInstancesExchangeQuoteResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API AcceptReservedInstancesExchangeQuoteResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AcceptReservedInstancesExchangeQuoteResponse & WithResponseMetadata(const ResponseMetadata &value)
AcceptReservedInstancesExchangeQuoteResponse & WithExchangeId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument