7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
58 template<
typename ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
60 template<
typename ResourceIdT = Aws::String>
70 template<
typename ResourceTypeT = Aws::String>
71 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
72 template<
typename ResourceTypeT = Aws::String>
82 template<
typename ServiceCodeT = Aws::String>
83 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
84 template<
typename ServiceCodeT = Aws::String>
94 template<
typename QuotaCodeT = Aws::String>
95 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
96 template<
typename QuotaCodeT = Aws::String>
102 bool m_messageHasBeenSet =
false;
105 bool m_resourceIdHasBeenSet =
false;
108 bool m_resourceTypeHasBeenSet =
false;
111 bool m_serviceCodeHasBeenSet =
false;
114 bool m_quotaCodeHasBeenSet =
false;
bool QuotaCodeHasBeenSet() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_DSQL_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceId() const
bool MessageHasBeenSet() const
AWS_DSQL_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetServiceCode() const
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetResourceType() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetQuotaCode() const
bool ServiceCodeHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
AWS_DSQL_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue