AWS SDK for C++  1.9.67
AWS SDK for C++
CreateSpotDatafeedSubscriptionResponse.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 {
35  {
36  public:
40 
41 
45  inline const SpotDatafeedSubscription& GetSpotDatafeedSubscription() const{ return m_spotDatafeedSubscription; }
46 
50  inline void SetSpotDatafeedSubscription(const SpotDatafeedSubscription& value) { m_spotDatafeedSubscription = value; }
51 
55  inline void SetSpotDatafeedSubscription(SpotDatafeedSubscription&& value) { m_spotDatafeedSubscription = std::move(value); }
56 
60  inline CreateSpotDatafeedSubscriptionResponse& WithSpotDatafeedSubscription(const SpotDatafeedSubscription& value) { SetSpotDatafeedSubscription(value); return *this;}
61 
65  inline CreateSpotDatafeedSubscriptionResponse& WithSpotDatafeedSubscription(SpotDatafeedSubscription&& value) { SetSpotDatafeedSubscription(std::move(value)); return *this;}
66 
67 
68 
69  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
70 
71 
72  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
73 
74 
75  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 
77 
78  inline CreateSpotDatafeedSubscriptionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
79 
80 
81  inline CreateSpotDatafeedSubscriptionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
82 
83  private:
84 
85  SpotDatafeedSubscription m_spotDatafeedSubscription;
86 
87  ResponseMetadata m_responseMetadata;
88  };
89 
90 } // namespace Model
91 } // namespace EC2
92 } // namespace Aws
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::operator=
CreateSpotDatafeedSubscriptionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::SetSpotDatafeedSubscription
void SetSpotDatafeedSubscription(const SpotDatafeedSubscription &value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:50
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::WithSpotDatafeedSubscription
CreateSpotDatafeedSubscriptionResponse & WithSpotDatafeedSubscription(SpotDatafeedSubscription &&value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:65
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse
Definition: CreateSpotDatafeedSubscriptionResponse.h:35
Aws::EC2::Model::SpotDatafeedSubscription
Definition: SpotDatafeedSubscription.h:34
SpotDatafeedSubscription.h
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::WithSpotDatafeedSubscription
CreateSpotDatafeedSubscriptionResponse & WithSpotDatafeedSubscription(const SpotDatafeedSubscription &value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:60
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::WithResponseMetadata
CreateSpotDatafeedSubscriptionResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:81
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::CreateSpotDatafeedSubscriptionResponse
CreateSpotDatafeedSubscriptionResponse()
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::CreateSpotDatafeedSubscriptionResponse
CreateSpotDatafeedSubscriptionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::GetSpotDatafeedSubscription
const SpotDatafeedSubscription & GetSpotDatafeedSubscription() const
Definition: CreateSpotDatafeedSubscriptionResponse.h:45
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateSpotDatafeedSubscriptionResponse.h:69
EC2_EXPORTS.h
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::SetSpotDatafeedSubscription
void SetSpotDatafeedSubscription(SpotDatafeedSubscription &&value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:55
Aws::EC2::Model::CreateSpotDatafeedSubscriptionResponse::WithResponseMetadata
CreateSpotDatafeedSubscriptionResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateSpotDatafeedSubscriptionResponse.h:78