AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestSpotFleetResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetSpotFleetRequestId() const{ return m_spotFleetRequestId; }
46 inline void SetSpotFleetRequestId(const Aws::String& value) { m_spotFleetRequestId = value; }
47 inline void SetSpotFleetRequestId(Aws::String&& value) { m_spotFleetRequestId = std::move(value); }
48 inline void SetSpotFleetRequestId(const char* value) { m_spotFleetRequestId.assign(value); }
50 inline RequestSpotFleetResponse& WithSpotFleetRequestId(Aws::String&& value) { SetSpotFleetRequestId(std::move(value)); return *this;}
51 inline RequestSpotFleetResponse& WithSpotFleetRequestId(const char* value) { SetSpotFleetRequestId(value); return *this;}
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
57 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
58 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 inline RequestSpotFleetResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
62 private:
63
64 Aws::String m_spotFleetRequestId;
65
66 ResponseMetadata m_responseMetadata;
67 };
68
69} // namespace Model
70} // namespace EC2
71} // namespace Aws
AWS_EC2_API RequestSpotFleetResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
RequestSpotFleetResponse & WithSpotFleetRequestId(const char *value)
void SetSpotFleetRequestId(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
RequestSpotFleetResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API RequestSpotFleetResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RequestSpotFleetResponse & WithSpotFleetRequestId(const Aws::String &value)
RequestSpotFleetResponse & WithSpotFleetRequestId(Aws::String &&value)
RequestSpotFleetResponse & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument