AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelSpotFleetRequestsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/CancelSpotFleetRequestsSuccessItem.h>
11#include <aws/ec2/model/CancelSpotFleetRequestsErrorItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
36 {
37 public:
41
42
44
47 inline const Aws::Vector<CancelSpotFleetRequestsSuccessItem>& GetSuccessfulFleetRequests() const{ return m_successfulFleetRequests; }
48 inline void SetSuccessfulFleetRequests(const Aws::Vector<CancelSpotFleetRequestsSuccessItem>& value) { m_successfulFleetRequests = value; }
49 inline void SetSuccessfulFleetRequests(Aws::Vector<CancelSpotFleetRequestsSuccessItem>&& value) { m_successfulFleetRequests = std::move(value); }
52 inline CancelSpotFleetRequestsResponse& AddSuccessfulFleetRequests(const CancelSpotFleetRequestsSuccessItem& value) { m_successfulFleetRequests.push_back(value); return *this; }
53 inline CancelSpotFleetRequestsResponse& AddSuccessfulFleetRequests(CancelSpotFleetRequestsSuccessItem&& value) { m_successfulFleetRequests.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::Vector<CancelSpotFleetRequestsErrorItem>& GetUnsuccessfulFleetRequests() const{ return m_unsuccessfulFleetRequests; }
62 inline void SetUnsuccessfulFleetRequests(const Aws::Vector<CancelSpotFleetRequestsErrorItem>& value) { m_unsuccessfulFleetRequests = value; }
63 inline void SetUnsuccessfulFleetRequests(Aws::Vector<CancelSpotFleetRequestsErrorItem>&& value) { m_unsuccessfulFleetRequests = std::move(value); }
66 inline CancelSpotFleetRequestsResponse& AddUnsuccessfulFleetRequests(const CancelSpotFleetRequestsErrorItem& value) { m_unsuccessfulFleetRequests.push_back(value); return *this; }
67 inline CancelSpotFleetRequestsResponse& AddUnsuccessfulFleetRequests(CancelSpotFleetRequestsErrorItem&& value) { m_unsuccessfulFleetRequests.push_back(std::move(value)); return *this; }
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
73 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
74 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
78 private:
79
81
82 Aws::Vector<CancelSpotFleetRequestsErrorItem> m_unsuccessfulFleetRequests;
83
84 ResponseMetadata m_responseMetadata;
85 };
86
87} // namespace Model
88} // namespace EC2
89} // namespace Aws
CancelSpotFleetRequestsResponse & WithSuccessfulFleetRequests(Aws::Vector< CancelSpotFleetRequestsSuccessItem > &&value)
void SetSuccessfulFleetRequests(Aws::Vector< CancelSpotFleetRequestsSuccessItem > &&value)
CancelSpotFleetRequestsResponse & AddUnsuccessfulFleetRequests(const CancelSpotFleetRequestsErrorItem &value)
AWS_EC2_API CancelSpotFleetRequestsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetUnsuccessfulFleetRequests(Aws::Vector< CancelSpotFleetRequestsErrorItem > &&value)
CancelSpotFleetRequestsResponse & AddUnsuccessfulFleetRequests(CancelSpotFleetRequestsErrorItem &&value)
void SetSuccessfulFleetRequests(const Aws::Vector< CancelSpotFleetRequestsSuccessItem > &value)
AWS_EC2_API CancelSpotFleetRequestsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetUnsuccessfulFleetRequests(const Aws::Vector< CancelSpotFleetRequestsErrorItem > &value)
CancelSpotFleetRequestsResponse & WithSuccessfulFleetRequests(const Aws::Vector< CancelSpotFleetRequestsSuccessItem > &value)
CancelSpotFleetRequestsResponse & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< CancelSpotFleetRequestsSuccessItem > & GetSuccessfulFleetRequests() const
CancelSpotFleetRequestsResponse & AddSuccessfulFleetRequests(const CancelSpotFleetRequestsSuccessItem &value)
CancelSpotFleetRequestsResponse & WithResponseMetadata(const ResponseMetadata &value)
CancelSpotFleetRequestsResponse & AddSuccessfulFleetRequests(CancelSpotFleetRequestsSuccessItem &&value)
CancelSpotFleetRequestsResponse & WithUnsuccessfulFleetRequests(const Aws::Vector< CancelSpotFleetRequestsErrorItem > &value)
const Aws::Vector< CancelSpotFleetRequestsErrorItem > & GetUnsuccessfulFleetRequests() const
CancelSpotFleetRequestsResponse & WithUnsuccessfulFleetRequests(Aws::Vector< CancelSpotFleetRequestsErrorItem > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument