AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ChatResponseConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/ChatResponseConfigurationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
33 public:
34 AWS_QBUSINESS_API ChatResponseConfiguration() = default;
37 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
45 inline bool ChatResponseConfigurationIdHasBeenSet() const { return m_chatResponseConfigurationIdHasBeenSet; }
46 template <typename ChatResponseConfigurationIdT = Aws::String>
48 m_chatResponseConfigurationIdHasBeenSet = true;
49 m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value);
50 }
51 template <typename ChatResponseConfigurationIdT = Aws::String>
53 SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetChatResponseConfigurationArn() const { return m_chatResponseConfigurationArn; }
65 inline bool ChatResponseConfigurationArnHasBeenSet() const { return m_chatResponseConfigurationArnHasBeenSet; }
66 template <typename ChatResponseConfigurationArnT = Aws::String>
68 m_chatResponseConfigurationArnHasBeenSet = true;
69 m_chatResponseConfigurationArn = std::forward<ChatResponseConfigurationArnT>(value);
70 }
71 template <typename ChatResponseConfigurationArnT = Aws::String>
73 SetChatResponseConfigurationArn(std::forward<ChatResponseConfigurationArnT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetDisplayName() const { return m_displayName; }
84 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
85 template <typename DisplayNameT = Aws::String>
87 m_displayNameHasBeenSet = true;
88 m_displayName = std::forward<DisplayNameT>(value);
89 }
90 template <typename DisplayNameT = Aws::String>
92 SetDisplayName(std::forward<DisplayNameT>(value));
93 return *this;
94 }
96
98
103 inline const Aws::String& GetResponseConfigurationSummary() const { return m_responseConfigurationSummary; }
104 inline bool ResponseConfigurationSummaryHasBeenSet() const { return m_responseConfigurationSummaryHasBeenSet; }
105 template <typename ResponseConfigurationSummaryT = Aws::String>
107 m_responseConfigurationSummaryHasBeenSet = true;
108 m_responseConfigurationSummary = std::forward<ResponseConfigurationSummaryT>(value);
109 }
110 template <typename ResponseConfigurationSummaryT = Aws::String>
112 SetResponseConfigurationSummary(std::forward<ResponseConfigurationSummaryT>(value));
113 return *this;
114 }
116
118
123 inline ChatResponseConfigurationStatus GetStatus() const { return m_status; }
124 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 m_statusHasBeenSet = true;
127 m_status = value;
128 }
130 SetStatus(value);
131 return *this;
132 }
134
136
140 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
141 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
142 template <typename CreatedAtT = Aws::Utils::DateTime>
143 void SetCreatedAt(CreatedAtT&& value) {
144 m_createdAtHasBeenSet = true;
145 m_createdAt = std::forward<CreatedAtT>(value);
146 }
147 template <typename CreatedAtT = Aws::Utils::DateTime>
149 SetCreatedAt(std::forward<CreatedAtT>(value));
150 return *this;
151 }
153
155
160 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
161 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
162 template <typename UpdatedAtT = Aws::Utils::DateTime>
163 void SetUpdatedAt(UpdatedAtT&& value) {
164 m_updatedAtHasBeenSet = true;
165 m_updatedAt = std::forward<UpdatedAtT>(value);
166 }
167 template <typename UpdatedAtT = Aws::Utils::DateTime>
169 SetUpdatedAt(std::forward<UpdatedAtT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_chatResponseConfigurationId;
175
176 Aws::String m_chatResponseConfigurationArn;
177
178 Aws::String m_displayName;
179
180 Aws::String m_responseConfigurationSummary;
181
183
184 Aws::Utils::DateTime m_createdAt{};
185
186 Aws::Utils::DateTime m_updatedAt{};
187 bool m_chatResponseConfigurationIdHasBeenSet = false;
188 bool m_chatResponseConfigurationArnHasBeenSet = false;
189 bool m_displayNameHasBeenSet = false;
190 bool m_responseConfigurationSummaryHasBeenSet = false;
191 bool m_statusHasBeenSet = false;
192 bool m_createdAtHasBeenSet = false;
193 bool m_updatedAtHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace QBusiness
198} // namespace Aws
AWS_QBUSINESS_API ChatResponseConfiguration()=default
AWS_QBUSINESS_API ChatResponseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ChatResponseConfigurationStatus GetStatus() const
void SetStatus(ChatResponseConfigurationStatus value)
void SetResponseConfigurationSummary(ResponseConfigurationSummaryT &&value)
ChatResponseConfiguration & WithChatResponseConfigurationId(ChatResponseConfigurationIdT &&value)
ChatResponseConfiguration & WithUpdatedAt(UpdatedAtT &&value)
ChatResponseConfiguration & WithDisplayName(DisplayNameT &&value)
AWS_QBUSINESS_API ChatResponseConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetChatResponseConfigurationArn(ChatResponseConfigurationArnT &&value)
void SetChatResponseConfigurationId(ChatResponseConfigurationIdT &&value)
ChatResponseConfiguration & WithChatResponseConfigurationArn(ChatResponseConfigurationArnT &&value)
ChatResponseConfiguration & WithStatus(ChatResponseConfigurationStatus value)
ChatResponseConfiguration & WithCreatedAt(CreatedAtT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ChatResponseConfiguration & WithResponseConfigurationSummary(ResponseConfigurationSummaryT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue