AWS SDK for C++  1.9.66
AWS SDK for C++
RequestSpotFleetResponse.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& GetSpotFleetRequestId() const{ return m_spotFleetRequestId; }
45 
49  inline void SetSpotFleetRequestId(const Aws::String& value) { m_spotFleetRequestId = value; }
50 
54  inline void SetSpotFleetRequestId(Aws::String&& value) { m_spotFleetRequestId = std::move(value); }
55 
59  inline void SetSpotFleetRequestId(const char* value) { m_spotFleetRequestId.assign(value); }
60 
64  inline RequestSpotFleetResponse& WithSpotFleetRequestId(const Aws::String& value) { SetSpotFleetRequestId(value); return *this;}
65 
69  inline RequestSpotFleetResponse& WithSpotFleetRequestId(Aws::String&& value) { SetSpotFleetRequestId(std::move(value)); return *this;}
70 
74  inline RequestSpotFleetResponse& WithSpotFleetRequestId(const char* value) { SetSpotFleetRequestId(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 RequestSpotFleetResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline RequestSpotFleetResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_spotFleetRequestId;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace EC2
101 } // namespace Aws
Aws::EC2::Model::RequestSpotFleetResponse::RequestSpotFleetResponse
RequestSpotFleetResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::RequestSpotFleetResponse
Definition: RequestSpotFleetResponse.h:34
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::RequestSpotFleetResponse::WithResponseMetadata
RequestSpotFleetResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: RequestSpotFleetResponse.h:90
Aws::EC2::Model::RequestSpotFleetResponse::WithSpotFleetRequestId
RequestSpotFleetResponse & WithSpotFleetRequestId(const char *value)
Definition: RequestSpotFleetResponse.h:74
Aws::EC2::Model::RequestSpotFleetResponse::SetSpotFleetRequestId
void SetSpotFleetRequestId(const Aws::String &value)
Definition: RequestSpotFleetResponse.h:49
Aws::EC2::Model::RequestSpotFleetResponse::SetSpotFleetRequestId
void SetSpotFleetRequestId(const char *value)
Definition: RequestSpotFleetResponse.h:59
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::RequestSpotFleetResponse::WithResponseMetadata
RequestSpotFleetResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: RequestSpotFleetResponse.h:87
Aws::EC2::Model::RequestSpotFleetResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RequestSpotFleetResponse.h:84
Aws::EC2::Model::RequestSpotFleetResponse::operator=
RequestSpotFleetResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::RequestSpotFleetResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RequestSpotFleetResponse.h:78
Aws::EC2::Model::RequestSpotFleetResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RequestSpotFleetResponse.h:81
Aws::EC2::Model::RequestSpotFleetResponse::WithSpotFleetRequestId
RequestSpotFleetResponse & WithSpotFleetRequestId(Aws::String &&value)
Definition: RequestSpotFleetResponse.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RequestSpotFleetResponse::RequestSpotFleetResponse
RequestSpotFleetResponse()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::RequestSpotFleetResponse::SetSpotFleetRequestId
void SetSpotFleetRequestId(Aws::String &&value)
Definition: RequestSpotFleetResponse.h:54
Aws::EC2::Model::RequestSpotFleetResponse::GetSpotFleetRequestId
const Aws::String & GetSpotFleetRequestId() const
Definition: RequestSpotFleetResponse.h:44
EC2_EXPORTS.h
Aws::EC2::Model::RequestSpotFleetResponse::WithSpotFleetRequestId
RequestSpotFleetResponse & WithSpotFleetRequestId(const Aws::String &value)
Definition: RequestSpotFleetResponse.h:64