AWS SDK for C++  1.9.66
AWS SDK for C++
DeleteFleetsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<DeleteFleetSuccessItem>& GetSuccessfulFleetDeletions() const{ return m_successfulFleetDeletions; }
42 
46  inline void SetSuccessfulFleetDeletions(const Aws::Vector<DeleteFleetSuccessItem>& value) { m_successfulFleetDeletions = value; }
47 
51  inline void SetSuccessfulFleetDeletions(Aws::Vector<DeleteFleetSuccessItem>&& value) { m_successfulFleetDeletions = std::move(value); }
52 
56  inline DeleteFleetsResponse& WithSuccessfulFleetDeletions(const Aws::Vector<DeleteFleetSuccessItem>& value) { SetSuccessfulFleetDeletions(value); return *this;}
57 
61  inline DeleteFleetsResponse& WithSuccessfulFleetDeletions(Aws::Vector<DeleteFleetSuccessItem>&& value) { SetSuccessfulFleetDeletions(std::move(value)); return *this;}
62 
66  inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(const DeleteFleetSuccessItem& value) { m_successfulFleetDeletions.push_back(value); return *this; }
67 
71  inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(DeleteFleetSuccessItem&& value) { m_successfulFleetDeletions.push_back(std::move(value)); return *this; }
72 
73 
77  inline const Aws::Vector<DeleteFleetErrorItem>& GetUnsuccessfulFleetDeletions() const{ return m_unsuccessfulFleetDeletions; }
78 
82  inline void SetUnsuccessfulFleetDeletions(const Aws::Vector<DeleteFleetErrorItem>& value) { m_unsuccessfulFleetDeletions = value; }
83 
87  inline void SetUnsuccessfulFleetDeletions(Aws::Vector<DeleteFleetErrorItem>&& value) { m_unsuccessfulFleetDeletions = std::move(value); }
88 
92  inline DeleteFleetsResponse& WithUnsuccessfulFleetDeletions(const Aws::Vector<DeleteFleetErrorItem>& value) { SetUnsuccessfulFleetDeletions(value); return *this;}
93 
97  inline DeleteFleetsResponse& WithUnsuccessfulFleetDeletions(Aws::Vector<DeleteFleetErrorItem>&& value) { SetUnsuccessfulFleetDeletions(std::move(value)); return *this;}
98 
102  inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(const DeleteFleetErrorItem& value) { m_unsuccessfulFleetDeletions.push_back(value); return *this; }
103 
107  inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(DeleteFleetErrorItem&& value) { m_unsuccessfulFleetDeletions.push_back(std::move(value)); return *this; }
108 
109 
110 
111  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
112 
113 
114  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
115 
116 
117  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
118 
119 
120  inline DeleteFleetsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
121 
122 
123  inline DeleteFleetsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
124 
125  private:
126 
127  Aws::Vector<DeleteFleetSuccessItem> m_successfulFleetDeletions;
128 
129  Aws::Vector<DeleteFleetErrorItem> m_unsuccessfulFleetDeletions;
130 
131  ResponseMetadata m_responseMetadata;
132  };
133 
134 } // namespace Model
135 } // namespace EC2
136 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteFleetsResponse::AddSuccessfulFleetDeletions
DeleteFleetsResponse & AddSuccessfulFleetDeletions(const DeleteFleetSuccessItem &value)
Definition: DeleteFleetsResponse.h:66
DeleteFleetSuccessItem.h
Aws::EC2::Model::DeleteFleetsResponse::WithSuccessfulFleetDeletions
DeleteFleetsResponse & WithSuccessfulFleetDeletions(const Aws::Vector< DeleteFleetSuccessItem > &value)
Definition: DeleteFleetsResponse.h:56
Aws::EC2::Model::DeleteFleetsResponse::DeleteFleetsResponse
DeleteFleetsResponse()
Aws::EC2::Model::DeleteFleetsResponse
Definition: DeleteFleetsResponse.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DeleteFleetsResponse::WithUnsuccessfulFleetDeletions
DeleteFleetsResponse & WithUnsuccessfulFleetDeletions(const Aws::Vector< DeleteFleetErrorItem > &value)
Definition: DeleteFleetsResponse.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeleteFleetsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteFleetsResponse.h:117
AWSVector.h
Aws::EC2::Model::DeleteFleetsResponse::SetSuccessfulFleetDeletions
void SetSuccessfulFleetDeletions(const Aws::Vector< DeleteFleetSuccessItem > &value)
Definition: DeleteFleetsResponse.h:46
Aws::EC2::Model::DeleteFleetsResponse::WithResponseMetadata
DeleteFleetsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteFleetsResponse.h:123
Aws::EC2::Model::DeleteFleetsResponse::GetSuccessfulFleetDeletions
const Aws::Vector< DeleteFleetSuccessItem > & GetSuccessfulFleetDeletions() const
Definition: DeleteFleetsResponse.h:41
Aws::EC2::Model::DeleteFleetsResponse::WithSuccessfulFleetDeletions
DeleteFleetsResponse & WithSuccessfulFleetDeletions(Aws::Vector< DeleteFleetSuccessItem > &&value)
Definition: DeleteFleetsResponse.h:61
DeleteFleetErrorItem.h
Aws::EC2::Model::DeleteFleetsResponse::AddUnsuccessfulFleetDeletions
DeleteFleetsResponse & AddUnsuccessfulFleetDeletions(DeleteFleetErrorItem &&value)
Definition: DeleteFleetsResponse.h:107
Aws::EC2::Model::DeleteFleetsResponse::operator=
DeleteFleetsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteFleetsResponse::AddUnsuccessfulFleetDeletions
DeleteFleetsResponse & AddUnsuccessfulFleetDeletions(const DeleteFleetErrorItem &value)
Definition: DeleteFleetsResponse.h:102
Aws::EC2::Model::DeleteFleetsResponse::WithResponseMetadata
DeleteFleetsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteFleetsResponse.h:120
Aws::EC2::Model::DeleteFleetSuccessItem
Definition: DeleteFleetSuccessItem.h:34
Aws::EC2::Model::DeleteFleetsResponse::AddSuccessfulFleetDeletions
DeleteFleetsResponse & AddSuccessfulFleetDeletions(DeleteFleetSuccessItem &&value)
Definition: DeleteFleetsResponse.h:71
Aws::EC2::Model::DeleteFleetsResponse::GetUnsuccessfulFleetDeletions
const Aws::Vector< DeleteFleetErrorItem > & GetUnsuccessfulFleetDeletions() const
Definition: DeleteFleetsResponse.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteFleetsResponse::WithUnsuccessfulFleetDeletions
DeleteFleetsResponse & WithUnsuccessfulFleetDeletions(Aws::Vector< DeleteFleetErrorItem > &&value)
Definition: DeleteFleetsResponse.h:97
Aws::EC2::Model::DeleteFleetErrorItem
Definition: DeleteFleetErrorItem.h:34
Aws::EC2::Model::DeleteFleetsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteFleetsResponse.h:114
Aws::EC2::Model::DeleteFleetsResponse::SetSuccessfulFleetDeletions
void SetSuccessfulFleetDeletions(Aws::Vector< DeleteFleetSuccessItem > &&value)
Definition: DeleteFleetsResponse.h:51
Aws::EC2::Model::DeleteFleetsResponse::SetUnsuccessfulFleetDeletions
void SetUnsuccessfulFleetDeletions(const Aws::Vector< DeleteFleetErrorItem > &value)
Definition: DeleteFleetsResponse.h:82
Aws::EC2::Model::DeleteFleetsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteFleetsResponse.h:111
EC2_EXPORTS.h
Aws::EC2::Model::DeleteFleetsResponse::DeleteFleetsResponse
DeleteFleetsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteFleetsResponse::SetUnsuccessfulFleetDeletions
void SetUnsuccessfulFleetDeletions(Aws::Vector< DeleteFleetErrorItem > &&value)
Definition: DeleteFleetsResponse.h:87