AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
AssociateLambdaFunctionRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API AssociateLambdaFunctionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateLambdaFunction"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 AssociateLambdaFunctionRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
56 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
57 template<typename FunctionArnT = Aws::String>
58 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
59 template<typename FunctionArnT = Aws::String>
60 AssociateLambdaFunctionRequest& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
62
64
71 inline const Aws::String& GetClientToken() const { return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 template<typename ClientTokenT = Aws::String>
74 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
75 template<typename ClientTokenT = Aws::String>
76 AssociateLambdaFunctionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
78 private:
79
80 Aws::String m_instanceId;
81 bool m_instanceIdHasBeenSet = false;
82
83 Aws::String m_functionArn;
84 bool m_functionArnHasBeenSet = false;
85
86 Aws::String m_clientToken;
87 bool m_clientTokenHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateLambdaFunctionRequest & WithClientToken(ClientTokenT &&value)
AWS_CONNECT_API AssociateLambdaFunctionRequest()=default
AssociateLambdaFunctionRequest & WithInstanceId(InstanceIdT &&value)
AssociateLambdaFunctionRequest & WithFunctionArn(FunctionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String