AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChatResponseConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ChatResponseConfigurationStatus.h>
10#include <aws/core/utils/DateTime.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
37 {
38 public:
39 AWS_QBUSINESS_API ChatResponseConfiguration() = default;
42 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
51 inline bool ChatResponseConfigurationIdHasBeenSet() const { return m_chatResponseConfigurationIdHasBeenSet; }
52 template<typename ChatResponseConfigurationIdT = Aws::String>
53 void SetChatResponseConfigurationId(ChatResponseConfigurationIdT&& value) { m_chatResponseConfigurationIdHasBeenSet = true; m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value); }
54 template<typename ChatResponseConfigurationIdT = Aws::String>
55 ChatResponseConfiguration& WithChatResponseConfigurationId(ChatResponseConfigurationIdT&& value) { SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value)); return *this;}
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>
67 void SetChatResponseConfigurationArn(ChatResponseConfigurationArnT&& value) { m_chatResponseConfigurationArnHasBeenSet = true; m_chatResponseConfigurationArn = std::forward<ChatResponseConfigurationArnT>(value); }
68 template<typename ChatResponseConfigurationArnT = Aws::String>
69 ChatResponseConfiguration& WithChatResponseConfigurationArn(ChatResponseConfigurationArnT&& value) { SetChatResponseConfigurationArn(std::forward<ChatResponseConfigurationArnT>(value)); return *this;}
71
73
77 inline const Aws::String& GetDisplayName() const { return m_displayName; }
78 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
79 template<typename DisplayNameT = Aws::String>
80 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
81 template<typename DisplayNameT = Aws::String>
82 ChatResponseConfiguration& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
84
86
91 inline const Aws::String& GetResponseConfigurationSummary() const { return m_responseConfigurationSummary; }
92 inline bool ResponseConfigurationSummaryHasBeenSet() const { return m_responseConfigurationSummaryHasBeenSet; }
93 template<typename ResponseConfigurationSummaryT = Aws::String>
94 void SetResponseConfigurationSummary(ResponseConfigurationSummaryT&& value) { m_responseConfigurationSummaryHasBeenSet = true; m_responseConfigurationSummary = std::forward<ResponseConfigurationSummaryT>(value); }
95 template<typename ResponseConfigurationSummaryT = Aws::String>
96 ChatResponseConfiguration& WithResponseConfigurationSummary(ResponseConfigurationSummaryT&& value) { SetResponseConfigurationSummary(std::forward<ResponseConfigurationSummaryT>(value)); return *this;}
98
100
105 inline ChatResponseConfigurationStatus GetStatus() const { return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(ChatResponseConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
110
112
116 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
117 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 ChatResponseConfiguration& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
123
125
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
132 template<typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
134 template<typename UpdatedAtT = Aws::Utils::DateTime>
135 ChatResponseConfiguration& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
137 private:
138
139 Aws::String m_chatResponseConfigurationId;
140 bool m_chatResponseConfigurationIdHasBeenSet = false;
141
142 Aws::String m_chatResponseConfigurationArn;
143 bool m_chatResponseConfigurationArnHasBeenSet = false;
144
145 Aws::String m_displayName;
146 bool m_displayNameHasBeenSet = false;
147
148 Aws::String m_responseConfigurationSummary;
149 bool m_responseConfigurationSummaryHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdAt{};
155 bool m_createdAtHasBeenSet = false;
156
157 Aws::Utils::DateTime m_updatedAt{};
158 bool m_updatedAtHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace QBusiness
163} // 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