AWS SDK for C++  1.9.131
AWS SDK for C++
AssociateLambdaFunctionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "AssociateLambdaFunction"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline AssociateLambdaFunctionRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline AssociateLambdaFunctionRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline AssociateLambdaFunctionRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
88  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
89 
94  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
95 
100  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
101 
106  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
107 
112  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
113 
118  inline AssociateLambdaFunctionRequest& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
119 
124  inline AssociateLambdaFunctionRequest& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
125 
130  inline AssociateLambdaFunctionRequest& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
131 
132  private:
133 
134  Aws::String m_instanceId;
135  bool m_instanceIdHasBeenSet;
136 
137  Aws::String m_functionArn;
138  bool m_functionArnHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace Connect
143 } // namespace Aws
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: AssociateLambdaFunctionRequest.h:106
Aws::Connect::Model::AssociateLambdaFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: AssociateLambdaFunctionRequest.h:51
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: AssociateLambdaFunctionRequest.h:57
Aws::Connect::Model::AssociateLambdaFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateLambdaFunctionRequest.h:30
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: AssociateLambdaFunctionRequest.h:100
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithInstanceId
AssociateLambdaFunctionRequest & WithInstanceId(const Aws::String &value)
Definition: AssociateLambdaFunctionRequest.h:69
Aws::Connect::Model::AssociateLambdaFunctionRequest::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: AssociateLambdaFunctionRequest.h:94
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithFunctionArn
AssociateLambdaFunctionRequest & WithFunctionArn(Aws::String &&value)
Definition: AssociateLambdaFunctionRequest.h:124
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithFunctionArn
AssociateLambdaFunctionRequest & WithFunctionArn(const char *value)
Definition: AssociateLambdaFunctionRequest.h:130
AWSString.h
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithInstanceId
AssociateLambdaFunctionRequest & WithInstanceId(const char *value)
Definition: AssociateLambdaFunctionRequest.h:81
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: AssociateLambdaFunctionRequest.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AssociateLambdaFunctionRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: AssociateLambdaFunctionRequest.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::AssociateLambdaFunctionRequest::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: AssociateLambdaFunctionRequest.h:88
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithFunctionArn
AssociateLambdaFunctionRequest & WithFunctionArn(const Aws::String &value)
Definition: AssociateLambdaFunctionRequest.h:118
Aws::Connect::Model::AssociateLambdaFunctionRequest
Definition: AssociateLambdaFunctionRequest.h:22
Aws::Connect::Model::AssociateLambdaFunctionRequest::WithInstanceId
AssociateLambdaFunctionRequest & WithInstanceId(Aws::String &&value)
Definition: AssociateLambdaFunctionRequest.h:75
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::AssociateLambdaFunctionRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: AssociateLambdaFunctionRequest.h:63
Aws::Connect::Model::AssociateLambdaFunctionRequest::AssociateLambdaFunctionRequest
AssociateLambdaFunctionRequest()
Aws::Connect::Model::AssociateLambdaFunctionRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: AssociateLambdaFunctionRequest.h:39
Connect_EXPORTS.h
ConnectRequest.h