AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PutEventsConfigurationRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Chime
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CHIME_API PutEventsConfigurationRequest() = default;
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 "PutEventsConfiguration"; }
31
32 AWS_CHIME_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetAccountId() const { return m_accountId; }
40 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
41 template<typename AccountIdT = Aws::String>
42 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
43 template<typename AccountIdT = Aws::String>
44 PutEventsConfigurationRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBotId() const { return m_botId; }
52 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
53 template<typename BotIdT = Aws::String>
54 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
55 template<typename BotIdT = Aws::String>
56 PutEventsConfigurationRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetOutboundEventsHTTPSEndpoint() const { return m_outboundEventsHTTPSEndpoint; }
64 inline bool OutboundEventsHTTPSEndpointHasBeenSet() const { return m_outboundEventsHTTPSEndpointHasBeenSet; }
65 template<typename OutboundEventsHTTPSEndpointT = Aws::String>
66 void SetOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT&& value) { m_outboundEventsHTTPSEndpointHasBeenSet = true; m_outboundEventsHTTPSEndpoint = std::forward<OutboundEventsHTTPSEndpointT>(value); }
67 template<typename OutboundEventsHTTPSEndpointT = Aws::String>
68 PutEventsConfigurationRequest& WithOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT&& value) { SetOutboundEventsHTTPSEndpoint(std::forward<OutboundEventsHTTPSEndpointT>(value)); return *this;}
70
72
75 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
76 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
77 template<typename LambdaFunctionArnT = Aws::String>
78 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value); }
79 template<typename LambdaFunctionArnT = Aws::String>
80 PutEventsConfigurationRequest& WithLambdaFunctionArn(LambdaFunctionArnT&& value) { SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value)); return *this;}
82 private:
83
84 Aws::String m_accountId;
85 bool m_accountIdHasBeenSet = false;
86
87 Aws::String m_botId;
88 bool m_botIdHasBeenSet = false;
89
90 Aws::String m_outboundEventsHTTPSEndpoint;
91 bool m_outboundEventsHTTPSEndpointHasBeenSet = false;
92
93 Aws::String m_lambdaFunctionArn;
94 bool m_lambdaFunctionArnHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Chime
99} // namespace Aws
PutEventsConfigurationRequest & WithOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT &&value)
PutEventsConfigurationRequest & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
AWS_CHIME_API PutEventsConfigurationRequest()=default
PutEventsConfigurationRequest & WithBotId(BotIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT &&value)
PutEventsConfigurationRequest & WithAccountId(AccountIdT &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String