AWS SDK for C++  1.9.74
AWS SDK for C++
DeleteVpcEndpointConnectionNotificationsResponse.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 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<UnsuccessfulItem>& GetUnsuccessful() const{ return m_unsuccessful; }
42 
47  inline void SetUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { m_unsuccessful = value; }
48 
53  inline void SetUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { m_unsuccessful = std::move(value); }
54 
59  inline DeleteVpcEndpointConnectionNotificationsResponse& WithUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { SetUnsuccessful(value); return *this;}
60 
65  inline DeleteVpcEndpointConnectionNotificationsResponse& WithUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { SetUnsuccessful(std::move(value)); return *this;}
66 
71  inline DeleteVpcEndpointConnectionNotificationsResponse& AddUnsuccessful(const UnsuccessfulItem& value) { m_unsuccessful.push_back(value); return *this; }
72 
77  inline DeleteVpcEndpointConnectionNotificationsResponse& AddUnsuccessful(UnsuccessfulItem&& value) { m_unsuccessful.push_back(std::move(value)); return *this; }
78 
79 
80 
81  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 
83 
84  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
85 
86 
87  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 
89 
90  inline DeleteVpcEndpointConnectionNotificationsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
91 
92 
93  inline DeleteVpcEndpointConnectionNotificationsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 
95  private:
96 
97  Aws::Vector<UnsuccessfulItem> m_unsuccessful;
98 
99  ResponseMetadata m_responseMetadata;
100  };
101 
102 } // namespace Model
103 } // namespace EC2
104 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::operator=
DeleteVpcEndpointConnectionNotificationsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::WithResponseMetadata
DeleteVpcEndpointConnectionNotificationsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:93
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::SetUnsuccessful
void SetUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:53
Aws::EC2::Model::UnsuccessfulItem
Definition: UnsuccessfulItem.h:34
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:30
AWSVector.h
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::SetUnsuccessful
void SetUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:47
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::DeleteVpcEndpointConnectionNotificationsResponse
DeleteVpcEndpointConnectionNotificationsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::WithUnsuccessful
DeleteVpcEndpointConnectionNotificationsResponse & WithUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:59
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::WithResponseMetadata
DeleteVpcEndpointConnectionNotificationsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:90
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::DeleteVpcEndpointConnectionNotificationsResponse
DeleteVpcEndpointConnectionNotificationsResponse()
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:81
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::WithUnsuccessful
DeleteVpcEndpointConnectionNotificationsResponse & WithUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:65
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:87
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::GetUnsuccessful
const Aws::Vector< UnsuccessfulItem > & GetUnsuccessful() const
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:41
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:84
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::AddUnsuccessful
DeleteVpcEndpointConnectionNotificationsResponse & AddUnsuccessful(UnsuccessfulItem &&value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsResponse::AddUnsuccessful
DeleteVpcEndpointConnectionNotificationsResponse & AddUnsuccessful(const UnsuccessfulItem &value)
Definition: DeleteVpcEndpointConnectionNotificationsResponse.h:71
EC2_EXPORTS.h
UnsuccessfulItem.h