AWS SDK for C++  1.9.103
AWS SDK for C++
ModifyReservedInstancesResponse.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 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetReservedInstancesModificationId() const{ return m_reservedInstancesModificationId; }
45 
49  inline void SetReservedInstancesModificationId(const Aws::String& value) { m_reservedInstancesModificationId = value; }
50 
54  inline void SetReservedInstancesModificationId(Aws::String&& value) { m_reservedInstancesModificationId = std::move(value); }
55 
59  inline void SetReservedInstancesModificationId(const char* value) { m_reservedInstancesModificationId.assign(value); }
60 
64  inline ModifyReservedInstancesResponse& WithReservedInstancesModificationId(const Aws::String& value) { SetReservedInstancesModificationId(value); return *this;}
65 
69  inline ModifyReservedInstancesResponse& WithReservedInstancesModificationId(Aws::String&& value) { SetReservedInstancesModificationId(std::move(value)); return *this;}
70 
74  inline ModifyReservedInstancesResponse& WithReservedInstancesModificationId(const char* value) { SetReservedInstancesModificationId(value); return *this;}
75 
76 
77 
78  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 
80 
81  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 
83 
84  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 
86 
87  inline ModifyReservedInstancesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline ModifyReservedInstancesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_reservedInstancesModificationId;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace EC2
101 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ModifyReservedInstancesResponse::SetReservedInstancesModificationId
void SetReservedInstancesModificationId(Aws::String &&value)
Definition: ModifyReservedInstancesResponse.h:54
Aws::EC2::Model::ModifyReservedInstancesResponse::operator=
ModifyReservedInstancesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyReservedInstancesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyReservedInstancesResponse.h:81
ResponseMetadata.h
Aws::EC2::Model::ModifyReservedInstancesResponse::ModifyReservedInstancesResponse
ModifyReservedInstancesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyReservedInstancesResponse::SetReservedInstancesModificationId
void SetReservedInstancesModificationId(const Aws::String &value)
Definition: ModifyReservedInstancesResponse.h:49
Aws::EC2::Model::ModifyReservedInstancesResponse::ModifyReservedInstancesResponse
ModifyReservedInstancesResponse()
Aws::EC2::Model::ModifyReservedInstancesResponse::SetReservedInstancesModificationId
void SetReservedInstancesModificationId(const char *value)
Definition: ModifyReservedInstancesResponse.h:59
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::ModifyReservedInstancesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyReservedInstancesResponse.h:84
AWSString.h
Aws::EC2::Model::ModifyReservedInstancesResponse::WithResponseMetadata
ModifyReservedInstancesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyReservedInstancesResponse.h:87
Aws::EC2::Model::ModifyReservedInstancesResponse
Definition: ModifyReservedInstancesResponse.h:34
Aws::EC2::Model::ModifyReservedInstancesResponse::GetReservedInstancesModificationId
const Aws::String & GetReservedInstancesModificationId() const
Definition: ModifyReservedInstancesResponse.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ModifyReservedInstancesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyReservedInstancesResponse.h:78
EC2_EXPORTS.h
Aws::EC2::Model::ModifyReservedInstancesResponse::WithResponseMetadata
ModifyReservedInstancesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyReservedInstancesResponse.h:90
Aws::EC2::Model::ModifyReservedInstancesResponse::WithReservedInstancesModificationId
ModifyReservedInstancesResponse & WithReservedInstancesModificationId(const char *value)
Definition: ModifyReservedInstancesResponse.h:74
Aws::EC2::Model::ModifyReservedInstancesResponse::WithReservedInstancesModificationId
ModifyReservedInstancesResponse & WithReservedInstancesModificationId(const Aws::String &value)
Definition: ModifyReservedInstancesResponse.h:64
Aws::EC2::Model::ModifyReservedInstancesResponse::WithReservedInstancesModificationId
ModifyReservedInstancesResponse & WithReservedInstancesModificationId(Aws::String &&value)
Definition: ModifyReservedInstancesResponse.h:69