7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/ChatResponseConfigurationStatus.h>
12#include <aws/qbusiness/model/ErrorDetail.h>
13#include <aws/qbusiness/model/ResponseConfiguration.h>
14#include <aws/qbusiness/model/ResponseConfigurationType.h>
49 return m_responseConfigurations;
52 template <
typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
54 m_responseConfigurationsHasBeenSet =
true;
55 m_responseConfigurations = std::forward<ResponseConfigurationsT>(value);
57 template <
typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
63 m_responseConfigurationsHasBeenSet =
true;
64 m_responseConfigurations.emplace(
key, value);
77 template <
typename ResponseConfigurationSummaryT = Aws::String>
79 m_responseConfigurationSummaryHasBeenSet =
true;
80 m_responseConfigurationSummary = std::forward<ResponseConfigurationSummaryT>(value);
82 template <
typename ResponseConfigurationSummaryT = Aws::String>
98 m_statusHasBeenSet =
true;
111 template <
typename ErrorT = ErrorDetail>
113 m_errorHasBeenSet =
true;
114 m_error = std::forward<ErrorT>(value);
116 template <
typename ErrorT = ErrorDetail>
118 SetError(std::forward<ErrorT>(value));
131 template <
typename UpdatedAtT = Aws::Utils::DateTime>
133 m_updatedAtHasBeenSet =
true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
136 template <
typename UpdatedAtT = Aws::Utils::DateTime>
152 bool m_responseConfigurationsHasBeenSet =
false;
153 bool m_responseConfigurationSummaryHasBeenSet =
false;
154 bool m_statusHasBeenSet =
false;
155 bool m_errorHasBeenSet =
false;
156 bool m_updatedAtHasBeenSet =
false;
void SetError(ErrorT &&value)
ChatResponseConfigurationDetail & WithUpdatedAt(UpdatedAtT &&value)
void SetResponseConfigurations(ResponseConfigurationsT &&value)
ChatResponseConfigurationDetail & WithResponseConfigurationSummary(ResponseConfigurationSummaryT &&value)
AWS_QBUSINESS_API ChatResponseConfigurationDetail()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Map< ResponseConfigurationType, ResponseConfiguration > & GetResponseConfigurations() const
const Aws::String & GetResponseConfigurationSummary() const
ChatResponseConfigurationStatus GetStatus() const
void SetResponseConfigurationSummary(ResponseConfigurationSummaryT &&value)
const ErrorDetail & GetError() const
ChatResponseConfigurationDetail & WithStatus(ChatResponseConfigurationStatus value)
ChatResponseConfigurationDetail & AddResponseConfigurations(ResponseConfigurationType key, ResponseConfiguration value)
ChatResponseConfigurationDetail & WithError(ErrorT &&value)
AWS_QBUSINESS_API ChatResponseConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
bool ResponseConfigurationsHasBeenSet() const
bool ErrorHasBeenSet() const
void SetStatus(ChatResponseConfigurationStatus value)
AWS_QBUSINESS_API ChatResponseConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UpdatedAtHasBeenSet() const
ChatResponseConfigurationDetail & WithResponseConfigurations(ResponseConfigurationsT &&value)
bool ResponseConfigurationSummaryHasBeenSet() const
ResponseConfigurationType
ChatResponseConfigurationStatus
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue