AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ConversationalAnalyticsConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactLensChannelConfiguration.h>
9#include <aws/connect/model/ContactLensRedactionConfiguration.h>
10#include <aws/connect/model/ContactLensSentimentConfiguration.h>
11#include <aws/connect/model/ContactLensSummaryConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect {
25namespace Model {
26
34 public:
35 AWS_CONNECT_API ConversationalAnalyticsConfiguration() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline bool GetEnabled() const { return m_enabled; }
45 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
46 inline void SetEnabled(bool value) {
47 m_enabledHasBeenSet = true;
48 m_enabled = value;
49 }
51 SetEnabled(value);
52 return *this;
53 }
55
57
61 inline const Aws::String& GetLanguageLocale() const { return m_languageLocale; }
62 inline bool LanguageLocaleHasBeenSet() const { return m_languageLocaleHasBeenSet; }
63 template <typename LanguageLocaleT = Aws::String>
64 void SetLanguageLocale(LanguageLocaleT&& value) {
65 m_languageLocaleHasBeenSet = true;
66 m_languageLocale = std::forward<LanguageLocaleT>(value);
67 }
68 template <typename LanguageLocaleT = Aws::String>
70 SetLanguageLocale(std::forward<LanguageLocaleT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::Vector<Aws::String>& GetLanguageLocales() const { return m_languageLocales; }
81 inline bool LanguageLocalesHasBeenSet() const { return m_languageLocalesHasBeenSet; }
82 template <typename LanguageLocalesT = Aws::Vector<Aws::String>>
83 void SetLanguageLocales(LanguageLocalesT&& value) {
84 m_languageLocalesHasBeenSet = true;
85 m_languageLocales = std::forward<LanguageLocalesT>(value);
86 }
87 template <typename LanguageLocalesT = Aws::Vector<Aws::String>>
89 SetLanguageLocales(std::forward<LanguageLocalesT>(value));
90 return *this;
91 }
92 template <typename LanguageLocalesT = Aws::String>
94 m_languageLocalesHasBeenSet = true;
95 m_languageLocales.emplace_back(std::forward<LanguageLocalesT>(value));
96 return *this;
97 }
99
101
104 inline const ContactLensChannelConfiguration& GetChannelConfiguration() const { return m_channelConfiguration; }
105 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
106 template <typename ChannelConfigurationT = ContactLensChannelConfiguration>
107 void SetChannelConfiguration(ChannelConfigurationT&& value) {
108 m_channelConfigurationHasBeenSet = true;
109 m_channelConfiguration = std::forward<ChannelConfigurationT>(value);
110 }
111 template <typename ChannelConfigurationT = ContactLensChannelConfiguration>
113 SetChannelConfiguration(std::forward<ChannelConfigurationT>(value));
114 return *this;
115 }
117
119
122 inline const ContactLensRedactionConfiguration& GetRedactionConfiguration() const { return m_redactionConfiguration; }
123 inline bool RedactionConfigurationHasBeenSet() const { return m_redactionConfigurationHasBeenSet; }
124 template <typename RedactionConfigurationT = ContactLensRedactionConfiguration>
125 void SetRedactionConfiguration(RedactionConfigurationT&& value) {
126 m_redactionConfigurationHasBeenSet = true;
127 m_redactionConfiguration = std::forward<RedactionConfigurationT>(value);
128 }
129 template <typename RedactionConfigurationT = ContactLensRedactionConfiguration>
131 SetRedactionConfiguration(std::forward<RedactionConfigurationT>(value));
132 return *this;
133 }
135
137
140 inline const ContactLensSummaryConfiguration& GetSummaryConfiguration() const { return m_summaryConfiguration; }
141 inline bool SummaryConfigurationHasBeenSet() const { return m_summaryConfigurationHasBeenSet; }
142 template <typename SummaryConfigurationT = ContactLensSummaryConfiguration>
143 void SetSummaryConfiguration(SummaryConfigurationT&& value) {
144 m_summaryConfigurationHasBeenSet = true;
145 m_summaryConfiguration = std::forward<SummaryConfigurationT>(value);
146 }
147 template <typename SummaryConfigurationT = ContactLensSummaryConfiguration>
149 SetSummaryConfiguration(std::forward<SummaryConfigurationT>(value));
150 return *this;
151 }
153
155
158 inline const ContactLensSentimentConfiguration& GetSentimentConfiguration() const { return m_sentimentConfiguration; }
159 inline bool SentimentConfigurationHasBeenSet() const { return m_sentimentConfigurationHasBeenSet; }
160 template <typename SentimentConfigurationT = ContactLensSentimentConfiguration>
161 void SetSentimentConfiguration(SentimentConfigurationT&& value) {
162 m_sentimentConfigurationHasBeenSet = true;
163 m_sentimentConfiguration = std::forward<SentimentConfigurationT>(value);
164 }
165 template <typename SentimentConfigurationT = ContactLensSentimentConfiguration>
167 SetSentimentConfiguration(std::forward<SentimentConfigurationT>(value));
168 return *this;
169 }
171 private:
172 bool m_enabled{false};
173
174 Aws::String m_languageLocale;
175
176 Aws::Vector<Aws::String> m_languageLocales;
177
178 ContactLensChannelConfiguration m_channelConfiguration;
179
180 ContactLensRedactionConfiguration m_redactionConfiguration;
181
182 ContactLensSummaryConfiguration m_summaryConfiguration;
183
184 ContactLensSentimentConfiguration m_sentimentConfiguration;
185 bool m_enabledHasBeenSet = false;
186 bool m_languageLocaleHasBeenSet = false;
187 bool m_languageLocalesHasBeenSet = false;
188 bool m_channelConfigurationHasBeenSet = false;
189 bool m_redactionConfigurationHasBeenSet = false;
190 bool m_summaryConfigurationHasBeenSet = false;
191 bool m_sentimentConfigurationHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace Connect
196} // namespace Aws
const ContactLensSentimentConfiguration & GetSentimentConfiguration() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationalAnalyticsConfiguration & AddLanguageLocales(LanguageLocalesT &&value)
ConversationalAnalyticsConfiguration & WithLanguageLocales(LanguageLocalesT &&value)
ConversationalAnalyticsConfiguration & WithChannelConfiguration(ChannelConfigurationT &&value)
ConversationalAnalyticsConfiguration & WithSummaryConfiguration(SummaryConfigurationT &&value)
const ContactLensRedactionConfiguration & GetRedactionConfiguration() const
AWS_CONNECT_API ConversationalAnalyticsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationalAnalyticsConfiguration & WithRedactionConfiguration(RedactionConfigurationT &&value)
ConversationalAnalyticsConfiguration & WithSentimentConfiguration(SentimentConfigurationT &&value)
AWS_CONNECT_API ConversationalAnalyticsConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConversationalAnalyticsConfiguration & WithLanguageLocale(LanguageLocaleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue