AWS SDK for C++  1.9.73
AWS SDK for C++
CreateClientVpnEndpointResponse.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 
40  inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
41 
45  inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointId = value; }
46 
50  inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointId = std::move(value); }
51 
55  inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointId.assign(value); }
56 
60  inline CreateClientVpnEndpointResponse& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
61 
65  inline CreateClientVpnEndpointResponse& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
66 
70  inline CreateClientVpnEndpointResponse& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
71 
72 
76  inline const ClientVpnEndpointStatus& GetStatus() const{ return m_status; }
77 
81  inline void SetStatus(const ClientVpnEndpointStatus& value) { m_status = value; }
82 
86  inline void SetStatus(ClientVpnEndpointStatus&& value) { m_status = std::move(value); }
87 
91  inline CreateClientVpnEndpointResponse& WithStatus(const ClientVpnEndpointStatus& value) { SetStatus(value); return *this;}
92 
96  inline CreateClientVpnEndpointResponse& WithStatus(ClientVpnEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
97 
98 
102  inline const Aws::String& GetDnsName() const{ return m_dnsName; }
103 
107  inline void SetDnsName(const Aws::String& value) { m_dnsName = value; }
108 
112  inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); }
113 
117  inline void SetDnsName(const char* value) { m_dnsName.assign(value); }
118 
122  inline CreateClientVpnEndpointResponse& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
123 
127  inline CreateClientVpnEndpointResponse& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
128 
132  inline CreateClientVpnEndpointResponse& WithDnsName(const char* value) { SetDnsName(value); return *this;}
133 
134 
135 
136  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
137 
138 
139  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
140 
141 
142  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
143 
144 
145  inline CreateClientVpnEndpointResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
146 
147 
148  inline CreateClientVpnEndpointResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
149 
150  private:
151 
152  Aws::String m_clientVpnEndpointId;
153 
154  ClientVpnEndpointStatus m_status;
155 
156  Aws::String m_dnsName;
157 
158  ResponseMetadata m_responseMetadata;
159  };
160 
161 } // namespace Model
162 } // namespace EC2
163 } // namespace Aws
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithResponseMetadata
CreateClientVpnEndpointResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateClientVpnEndpointResponse.h:145
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithDnsName
CreateClientVpnEndpointResponse & WithDnsName(const Aws::String &value)
Definition: CreateClientVpnEndpointResponse.h:122
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithStatus
CreateClientVpnEndpointResponse & WithStatus(ClientVpnEndpointStatus &&value)
Definition: CreateClientVpnEndpointResponse.h:96
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetDnsName
void SetDnsName(Aws::String &&value)
Definition: CreateClientVpnEndpointResponse.h:112
ResponseMetadata.h
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithDnsName
CreateClientVpnEndpointResponse & WithDnsName(const char *value)
Definition: CreateClientVpnEndpointResponse.h:132
Aws::EC2::Model::CreateClientVpnEndpointResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateClientVpnEndpointResponse.h:136
Aws::EC2::Model::CreateClientVpnEndpointResponse::GetDnsName
const Aws::String & GetDnsName() const
Definition: CreateClientVpnEndpointResponse.h:102
ClientVpnEndpointStatus.h
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: CreateClientVpnEndpointResponse.h:50
Aws::EC2::Model::CreateClientVpnEndpointResponse::GetStatus
const ClientVpnEndpointStatus & GetStatus() const
Definition: CreateClientVpnEndpointResponse.h:76
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithClientVpnEndpointId
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(const Aws::String &value)
Definition: CreateClientVpnEndpointResponse.h:60
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetStatus
void SetStatus(const ClientVpnEndpointStatus &value)
Definition: CreateClientVpnEndpointResponse.h:81
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: CreateClientVpnEndpointResponse.h:45
Aws::EC2::Model::CreateClientVpnEndpointResponse::operator=
CreateClientVpnEndpointResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetDnsName
void SetDnsName(const Aws::String &value)
Definition: CreateClientVpnEndpointResponse.h:107
Aws::EC2::Model::CreateClientVpnEndpointResponse::CreateClientVpnEndpointResponse
CreateClientVpnEndpointResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateClientVpnEndpointResponse.h:142
AWSString.h
Aws::EC2::Model::ClientVpnEndpointStatus
Definition: ClientVpnEndpointStatus.h:33
Aws::EC2::Model::CreateClientVpnEndpointResponse::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: CreateClientVpnEndpointResponse.h:40
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithClientVpnEndpointId
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(Aws::String &&value)
Definition: CreateClientVpnEndpointResponse.h:65
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetDnsName
void SetDnsName(const char *value)
Definition: CreateClientVpnEndpointResponse.h:117
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithStatus
CreateClientVpnEndpointResponse & WithStatus(const ClientVpnEndpointStatus &value)
Definition: CreateClientVpnEndpointResponse.h:91
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateClientVpnEndpointResponse.h:139
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: CreateClientVpnEndpointResponse.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithClientVpnEndpointId
CreateClientVpnEndpointResponse & WithClientVpnEndpointId(const char *value)
Definition: CreateClientVpnEndpointResponse.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithDnsName
CreateClientVpnEndpointResponse & WithDnsName(Aws::String &&value)
Definition: CreateClientVpnEndpointResponse.h:127
Aws::EC2::Model::CreateClientVpnEndpointResponse::SetStatus
void SetStatus(ClientVpnEndpointStatus &&value)
Definition: CreateClientVpnEndpointResponse.h:86
Aws::EC2::Model::CreateClientVpnEndpointResponse::WithResponseMetadata
CreateClientVpnEndpointResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateClientVpnEndpointResponse.h:148
Aws::EC2::Model::CreateClientVpnEndpointResponse::CreateClientVpnEndpointResponse
CreateClientVpnEndpointResponse()
EC2_EXPORTS.h
Aws::EC2::Model::CreateClientVpnEndpointResponse
Definition: CreateClientVpnEndpointResponse.h:30