AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetChatResponseConfigurationResult.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/ChatResponseConfigurationDetail.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness {
24namespace Model {
26 public:
27 AWS_QBUSINESS_API GetChatResponseConfigurationResult() = default;
30
32
35 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
36 template <typename ChatResponseConfigurationIdT = Aws::String>
38 m_chatResponseConfigurationIdHasBeenSet = true;
39 m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value);
40 }
41 template <typename ChatResponseConfigurationIdT = Aws::String>
43 SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value));
44 return *this;
45 }
47
49
54 inline const Aws::String& GetChatResponseConfigurationArn() const { return m_chatResponseConfigurationArn; }
55 template <typename ChatResponseConfigurationArnT = Aws::String>
57 m_chatResponseConfigurationArnHasBeenSet = true;
58 m_chatResponseConfigurationArn = std::forward<ChatResponseConfigurationArnT>(value);
59 }
60 template <typename ChatResponseConfigurationArnT = Aws::String>
62 SetChatResponseConfigurationArn(std::forward<ChatResponseConfigurationArnT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetDisplayName() const { return m_displayName; }
73 template <typename DisplayNameT = Aws::String>
75 m_displayNameHasBeenSet = true;
76 m_displayName = std::forward<DisplayNameT>(value);
77 }
78 template <typename DisplayNameT = Aws::String>
80 SetDisplayName(std::forward<DisplayNameT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
91 template <typename CreatedAtT = Aws::Utils::DateTime>
92 void SetCreatedAt(CreatedAtT&& value) {
93 m_createdAtHasBeenSet = true;
94 m_createdAt = std::forward<CreatedAtT>(value);
95 }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
98 SetCreatedAt(std::forward<CreatedAtT>(value));
99 return *this;
100 }
102
104
108 inline const ChatResponseConfigurationDetail& GetInUseConfiguration() const { return m_inUseConfiguration; }
109 template <typename InUseConfigurationT = ChatResponseConfigurationDetail>
111 m_inUseConfigurationHasBeenSet = true;
112 m_inUseConfiguration = std::forward<InUseConfigurationT>(value);
113 }
114 template <typename InUseConfigurationT = ChatResponseConfigurationDetail>
116 SetInUseConfiguration(std::forward<InUseConfigurationT>(value));
117 return *this;
118 }
120
122
126 inline const ChatResponseConfigurationDetail& GetLastUpdateConfiguration() const { return m_lastUpdateConfiguration; }
127 template <typename LastUpdateConfigurationT = ChatResponseConfigurationDetail>
129 m_lastUpdateConfigurationHasBeenSet = true;
130 m_lastUpdateConfiguration = std::forward<LastUpdateConfigurationT>(value);
131 }
132 template <typename LastUpdateConfigurationT = ChatResponseConfigurationDetail>
134 SetLastUpdateConfiguration(std::forward<LastUpdateConfigurationT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template <typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) {
144 m_requestIdHasBeenSet = true;
145 m_requestId = std::forward<RequestIdT>(value);
146 }
147 template <typename RequestIdT = Aws::String>
149 SetRequestId(std::forward<RequestIdT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_chatResponseConfigurationId;
155
156 Aws::String m_chatResponseConfigurationArn;
157
158 Aws::String m_displayName;
159
160 Aws::Utils::DateTime m_createdAt{};
161
162 ChatResponseConfigurationDetail m_inUseConfiguration;
163
164 ChatResponseConfigurationDetail m_lastUpdateConfiguration;
165
166 Aws::String m_requestId;
167 bool m_chatResponseConfigurationIdHasBeenSet = false;
168 bool m_chatResponseConfigurationArnHasBeenSet = false;
169 bool m_displayNameHasBeenSet = false;
170 bool m_createdAtHasBeenSet = false;
171 bool m_inUseConfigurationHasBeenSet = false;
172 bool m_lastUpdateConfigurationHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace QBusiness
178} // namespace Aws
GetChatResponseConfigurationResult & WithDisplayName(DisplayNameT &&value)
GetChatResponseConfigurationResult & WithCreatedAt(CreatedAtT &&value)
AWS_QBUSINESS_API GetChatResponseConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ChatResponseConfigurationDetail & GetInUseConfiguration() const
GetChatResponseConfigurationResult & WithLastUpdateConfiguration(LastUpdateConfigurationT &&value)
AWS_QBUSINESS_API GetChatResponseConfigurationResult()=default
GetChatResponseConfigurationResult & WithChatResponseConfigurationArn(ChatResponseConfigurationArnT &&value)
const ChatResponseConfigurationDetail & GetLastUpdateConfiguration() const
GetChatResponseConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_QBUSINESS_API GetChatResponseConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChatResponseConfigurationResult & WithInUseConfiguration(InUseConfigurationT &&value)
void SetChatResponseConfigurationArn(ChatResponseConfigurationArnT &&value)
GetChatResponseConfigurationResult & WithChatResponseConfigurationId(ChatResponseConfigurationIdT &&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