AWS SDK for C++  1.9.102
AWS SDK for C++
ClientConnectOptions.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline bool GetEnabled() const{ return m_enabled; }
48 
53  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 
59  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
60 
65  inline ClientConnectOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
66 
67 
72  inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
73 
78  inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
79 
84  inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
85 
90  inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
91 
96  inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
97 
102  inline ClientConnectOptions& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;}
103 
108  inline ClientConnectOptions& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
109 
114  inline ClientConnectOptions& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
115 
116  private:
117 
118  bool m_enabled;
119  bool m_enabledHasBeenSet;
120 
121  Aws::String m_lambdaFunctionArn;
122  bool m_lambdaFunctionArnHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace EC2
127 } // namespace Aws
Aws::EC2::Model::ClientConnectOptions::WithLambdaFunctionArn
ClientConnectOptions & WithLambdaFunctionArn(Aws::String &&value)
Definition: ClientConnectOptions.h:108
Aws::EC2::Model::ClientConnectOptions::WithLambdaFunctionArn
ClientConnectOptions & WithLambdaFunctionArn(const Aws::String &value)
Definition: ClientConnectOptions.h:102
Aws::EC2::Model::ClientConnectOptions
Definition: ClientConnectOptions.h:33
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::ClientConnectOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(const char *value)
Definition: ClientConnectOptions.h:96
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ClientConnectOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(const Aws::String &value)
Definition: ClientConnectOptions.h:84
Aws::EC2::Model::ClientConnectOptions::GetLambdaFunctionArn
const Aws::String & GetLambdaFunctionArn() const
Definition: ClientConnectOptions.h:72
Aws::EC2::Model::ClientConnectOptions::WithLambdaFunctionArn
ClientConnectOptions & WithLambdaFunctionArn(const char *value)
Definition: ClientConnectOptions.h:114
Aws::EC2::Model::ClientConnectOptions::ClientConnectOptions
ClientConnectOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ClientConnectOptions::WithEnabled
ClientConnectOptions & WithEnabled(bool value)
Definition: ClientConnectOptions.h:65
AWSString.h
Aws::EC2::Model::ClientConnectOptions::SetEnabled
void SetEnabled(bool value)
Definition: ClientConnectOptions.h:59
Aws::EC2::Model::ClientConnectOptions::SetLambdaFunctionArn
void SetLambdaFunctionArn(Aws::String &&value)
Definition: ClientConnectOptions.h:90
Aws::EC2::Model::ClientConnectOptions::operator=
ClientConnectOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ClientConnectOptions::GetEnabled
bool GetEnabled() const
Definition: ClientConnectOptions.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ClientConnectOptions::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ClientConnectOptions.h:53
Aws::EC2::Model::ClientConnectOptions::ClientConnectOptions
ClientConnectOptions()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ClientConnectOptions::LambdaFunctionArnHasBeenSet
bool LambdaFunctionArnHasBeenSet() const
Definition: ClientConnectOptions.h:78
Aws::EC2::Model::ClientConnectOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
EC2_EXPORTS.h
Aws::EC2::Model::ClientConnectOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const