AWS SDK for C++  1.9.70
AWS SDK for C++
ClientConnectResponseOptions.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 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline bool GetEnabled() const{ return m_enabled; }
48 
52  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
53 
57  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
58 
62  inline ClientConnectResponseOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
63 
64 
69  inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
70 
75  inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
76 
81  inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
82 
87  inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
88 
93  inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
94 
99  inline ClientConnectResponseOptions& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;}
100 
105  inline ClientConnectResponseOptions& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
106 
111  inline ClientConnectResponseOptions& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
112 
113 
117  inline const ClientVpnEndpointAttributeStatus& GetStatus() const{ return m_status; }
118 
122  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 
127  inline void SetStatus(const ClientVpnEndpointAttributeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
128 
132  inline void SetStatus(ClientVpnEndpointAttributeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
133 
137  inline ClientConnectResponseOptions& WithStatus(const ClientVpnEndpointAttributeStatus& value) { SetStatus(value); return *this;}
138 
142  inline ClientConnectResponseOptions& WithStatus(ClientVpnEndpointAttributeStatus&& value) { SetStatus(std::move(value)); return *this;}
143 
144  private:
145 
146  bool m_enabled;
147  bool m_enabledHasBeenSet;
148 
149  Aws::String m_lambdaFunctionArn;
150  bool m_lambdaFunctionArnHasBeenSet;
151 
153  bool m_statusHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace EC2
158 } // namespace Aws
Aws::EC2::Model::ClientConnectResponseOptions::SetStatus
void SetStatus(ClientVpnEndpointAttributeStatus &&value)
Definition: ClientConnectResponseOptions.h:132
Aws::EC2::Model::ClientConnectResponseOptions::ClientConnectResponseOptions
ClientConnectResponseOptions()
Aws::EC2::Model::ClientConnectResponseOptions::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ClientConnectResponseOptions.h:52
Aws::EC2::Model::ClientConnectResponseOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ClientConnectResponseOptions::SetStatus
void SetStatus(const ClientVpnEndpointAttributeStatus &value)
Definition: ClientConnectResponseOptions.h:127
Aws::EC2::Model::ClientConnectResponseOptions::WithLambdaFunctionArn
ClientConnectResponseOptions & WithLambdaFunctionArn(const Aws::String &value)
Definition: ClientConnectResponseOptions.h:99
Aws::EC2::Model::ClientConnectResponseOptions::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ClientConnectResponseOptions.h:122
Aws::EC2::Model::ClientConnectResponseOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(const Aws::String &value)
Definition: ClientConnectResponseOptions.h:81
Aws::EC2::Model::ClientConnectResponseOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(const char *value)
Definition: ClientConnectResponseOptions.h:93
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::ClientConnectResponseOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(Aws::String &&value)
Definition: ClientConnectResponseOptions.h:87
Aws::EC2::Model::ClientConnectResponseOptions::LambdaFunctionArnHasBeenSet
bool LambdaFunctionArnHasBeenSet() const
Definition: ClientConnectResponseOptions.h:75
Aws::EC2::Model::ClientConnectResponseOptions::operator=
ClientConnectResponseOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ClientConnectResponseOptions::WithEnabled
ClientConnectResponseOptions & WithEnabled(bool value)
Definition: ClientConnectResponseOptions.h:62
Aws::EC2::Model::ClientConnectResponseOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ClientConnectResponseOptions
Definition: ClientConnectResponseOptions.h:34
ClientVpnEndpointAttributeStatus.h
AWSString.h
Aws::EC2::Model::ClientConnectResponseOptions::WithLambdaFunctionArn
ClientConnectResponseOptions & WithLambdaFunctionArn(const char *value)
Definition: ClientConnectResponseOptions.h:111
Aws::EC2::Model::ClientConnectResponseOptions::GetLambdaFunctionArn
const Aws::String & GetLambdaFunctionArn() const
Definition: ClientConnectResponseOptions.h:69
Aws::EC2::Model::ClientConnectResponseOptions::WithStatus
ClientConnectResponseOptions & WithStatus(const ClientVpnEndpointAttributeStatus &value)
Definition: ClientConnectResponseOptions.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ClientConnectResponseOptions::GetEnabled
bool GetEnabled() const
Definition: ClientConnectResponseOptions.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ClientConnectResponseOptions::SetEnabled
void SetEnabled(bool value)
Definition: ClientConnectResponseOptions.h:57
Aws::EC2::Model::ClientConnectResponseOptions::WithStatus
ClientConnectResponseOptions & WithStatus(ClientVpnEndpointAttributeStatus &&value)
Definition: ClientConnectResponseOptions.h:142
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ClientVpnEndpointAttributeStatus
Definition: ClientVpnEndpointAttributeStatus.h:34
Aws::EC2::Model::ClientConnectResponseOptions::GetStatus
const ClientVpnEndpointAttributeStatus & GetStatus() const
Definition: ClientConnectResponseOptions.h:117
Aws::EC2::Model::ClientConnectResponseOptions::ClientConnectResponseOptions
ClientConnectResponseOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ClientConnectResponseOptions::WithLambdaFunctionArn
ClientConnectResponseOptions & WithLambdaFunctionArn(Aws::String &&value)
Definition: ClientConnectResponseOptions.h:105
EC2_EXPORTS.h