7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ServiceQuotaExceededExceptionReason.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
55 template<
typename ReasonT = ServiceQuotaExceededExceptionReason>
56 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
57 template<
typename ReasonT = ServiceQuotaExceededExceptionReason>
63 bool m_messageHasBeenSet =
false;
66 bool m_reasonHasBeenSet =
false;
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithReason(ReasonT &&value)
AWS_CONNECT_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceQuotaExceededExceptionReason & GetReason() const
AWS_CONNECT_API ServiceQuotaExceededException()=default
AWS_CONNECT_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue