AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
GetChatResponseConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/ChatResponseConfigurationDetail.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness {
25namespace Model {
27 public:
28 AWS_QBUSINESS_API GetChatResponseConfigurationResult() = default;
31
33
36 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
37 template <typename ChatResponseConfigurationIdT = Aws::String>
39 m_chatResponseConfigurationIdHasBeenSet = true;
40 m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value);
41 }
42 template <typename ChatResponseConfigurationIdT = Aws::String>
44 SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetChatResponseConfigurationArn() const { return m_chatResponseConfigurationArn; }
56 template <typename ChatResponseConfigurationArnT = Aws::String>
58 m_chatResponseConfigurationArnHasBeenSet = true;
59 m_chatResponseConfigurationArn = std::forward<ChatResponseConfigurationArnT>(value);
60 }
61 template <typename ChatResponseConfigurationArnT = Aws::String>
63 SetChatResponseConfigurationArn(std::forward<ChatResponseConfigurationArnT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetDisplayName() const { return m_displayName; }
74 template <typename DisplayNameT = Aws::String>
76 m_displayNameHasBeenSet = true;
77 m_displayName = std::forward<DisplayNameT>(value);
78 }
79 template <typename DisplayNameT = Aws::String>
81 SetDisplayName(std::forward<DisplayNameT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) {
94 m_createdAtHasBeenSet = true;
95 m_createdAt = std::forward<CreatedAtT>(value);
96 }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
99 SetCreatedAt(std::forward<CreatedAtT>(value));
100 return *this;
101 }
103
105
109 inline const ChatResponseConfigurationDetail& GetInUseConfiguration() const { return m_inUseConfiguration; }
110 template <typename InUseConfigurationT = ChatResponseConfigurationDetail>
112 m_inUseConfigurationHasBeenSet = true;
113 m_inUseConfiguration = std::forward<InUseConfigurationT>(value);
114 }
115 template <typename InUseConfigurationT = ChatResponseConfigurationDetail>
117 SetInUseConfiguration(std::forward<InUseConfigurationT>(value));
118 return *this;
119 }
121
123
127 inline const ChatResponseConfigurationDetail& GetLastUpdateConfiguration() const { return m_lastUpdateConfiguration; }
128 template <typename LastUpdateConfigurationT = ChatResponseConfigurationDetail>
130 m_lastUpdateConfigurationHasBeenSet = true;
131 m_lastUpdateConfiguration = std::forward<LastUpdateConfigurationT>(value);
132 }
133 template <typename LastUpdateConfigurationT = ChatResponseConfigurationDetail>
135 SetLastUpdateConfiguration(std::forward<LastUpdateConfigurationT>(value));
136 return *this;
137 }
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template <typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) {
145 m_requestIdHasBeenSet = true;
146 m_requestId = std::forward<RequestIdT>(value);
147 }
148 template <typename RequestIdT = Aws::String>
150 SetRequestId(std::forward<RequestIdT>(value));
151 return *this;
152 }
154 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
155
156 private:
157 Aws::String m_chatResponseConfigurationId;
158
159 Aws::String m_chatResponseConfigurationArn;
160
161 Aws::String m_displayName;
162
163 Aws::Utils::DateTime m_createdAt{};
164
165 ChatResponseConfigurationDetail m_inUseConfiguration;
166
167 ChatResponseConfigurationDetail m_lastUpdateConfiguration;
168
169 Aws::String m_requestId;
170 Aws::Http::HttpResponseCode m_HttpResponseCode;
171 bool m_chatResponseConfigurationIdHasBeenSet = false;
172 bool m_chatResponseConfigurationArnHasBeenSet = false;
173 bool m_displayNameHasBeenSet = false;
174 bool m_createdAtHasBeenSet = false;
175 bool m_inUseConfigurationHasBeenSet = false;
176 bool m_lastUpdateConfigurationHasBeenSet = false;
177 bool m_requestIdHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace QBusiness
182} // 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