AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ConfigurationEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/AttributeFilter.h>
9#include <aws/qbusiness/model/ChatMode.h>
10#include <aws/qbusiness/model/ChatModeConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
31 public:
32 AWS_QBUSINESS_API ConfigurationEvent() = default;
35 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
55 inline ChatMode GetChatMode() const { return m_chatMode; }
56 inline bool ChatModeHasBeenSet() const { return m_chatModeHasBeenSet; }
57 inline void SetChatMode(ChatMode value) {
58 m_chatModeHasBeenSet = true;
59 m_chatMode = value;
60 }
62 SetChatMode(value);
63 return *this;
64 }
66
68
69 inline const ChatModeConfiguration& GetChatModeConfiguration() const { return m_chatModeConfiguration; }
70 inline bool ChatModeConfigurationHasBeenSet() const { return m_chatModeConfigurationHasBeenSet; }
71 template <typename ChatModeConfigurationT = ChatModeConfiguration>
73 m_chatModeConfigurationHasBeenSet = true;
74 m_chatModeConfiguration = std::forward<ChatModeConfigurationT>(value);
75 }
76 template <typename ChatModeConfigurationT = ChatModeConfiguration>
78 SetChatModeConfiguration(std::forward<ChatModeConfigurationT>(value));
79 return *this;
80 }
82
84
85 inline const AttributeFilter& GetAttributeFilter() const { return m_attributeFilter; }
86 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
87 template <typename AttributeFilterT = AttributeFilter>
89 m_attributeFilterHasBeenSet = true;
90 m_attributeFilter = std::forward<AttributeFilterT>(value);
91 }
92 template <typename AttributeFilterT = AttributeFilter>
94 SetAttributeFilter(std::forward<AttributeFilterT>(value));
95 return *this;
96 }
98 private:
99 ChatMode m_chatMode{ChatMode::NOT_SET};
100
101 ChatModeConfiguration m_chatModeConfiguration;
102
103 AttributeFilter m_attributeFilter;
104 bool m_chatModeHasBeenSet = false;
105 bool m_chatModeConfigurationHasBeenSet = false;
106 bool m_attributeFilterHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace QBusiness
111} // namespace Aws
AWS_QBUSINESS_API ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue)
ConfigurationEvent & WithChatModeConfiguration(ChatModeConfigurationT &&value)
ConfigurationEvent & WithAttributeFilter(AttributeFilterT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChatModeConfiguration(ChatModeConfigurationT &&value)
AWS_QBUSINESS_API ConfigurationEvent()=default
AWS_QBUSINESS_API ConfigurationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationEvent & WithChatMode(ChatMode value)
const AttributeFilter & GetAttributeFilter() const
const ChatModeConfiguration & GetChatModeConfiguration() const
void SetAttributeFilter(AttributeFilterT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue