AWS SDK for C++  1.9.107
AWS SDK for C++
ModifySpotFleetRequestResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline bool GetReturn() const{ return m_return; }
44 
48  inline void SetReturn(bool value) { m_return = value; }
49 
53  inline ModifySpotFleetRequestResponse& WithReturn(bool value) { SetReturn(value); return *this;}
54 
55 
56 
57  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 
59 
60  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 
62 
63  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
64 
65 
66  inline ModifySpotFleetRequestResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
67 
68 
69  inline ModifySpotFleetRequestResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
70 
71  private:
72 
73  bool m_return;
74 
75  ResponseMetadata m_responseMetadata;
76  };
77 
78 } // namespace Model
79 } // namespace EC2
80 } // namespace Aws
Aws::EC2::Model::ModifySpotFleetRequestResponse::ModifySpotFleetRequestResponse
ModifySpotFleetRequestResponse()
Aws::EC2::Model::ModifySpotFleetRequestResponse
Definition: ModifySpotFleetRequestResponse.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ModifySpotFleetRequestResponse::GetReturn
bool GetReturn() const
Definition: ModifySpotFleetRequestResponse.h:43
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::ModifySpotFleetRequestResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifySpotFleetRequestResponse.h:63
Aws::EC2::Model::ModifySpotFleetRequestResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifySpotFleetRequestResponse.h:60
Aws::EC2::Model::ModifySpotFleetRequestResponse::WithResponseMetadata
ModifySpotFleetRequestResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifySpotFleetRequestResponse.h:69
Aws::EC2::Model::ModifySpotFleetRequestResponse::SetReturn
void SetReturn(bool value)
Definition: ModifySpotFleetRequestResponse.h:48
Aws::EC2::Model::ModifySpotFleetRequestResponse::WithReturn
ModifySpotFleetRequestResponse & WithReturn(bool value)
Definition: ModifySpotFleetRequestResponse.h:53
Aws::EC2::Model::ModifySpotFleetRequestResponse::ModifySpotFleetRequestResponse
ModifySpotFleetRequestResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifySpotFleetRequestResponse::WithResponseMetadata
ModifySpotFleetRequestResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifySpotFleetRequestResponse.h:66
Aws::EC2::Model::ModifySpotFleetRequestResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifySpotFleetRequestResponse.h:57
EC2_EXPORTS.h
Aws::EC2::Model::ModifySpotFleetRequestResponse::operator=
ModifySpotFleetRequestResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)