AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlockedPhrasesConfigurationUpdate.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetBlockedPhrasesToCreateOrUpdate() const{ return m_blockedPhrasesToCreateOrUpdate; }
48 inline bool BlockedPhrasesToCreateOrUpdateHasBeenSet() const { return m_blockedPhrasesToCreateOrUpdateHasBeenSet; }
49 inline void SetBlockedPhrasesToCreateOrUpdate(const Aws::Vector<Aws::String>& value) { m_blockedPhrasesToCreateOrUpdateHasBeenSet = true; m_blockedPhrasesToCreateOrUpdate = value; }
50 inline void SetBlockedPhrasesToCreateOrUpdate(Aws::Vector<Aws::String>&& value) { m_blockedPhrasesToCreateOrUpdateHasBeenSet = true; m_blockedPhrasesToCreateOrUpdate = std::move(value); }
53 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToCreateOrUpdate(const Aws::String& value) { m_blockedPhrasesToCreateOrUpdateHasBeenSet = true; m_blockedPhrasesToCreateOrUpdate.push_back(value); return *this; }
54 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToCreateOrUpdate(Aws::String&& value) { m_blockedPhrasesToCreateOrUpdateHasBeenSet = true; m_blockedPhrasesToCreateOrUpdate.push_back(std::move(value)); return *this; }
55 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToCreateOrUpdate(const char* value) { m_blockedPhrasesToCreateOrUpdateHasBeenSet = true; m_blockedPhrasesToCreateOrUpdate.push_back(value); return *this; }
57
59
63 inline const Aws::Vector<Aws::String>& GetBlockedPhrasesToDelete() const{ return m_blockedPhrasesToDelete; }
64 inline bool BlockedPhrasesToDeleteHasBeenSet() const { return m_blockedPhrasesToDeleteHasBeenSet; }
65 inline void SetBlockedPhrasesToDelete(const Aws::Vector<Aws::String>& value) { m_blockedPhrasesToDeleteHasBeenSet = true; m_blockedPhrasesToDelete = value; }
66 inline void SetBlockedPhrasesToDelete(Aws::Vector<Aws::String>&& value) { m_blockedPhrasesToDeleteHasBeenSet = true; m_blockedPhrasesToDelete = std::move(value); }
69 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToDelete(const Aws::String& value) { m_blockedPhrasesToDeleteHasBeenSet = true; m_blockedPhrasesToDelete.push_back(value); return *this; }
70 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToDelete(Aws::String&& value) { m_blockedPhrasesToDeleteHasBeenSet = true; m_blockedPhrasesToDelete.push_back(std::move(value)); return *this; }
71 inline BlockedPhrasesConfigurationUpdate& AddBlockedPhrasesToDelete(const char* value) { m_blockedPhrasesToDeleteHasBeenSet = true; m_blockedPhrasesToDelete.push_back(value); return *this; }
73
75
79 inline const Aws::String& GetSystemMessageOverride() const{ return m_systemMessageOverride; }
80 inline bool SystemMessageOverrideHasBeenSet() const { return m_systemMessageOverrideHasBeenSet; }
81 inline void SetSystemMessageOverride(const Aws::String& value) { m_systemMessageOverrideHasBeenSet = true; m_systemMessageOverride = value; }
82 inline void SetSystemMessageOverride(Aws::String&& value) { m_systemMessageOverrideHasBeenSet = true; m_systemMessageOverride = std::move(value); }
83 inline void SetSystemMessageOverride(const char* value) { m_systemMessageOverrideHasBeenSet = true; m_systemMessageOverride.assign(value); }
88 private:
89
90 Aws::Vector<Aws::String> m_blockedPhrasesToCreateOrUpdate;
91 bool m_blockedPhrasesToCreateOrUpdateHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_blockedPhrasesToDelete;
94 bool m_blockedPhrasesToDeleteHasBeenSet = false;
95
96 Aws::String m_systemMessageOverride;
97 bool m_systemMessageOverrideHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace QBusiness
102} // namespace Aws
void SetBlockedPhrasesToCreateOrUpdate(const Aws::Vector< Aws::String > &value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToCreateOrUpdate(const Aws::String &value)
AWS_QBUSINESS_API BlockedPhrasesConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockedPhrasesConfigurationUpdate & WithBlockedPhrasesToDelete(const Aws::Vector< Aws::String > &value)
BlockedPhrasesConfigurationUpdate & WithBlockedPhrasesToCreateOrUpdate(Aws::Vector< Aws::String > &&value)
BlockedPhrasesConfigurationUpdate & WithSystemMessageOverride(const char *value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
BlockedPhrasesConfigurationUpdate & WithSystemMessageOverride(const Aws::String &value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToCreateOrUpdate(Aws::String &&value)
BlockedPhrasesConfigurationUpdate & WithBlockedPhrasesToCreateOrUpdate(const Aws::Vector< Aws::String > &value)
BlockedPhrasesConfigurationUpdate & WithSystemMessageOverride(Aws::String &&value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToCreateOrUpdate(const char *value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToDelete(const Aws::String &value)
BlockedPhrasesConfigurationUpdate & WithBlockedPhrasesToDelete(Aws::Vector< Aws::String > &&value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToDelete(Aws::String &&value)
BlockedPhrasesConfigurationUpdate & AddBlockedPhrasesToDelete(const char *value)
void SetBlockedPhrasesToDelete(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetBlockedPhrasesToCreateOrUpdate() const
AWS_QBUSINESS_API BlockedPhrasesConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue