AWS SDK for C++  1.9.105
AWS SDK for C++
AcceptReservedNodeExchangeResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const ReservedNode& GetExchangedReservedNode() const{ return m_exchangedReservedNode; }
40 
44  inline void SetExchangedReservedNode(const ReservedNode& value) { m_exchangedReservedNode = value; }
45 
49  inline void SetExchangedReservedNode(ReservedNode&& value) { m_exchangedReservedNode = std::move(value); }
50 
54  inline AcceptReservedNodeExchangeResult& WithExchangedReservedNode(const ReservedNode& value) { SetExchangedReservedNode(value); return *this;}
55 
59  inline AcceptReservedNodeExchangeResult& WithExchangedReservedNode(ReservedNode&& value) { SetExchangedReservedNode(std::move(value)); return *this;}
60 
61 
62 
63  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 
65 
66  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 
68 
69  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 
71 
72  inline AcceptReservedNodeExchangeResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
73 
74 
75  inline AcceptReservedNodeExchangeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 
77  private:
78 
79  ReservedNode m_exchangedReservedNode;
80 
81  ResponseMetadata m_responseMetadata;
82  };
83 
84 } // namespace Model
85 } // namespace Redshift
86 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::operator=
AcceptReservedNodeExchangeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::SetExchangedReservedNode
void SetExchangedReservedNode(const ReservedNode &value)
Definition: AcceptReservedNodeExchangeResult.h:44
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::GetExchangedReservedNode
const ReservedNode & GetExchangedReservedNode() const
Definition: AcceptReservedNodeExchangeResult.h:39
Aws::Redshift::Model::ReservedNode
Definition: ReservedNode.h:38
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AcceptReservedNodeExchangeResult.h:66
Aws::Redshift::Model::AcceptReservedNodeExchangeResult
Definition: AcceptReservedNodeExchangeResult.h:29
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AcceptReservedNodeExchangeResult.h:63
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::WithExchangedReservedNode
AcceptReservedNodeExchangeResult & WithExchangedReservedNode(const ReservedNode &value)
Definition: AcceptReservedNodeExchangeResult.h:54
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::WithExchangedReservedNode
AcceptReservedNodeExchangeResult & WithExchangedReservedNode(ReservedNode &&value)
Definition: AcceptReservedNodeExchangeResult.h:59
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AcceptReservedNodeExchangeResult.h:69
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::SetExchangedReservedNode
void SetExchangedReservedNode(ReservedNode &&value)
Definition: AcceptReservedNodeExchangeResult.h:49
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::AcceptReservedNodeExchangeResult
AcceptReservedNodeExchangeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::WithResponseMetadata
AcceptReservedNodeExchangeResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: AcceptReservedNodeExchangeResult.h:75
ResponseMetadata.h
ReservedNode.h
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::WithResponseMetadata
AcceptReservedNodeExchangeResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: AcceptReservedNodeExchangeResult.h:72
Aws::Redshift::Model::AcceptReservedNodeExchangeResult::AcceptReservedNodeExchangeResult
AcceptReservedNodeExchangeResult()