AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFleetsResponse.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/DeleteFleetSuccessItem.h>
11#include <aws/ec2/model/DeleteFleetErrorItem.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{
31 {
32 public:
33 AWS_EC2_API DeleteFleetsResponse();
36
37
39
42 inline const Aws::Vector<DeleteFleetSuccessItem>& GetSuccessfulFleetDeletions() const{ return m_successfulFleetDeletions; }
43 inline void SetSuccessfulFleetDeletions(const Aws::Vector<DeleteFleetSuccessItem>& value) { m_successfulFleetDeletions = value; }
44 inline void SetSuccessfulFleetDeletions(Aws::Vector<DeleteFleetSuccessItem>&& value) { m_successfulFleetDeletions = std::move(value); }
47 inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(const DeleteFleetSuccessItem& value) { m_successfulFleetDeletions.push_back(value); return *this; }
48 inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(DeleteFleetSuccessItem&& value) { m_successfulFleetDeletions.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<DeleteFleetErrorItem>& GetUnsuccessfulFleetDeletions() const{ return m_unsuccessfulFleetDeletions; }
56 inline void SetUnsuccessfulFleetDeletions(const Aws::Vector<DeleteFleetErrorItem>& value) { m_unsuccessfulFleetDeletions = value; }
57 inline void SetUnsuccessfulFleetDeletions(Aws::Vector<DeleteFleetErrorItem>&& value) { m_unsuccessfulFleetDeletions = std::move(value); }
60 inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(const DeleteFleetErrorItem& value) { m_unsuccessfulFleetDeletions.push_back(value); return *this; }
61 inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(DeleteFleetErrorItem&& value) { m_unsuccessfulFleetDeletions.push_back(std::move(value)); return *this; }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
67 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
68 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 inline DeleteFleetsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
72 private:
73
74 Aws::Vector<DeleteFleetSuccessItem> m_successfulFleetDeletions;
75
76 Aws::Vector<DeleteFleetErrorItem> m_unsuccessfulFleetDeletions;
77
78 ResponseMetadata m_responseMetadata;
79 };
80
81} // namespace Model
82} // namespace EC2
83} // namespace Aws
void SetSuccessfulFleetDeletions(const Aws::Vector< DeleteFleetSuccessItem > &value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetSuccessfulFleetDeletions(Aws::Vector< DeleteFleetSuccessItem > &&value)
DeleteFleetsResponse & WithSuccessfulFleetDeletions(const Aws::Vector< DeleteFleetSuccessItem > &value)
DeleteFleetsResponse & WithSuccessfulFleetDeletions(Aws::Vector< DeleteFleetSuccessItem > &&value)
DeleteFleetsResponse & WithUnsuccessfulFleetDeletions(Aws::Vector< DeleteFleetErrorItem > &&value)
AWS_EC2_API DeleteFleetsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteFleetsResponse & AddUnsuccessfulFleetDeletions(const DeleteFleetErrorItem &value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< DeleteFleetErrorItem > & GetUnsuccessfulFleetDeletions() const
void SetUnsuccessfulFleetDeletions(Aws::Vector< DeleteFleetErrorItem > &&value)
AWS_EC2_API DeleteFleetsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteFleetsResponse & WithUnsuccessfulFleetDeletions(const Aws::Vector< DeleteFleetErrorItem > &value)
DeleteFleetsResponse & WithResponseMetadata(const ResponseMetadata &value)
DeleteFleetsResponse & AddSuccessfulFleetDeletions(DeleteFleetSuccessItem &&value)
DeleteFleetsResponse & WithResponseMetadata(ResponseMetadata &&value)
void SetUnsuccessfulFleetDeletions(const Aws::Vector< DeleteFleetErrorItem > &value)
DeleteFleetsResponse & AddSuccessfulFleetDeletions(const DeleteFleetSuccessItem &value)
void SetResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< DeleteFleetSuccessItem > & GetSuccessfulFleetDeletions() const
DeleteFleetsResponse & AddUnsuccessfulFleetDeletions(DeleteFleetErrorItem &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument