AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetChatControlsConfigurationResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/ResponseScope.h>
9#include <aws/qbusiness/model/BlockedPhrasesConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/model/AppliedCreatorModeConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/qbusiness/model/TopicConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QBusiness
29{
30namespace Model
31{
33 {
34 public:
38
39
41
48 inline const ResponseScope& GetResponseScope() const{ return m_responseScope; }
49 inline void SetResponseScope(const ResponseScope& value) { m_responseScope = value; }
50 inline void SetResponseScope(ResponseScope&& value) { m_responseScope = std::move(value); }
52 inline GetChatControlsConfigurationResult& WithResponseScope(ResponseScope&& value) { SetResponseScope(std::move(value)); return *this;}
54
56
59 inline const BlockedPhrasesConfiguration& GetBlockedPhrases() const{ return m_blockedPhrases; }
60 inline void SetBlockedPhrases(const BlockedPhrasesConfiguration& value) { m_blockedPhrases = value; }
61 inline void SetBlockedPhrases(BlockedPhrasesConfiguration&& value) { m_blockedPhrases = std::move(value); }
65
67
71 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const{ return m_topicConfigurations; }
72 inline void SetTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurations = value; }
73 inline void SetTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurations = std::move(value); }
76 inline GetChatControlsConfigurationResult& AddTopicConfigurations(const TopicConfiguration& value) { m_topicConfigurations.push_back(value); return *this; }
77 inline GetChatControlsConfigurationResult& AddTopicConfigurations(TopicConfiguration&& value) { m_topicConfigurations.push_back(std::move(value)); return *this; }
79
81
84 inline const AppliedCreatorModeConfiguration& GetCreatorModeConfiguration() const{ return m_creatorModeConfiguration; }
85 inline void SetCreatorModeConfiguration(const AppliedCreatorModeConfiguration& value) { m_creatorModeConfiguration = value; }
86 inline void SetCreatorModeConfiguration(AppliedCreatorModeConfiguration&& value) { m_creatorModeConfiguration = std::move(value); }
90
92
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 inline GetChatControlsConfigurationResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline GetChatControlsConfigurationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline GetChatControlsConfigurationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
109 inline const Aws::String& GetRequestId() const{ return m_requestId; }
110 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
112 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
113 inline GetChatControlsConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline GetChatControlsConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline GetChatControlsConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 private:
118
119 ResponseScope m_responseScope;
120
121 BlockedPhrasesConfiguration m_blockedPhrases;
122
123 Aws::Vector<TopicConfiguration> m_topicConfigurations;
124
125 AppliedCreatorModeConfiguration m_creatorModeConfiguration;
126
127 Aws::String m_nextToken;
128
129 Aws::String m_requestId;
130 };
131
132} // namespace Model
133} // namespace QBusiness
134} // namespace Aws
GetChatControlsConfigurationResult & WithNextToken(Aws::String &&value)
GetChatControlsConfigurationResult & WithRequestId(const char *value)
GetChatControlsConfigurationResult & WithBlockedPhrases(BlockedPhrasesConfiguration &&value)
void SetTopicConfigurations(Aws::Vector< TopicConfiguration > &&value)
GetChatControlsConfigurationResult & WithTopicConfigurations(Aws::Vector< TopicConfiguration > &&value)
GetChatControlsConfigurationResult & AddTopicConfigurations(const TopicConfiguration &value)
GetChatControlsConfigurationResult & WithResponseScope(ResponseScope &&value)
void SetCreatorModeConfiguration(const AppliedCreatorModeConfiguration &value)
GetChatControlsConfigurationResult & AddTopicConfigurations(TopicConfiguration &&value)
GetChatControlsConfigurationResult & WithRequestId(Aws::String &&value)
void SetCreatorModeConfiguration(AppliedCreatorModeConfiguration &&value)
GetChatControlsConfigurationResult & WithCreatorModeConfiguration(const AppliedCreatorModeConfiguration &value)
GetChatControlsConfigurationResult & WithResponseScope(const ResponseScope &value)
AWS_QBUSINESS_API GetChatControlsConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AppliedCreatorModeConfiguration & GetCreatorModeConfiguration() const
AWS_QBUSINESS_API GetChatControlsConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChatControlsConfigurationResult & WithCreatorModeConfiguration(AppliedCreatorModeConfiguration &&value)
GetChatControlsConfigurationResult & WithNextToken(const char *value)
void SetTopicConfigurations(const Aws::Vector< TopicConfiguration > &value)
GetChatControlsConfigurationResult & WithRequestId(const Aws::String &value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurations() const
GetChatControlsConfigurationResult & WithBlockedPhrases(const BlockedPhrasesConfiguration &value)
GetChatControlsConfigurationResult & WithNextToken(const Aws::String &value)
GetChatControlsConfigurationResult & WithTopicConfigurations(const Aws::Vector< TopicConfiguration > &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