AWS SDK for C++  1.9.108
AWS SDK for C++
PurchaseReservedDBInstancesOfferingResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_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 RDS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
36 
37  inline const ReservedDBInstance& GetReservedDBInstance() const{ return m_reservedDBInstance; }
38 
39 
40  inline void SetReservedDBInstance(const ReservedDBInstance& value) { m_reservedDBInstance = value; }
41 
42 
43  inline void SetReservedDBInstance(ReservedDBInstance&& value) { m_reservedDBInstance = std::move(value); }
44 
45 
46  inline PurchaseReservedDBInstancesOfferingResult& WithReservedDBInstance(const ReservedDBInstance& value) { SetReservedDBInstance(value); return *this;}
47 
48 
49  inline PurchaseReservedDBInstancesOfferingResult& WithReservedDBInstance(ReservedDBInstance&& value) { SetReservedDBInstance(std::move(value)); return *this;}
50 
51 
52 
53  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 
55 
56  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57 
58 
59  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 
61 
62  inline PurchaseReservedDBInstancesOfferingResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
63 
64 
65  inline PurchaseReservedDBInstancesOfferingResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66 
67  private:
68 
69  ReservedDBInstance m_reservedDBInstance;
70 
71  ResponseMetadata m_responseMetadata;
72  };
73 
74 } // namespace Model
75 } // namespace RDS
76 } // namespace Aws
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::WithReservedDBInstance
PurchaseReservedDBInstancesOfferingResult & WithReservedDBInstance(ReservedDBInstance &&value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::SetReservedDBInstance
void SetReservedDBInstance(ReservedDBInstance &&value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:43
Aws::RDS::Model::ReservedDBInstance
Definition: ReservedDBInstance.h:38
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::SetReservedDBInstance
void SetReservedDBInstance(const ReservedDBInstance &value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:40
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::GetReservedDBInstance
const ReservedDBInstance & GetReservedDBInstance() const
Definition: PurchaseReservedDBInstancesOfferingResult.h:37
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::PurchaseReservedDBInstancesOfferingResult
PurchaseReservedDBInstancesOfferingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult
Definition: PurchaseReservedDBInstancesOfferingResult.h:29
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:59
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::PurchaseReservedDBInstancesOfferingResult
PurchaseReservedDBInstancesOfferingResult()
RDS_EXPORTS.h
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::WithResponseMetadata
PurchaseReservedDBInstancesOfferingResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:62
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::WithResponseMetadata
PurchaseReservedDBInstancesOfferingResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:65
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:56
ReservedDBInstance.h
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: PurchaseReservedDBInstancesOfferingResult.h:53
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::operator=
PurchaseReservedDBInstancesOfferingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::PurchaseReservedDBInstancesOfferingResult::WithReservedDBInstance
PurchaseReservedDBInstancesOfferingResult & WithReservedDBInstance(const ReservedDBInstance &value)
Definition: PurchaseReservedDBInstancesOfferingResult.h:46