AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConfigurationEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/ChatMode.h>
9#include <aws/qbusiness/model/ChatModeConfiguration.h>
10#include <aws/qbusiness/model/AttributeFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API ConfigurationEvent() = default;
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
61 inline ChatMode GetChatMode() const { return m_chatMode; }
62 inline bool ChatModeHasBeenSet() const { return m_chatModeHasBeenSet; }
63 inline void SetChatMode(ChatMode value) { m_chatModeHasBeenSet = true; m_chatMode = value; }
64 inline ConfigurationEvent& WithChatMode(ChatMode value) { SetChatMode(value); return *this;}
66
68
69 inline const ChatModeConfiguration& GetChatModeConfiguration() const { return m_chatModeConfiguration; }
70 inline bool ChatModeConfigurationHasBeenSet() const { return m_chatModeConfigurationHasBeenSet; }
71 template<typename ChatModeConfigurationT = ChatModeConfiguration>
72 void SetChatModeConfiguration(ChatModeConfigurationT&& value) { m_chatModeConfigurationHasBeenSet = true; m_chatModeConfiguration = std::forward<ChatModeConfigurationT>(value); }
73 template<typename ChatModeConfigurationT = ChatModeConfiguration>
74 ConfigurationEvent& WithChatModeConfiguration(ChatModeConfigurationT&& value) { SetChatModeConfiguration(std::forward<ChatModeConfigurationT>(value)); return *this;}
76
78
79 inline const AttributeFilter& GetAttributeFilter() const { return m_attributeFilter; }
80 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
81 template<typename AttributeFilterT = AttributeFilter>
82 void SetAttributeFilter(AttributeFilterT&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::forward<AttributeFilterT>(value); }
83 template<typename AttributeFilterT = AttributeFilter>
84 ConfigurationEvent& WithAttributeFilter(AttributeFilterT&& value) { SetAttributeFilter(std::forward<AttributeFilterT>(value)); return *this;}
86 private:
87
88 ChatMode m_chatMode{ChatMode::NOT_SET};
89 bool m_chatModeHasBeenSet = false;
90
91 ChatModeConfiguration m_chatModeConfiguration;
92 bool m_chatModeConfigurationHasBeenSet = false;
93
94 AttributeFilter m_attributeFilter;
95 bool m_attributeFilterHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace QBusiness
100} // 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