AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptVpcEndpointConnectionsResponse.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/UnsuccessfulItem.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::Vector<UnsuccessfulItem>& GetUnsuccessful() const{ return m_unsuccessful; }
43 inline void SetUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { m_unsuccessful = value; }
44 inline void SetUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { m_unsuccessful = std::move(value); }
47 inline AcceptVpcEndpointConnectionsResponse& AddUnsuccessful(const UnsuccessfulItem& value) { m_unsuccessful.push_back(value); return *this; }
48 inline AcceptVpcEndpointConnectionsResponse& AddUnsuccessful(UnsuccessfulItem&& value) { m_unsuccessful.push_back(std::move(value)); return *this; }
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
55 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
59 private:
60
61 Aws::Vector<UnsuccessfulItem> m_unsuccessful;
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace EC2
68} // namespace Aws
const Aws::Vector< UnsuccessfulItem > & GetUnsuccessful() const
AcceptVpcEndpointConnectionsResponse & AddUnsuccessful(UnsuccessfulItem &&value)
AcceptVpcEndpointConnectionsResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
AWS_EC2_API AcceptVpcEndpointConnectionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API AcceptVpcEndpointConnectionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AcceptVpcEndpointConnectionsResponse & WithUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
AcceptVpcEndpointConnectionsResponse & AddUnsuccessful(const UnsuccessfulItem &value)
AcceptVpcEndpointConnectionsResponse & WithUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
AcceptVpcEndpointConnectionsResponse & WithResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument