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