AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PurchaseReservedInstancesOfferingResponse.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
50 inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
51 inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesId = value; }
52 inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesId = std::move(value); }
53 inline void SetReservedInstancesId(const char* value) { m_reservedInstancesId.assign(value); }
58
60
61 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
62 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
63 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 private:
68
69 Aws::String m_reservedInstancesId;
70
71 ResponseMetadata m_responseMetadata;
72 };
73
74} // namespace Model
75} // namespace EC2
76} // namespace Aws
PurchaseReservedInstancesOfferingResponse & WithReservedInstancesId(const Aws::String &value)
PurchaseReservedInstancesOfferingResponse & WithResponseMetadata(ResponseMetadata &&value)
PurchaseReservedInstancesOfferingResponse & WithReservedInstancesId(Aws::String &&value)
PurchaseReservedInstancesOfferingResponse & WithResponseMetadata(const ResponseMetadata &value)
PurchaseReservedInstancesOfferingResponse & WithReservedInstancesId(const char *value)
AWS_EC2_API PurchaseReservedInstancesOfferingResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API PurchaseReservedInstancesOfferingResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument