AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateClientVpnConnectionsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/TerminateConnectionStatus.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:
36
37
39
42 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
43 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointId = value; }
44 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointId = std::move(value); }
45 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointId.assign(value); }
50
52
55 inline const Aws::String& GetUsername() const{ return m_username; }
56 inline void SetUsername(const Aws::String& value) { m_username = value; }
57 inline void SetUsername(Aws::String&& value) { m_username = std::move(value); }
58 inline void SetUsername(const char* value) { m_username.assign(value); }
59 inline TerminateClientVpnConnectionsResponse& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
60 inline TerminateClientVpnConnectionsResponse& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
61 inline TerminateClientVpnConnectionsResponse& WithUsername(const char* value) { SetUsername(value); return *this;}
63
65
68 inline const Aws::Vector<TerminateConnectionStatus>& GetConnectionStatuses() const{ return m_connectionStatuses; }
69 inline void SetConnectionStatuses(const Aws::Vector<TerminateConnectionStatus>& value) { m_connectionStatuses = value; }
70 inline void SetConnectionStatuses(Aws::Vector<TerminateConnectionStatus>&& value) { m_connectionStatuses = std::move(value); }
73 inline TerminateClientVpnConnectionsResponse& AddConnectionStatuses(const TerminateConnectionStatus& value) { m_connectionStatuses.push_back(value); return *this; }
74 inline TerminateClientVpnConnectionsResponse& AddConnectionStatuses(TerminateConnectionStatus&& value) { m_connectionStatuses.push_back(std::move(value)); return *this; }
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
81 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 private:
86
87 Aws::String m_clientVpnEndpointId;
88
89 Aws::String m_username;
90
91 Aws::Vector<TerminateConnectionStatus> m_connectionStatuses;
92
93 ResponseMetadata m_responseMetadata;
94 };
95
96} // namespace Model
97} // namespace EC2
98} // namespace Aws
TerminateClientVpnConnectionsResponse & WithConnectionStatuses(Aws::Vector< TerminateConnectionStatus > &&value)
TerminateClientVpnConnectionsResponse & AddConnectionStatuses(const TerminateConnectionStatus &value)
TerminateClientVpnConnectionsResponse & WithConnectionStatuses(const Aws::Vector< TerminateConnectionStatus > &value)
TerminateClientVpnConnectionsResponse & WithClientVpnEndpointId(const char *value)
AWS_EC2_API TerminateClientVpnConnectionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< TerminateConnectionStatus > & GetConnectionStatuses() const
AWS_EC2_API TerminateClientVpnConnectionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetConnectionStatuses(Aws::Vector< TerminateConnectionStatus > &&value)
TerminateClientVpnConnectionsResponse & AddConnectionStatuses(TerminateConnectionStatus &&value)
TerminateClientVpnConnectionsResponse & WithResponseMetadata(ResponseMetadata &&value)
TerminateClientVpnConnectionsResponse & WithUsername(const Aws::String &value)
void SetConnectionStatuses(const Aws::Vector< TerminateConnectionStatus > &value)
TerminateClientVpnConnectionsResponse & WithClientVpnEndpointId(Aws::String &&value)
TerminateClientVpnConnectionsResponse & WithUsername(Aws::String &&value)
TerminateClientVpnConnectionsResponse & WithClientVpnEndpointId(const Aws::String &value)
TerminateClientVpnConnectionsResponse & WithResponseMetadata(const ResponseMetadata &value)
TerminateClientVpnConnectionsResponse & WithUsername(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument