AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteVpcEndpointsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<UnsuccessfulItem>& GetUnsuccessful() const{ return m_unsuccessful; }
46 
50  inline void SetUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { m_unsuccessful = value; }
51 
55  inline void SetUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { m_unsuccessful = std::move(value); }
56 
60  inline DeleteVpcEndpointsResponse& WithUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { SetUnsuccessful(value); return *this;}
61 
65  inline DeleteVpcEndpointsResponse& WithUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { SetUnsuccessful(std::move(value)); return *this;}
66 
70  inline DeleteVpcEndpointsResponse& AddUnsuccessful(const UnsuccessfulItem& value) { m_unsuccessful.push_back(value); return *this; }
71 
75  inline DeleteVpcEndpointsResponse& AddUnsuccessful(UnsuccessfulItem&& value) { m_unsuccessful.push_back(std::move(value)); return *this; }
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline DeleteVpcEndpointsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline DeleteVpcEndpointsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::Vector<UnsuccessfulItem> m_unsuccessful;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace EC2
102 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteVpcEndpointsResponse::WithUnsuccessful
DeleteVpcEndpointsResponse & WithUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
Definition: DeleteVpcEndpointsResponse.h:60
Aws::EC2::Model::UnsuccessfulItem
Definition: UnsuccessfulItem.h:34
Aws::EC2::Model::DeleteVpcEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteVpcEndpointsResponse.h:82
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeleteVpcEndpointsResponse::SetUnsuccessful
void SetUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
Definition: DeleteVpcEndpointsResponse.h:50
Aws::EC2::Model::DeleteVpcEndpointsResponse
Definition: DeleteVpcEndpointsResponse.h:35
ResponseMetadata.h
Aws::EC2::Model::DeleteVpcEndpointsResponse::DeleteVpcEndpointsResponse
DeleteVpcEndpointsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DeleteVpcEndpointsResponse::AddUnsuccessful
DeleteVpcEndpointsResponse & AddUnsuccessful(UnsuccessfulItem &&value)
Definition: DeleteVpcEndpointsResponse.h:75
Aws::EC2::Model::DeleteVpcEndpointsResponse::operator=
DeleteVpcEndpointsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteVpcEndpointsResponse::SetUnsuccessful
void SetUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
Definition: DeleteVpcEndpointsResponse.h:55
Aws::EC2::Model::DeleteVpcEndpointsResponse::GetUnsuccessful
const Aws::Vector< UnsuccessfulItem > & GetUnsuccessful() const
Definition: DeleteVpcEndpointsResponse.h:45
Aws::EC2::Model::DeleteVpcEndpointsResponse::DeleteVpcEndpointsResponse
DeleteVpcEndpointsResponse()
Aws::EC2::Model::DeleteVpcEndpointsResponse::AddUnsuccessful
DeleteVpcEndpointsResponse & AddUnsuccessful(const UnsuccessfulItem &value)
Definition: DeleteVpcEndpointsResponse.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteVpcEndpointsResponse::WithUnsuccessful
DeleteVpcEndpointsResponse & WithUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
Definition: DeleteVpcEndpointsResponse.h:65
Aws::EC2::Model::DeleteVpcEndpointsResponse::WithResponseMetadata
DeleteVpcEndpointsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteVpcEndpointsResponse.h:91
Aws::EC2::Model::DeleteVpcEndpointsResponse::WithResponseMetadata
DeleteVpcEndpointsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteVpcEndpointsResponse.h:88
Aws::EC2::Model::DeleteVpcEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteVpcEndpointsResponse.h:85
EC2_EXPORTS.h
UnsuccessfulItem.h
Aws::EC2::Model::DeleteVpcEndpointsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteVpcEndpointsResponse.h:79