AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EventsConfiguration.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Chime {
20namespace Model {
21
29 public:
30 AWS_CHIME_API EventsConfiguration() = default;
33 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
47 EventsConfiguration& WithBotId(BotIdT&& value) {
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOutboundEventsHTTPSEndpoint() const { return m_outboundEventsHTTPSEndpoint; }
58 inline bool OutboundEventsHTTPSEndpointHasBeenSet() const { return m_outboundEventsHTTPSEndpointHasBeenSet; }
59 template <typename OutboundEventsHTTPSEndpointT = Aws::String>
60 void SetOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT&& value) {
61 m_outboundEventsHTTPSEndpointHasBeenSet = true;
62 m_outboundEventsHTTPSEndpoint = std::forward<OutboundEventsHTTPSEndpointT>(value);
63 }
64 template <typename OutboundEventsHTTPSEndpointT = Aws::String>
65 EventsConfiguration& WithOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT&& value) {
66 SetOutboundEventsHTTPSEndpoint(std::forward<OutboundEventsHTTPSEndpointT>(value));
67 return *this;
68 }
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) {
79 m_lambdaFunctionArnHasBeenSet = true;
80 m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value);
81 }
82 template <typename LambdaFunctionArnT = Aws::String>
83 EventsConfiguration& WithLambdaFunctionArn(LambdaFunctionArnT&& value) {
84 SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_botId;
90
91 Aws::String m_outboundEventsHTTPSEndpoint;
92
93 Aws::String m_lambdaFunctionArn;
94 bool m_botIdHasBeenSet = false;
95 bool m_outboundEventsHTTPSEndpointHasBeenSet = false;
96 bool m_lambdaFunctionArnHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Chime
101} // namespace Aws
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
EventsConfiguration & WithBotId(BotIdT &&value)
AWS_CHIME_API EventsConfiguration(Aws::Utils::Json::JsonView jsonValue)
EventsConfiguration & WithOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT &&value)
AWS_CHIME_API EventsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLambdaFunctionArn() const
EventsConfiguration & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
const Aws::String & GetOutboundEventsHTTPSEndpoint() const
void SetLambdaFunctionArn(LambdaFunctionArnT &&value)
void SetOutboundEventsHTTPSEndpoint(OutboundEventsHTTPSEndpointT &&value)
AWS_CHIME_API EventsConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue