AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateClientVpnEndpointResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ClientVpnEndpointStatus.h>
10#include <aws/ec2/model/ResponseMetadata.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
41 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
42 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointId = value; }
43 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointId = std::move(value); }
44 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointId.assign(value); }
47 inline CreateClientVpnEndpointResponse& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
49
51
54 inline const ClientVpnEndpointStatus& GetStatus() const{ return m_status; }
55 inline void SetStatus(const ClientVpnEndpointStatus& value) { m_status = value; }
56 inline void SetStatus(ClientVpnEndpointStatus&& value) { m_status = std::move(value); }
57 inline CreateClientVpnEndpointResponse& WithStatus(const ClientVpnEndpointStatus& value) { SetStatus(value); return *this;}
58 inline CreateClientVpnEndpointResponse& WithStatus(ClientVpnEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
66 inline void SetDnsName(const Aws::String& value) { m_dnsName = value; }
67 inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); }
68 inline void SetDnsName(const char* value) { m_dnsName.assign(value); }
69 inline CreateClientVpnEndpointResponse& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
70 inline CreateClientVpnEndpointResponse& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
71 inline CreateClientVpnEndpointResponse& WithDnsName(const char* value) { SetDnsName(value); return *this;}
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
77 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
82 private:
83
84 Aws::String m_clientVpnEndpointId;
85
87
88 Aws::String m_dnsName;
89
90 ResponseMetadata m_responseMetadata;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
CreateClientVpnEndpointResponse & WithDnsName(const Aws::String &value)
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(const Aws::String &value)
AWS_EC2_API CreateClientVpnEndpointResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateClientVpnEndpointResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(const char *value)
AWS_EC2_API CreateClientVpnEndpointResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateClientVpnEndpointResponse & WithStatus(const ClientVpnEndpointStatus &value)
CreateClientVpnEndpointResponse & WithDnsName(const char *value)
CreateClientVpnEndpointResponse & WithDnsName(Aws::String &&value)
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(Aws::String &&value)
CreateClientVpnEndpointResponse & WithStatus(ClientVpnEndpointStatus &&value)
CreateClientVpnEndpointResponse & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument