7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/ChatResponseConfigurationStatus.h>
11#include <aws/qbusiness/model/ErrorDetail.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/qbusiness/model/ResponseConfigurationType.h>
14#include <aws/qbusiness/model/ResponseConfiguration.h>
56 template<
typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
58 template<
typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
61 m_responseConfigurationsHasBeenSet =
true; m_responseConfigurations.emplace(
key, value);
return *
this;
73 template<
typename ResponseConfigurationSummaryT = Aws::String>
75 template<
typename ResponseConfigurationSummaryT = Aws::String>
95 template<
typename ErrorT = ErrorDetail>
96 void SetError(
ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
97 template<
typename ErrorT = ErrorDetail>
109 template<
typename UpdatedAtT = Aws::Utils::DateTime>
111 template<
typename UpdatedAtT = Aws::Utils::DateTime>
117 bool m_responseConfigurationsHasBeenSet =
false;
120 bool m_responseConfigurationSummaryHasBeenSet =
false;
123 bool m_statusHasBeenSet =
false;
126 bool m_errorHasBeenSet =
false;
129 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