AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_QBUSINESS_API ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
61 inline const ChatMode& GetChatMode() const{ return m_chatMode; }
62 inline bool ChatModeHasBeenSet() const { return m_chatModeHasBeenSet; }
63 inline void SetChatMode(const ChatMode& value) { m_chatModeHasBeenSet = true; m_chatMode = value; }
64 inline void SetChatMode(ChatMode&& value) { m_chatModeHasBeenSet = true; m_chatMode = std::move(value); }
65 inline ConfigurationEvent& WithChatMode(const ChatMode& value) { SetChatMode(value); return *this;}
66 inline ConfigurationEvent& WithChatMode(ChatMode&& value) { SetChatMode(std::move(value)); return *this;}
68
70
71 inline const ChatModeConfiguration& GetChatModeConfiguration() const{ return m_chatModeConfiguration; }
72 inline bool ChatModeConfigurationHasBeenSet() const { return m_chatModeConfigurationHasBeenSet; }
73 inline void SetChatModeConfiguration(const ChatModeConfiguration& value) { m_chatModeConfigurationHasBeenSet = true; m_chatModeConfiguration = value; }
74 inline void SetChatModeConfiguration(ChatModeConfiguration&& value) { m_chatModeConfigurationHasBeenSet = true; m_chatModeConfiguration = std::move(value); }
78
80
81 inline const AttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; }
82 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
83 inline void SetAttributeFilter(const AttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; }
84 inline void SetAttributeFilter(AttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); }
85 inline ConfigurationEvent& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;}
86 inline ConfigurationEvent& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;}
88 private:
89
90 ChatMode m_chatMode;
91 bool m_chatModeHasBeenSet = false;
92
93 ChatModeConfiguration m_chatModeConfiguration;
94 bool m_chatModeConfigurationHasBeenSet = false;
95
96 AttributeFilter m_attributeFilter;
97 bool m_attributeFilterHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace QBusiness
102} // namespace Aws
ConfigurationEvent & WithAttributeFilter(const AttributeFilter &value)
AWS_QBUSINESS_API ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue)
ConfigurationEvent & WithChatModeConfiguration(ChatModeConfiguration &&value)
void SetAttributeFilter(const AttributeFilter &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributeFilter(AttributeFilter &&value)
ConfigurationEvent & WithChatMode(const ChatMode &value)
ConfigurationEvent & WithChatMode(ChatMode &&value)
void SetChatModeConfiguration(const ChatModeConfiguration &value)
AWS_QBUSINESS_API ConfigurationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChatModeConfiguration(ChatModeConfiguration &&value)
ConfigurationEvent & WithAttributeFilter(AttributeFilter &&value)
const AttributeFilter & GetAttributeFilter() const
const ChatModeConfiguration & GetChatModeConfiguration() const
ConfigurationEvent & WithChatModeConfiguration(const ChatModeConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue