7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename CodeT = Aws::String>
46 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
47 template<
typename CodeT = Aws::String>
55 template<
typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
57 template<
typename MessageT = Aws::String>
67 template<
typename QuotaCodeT = Aws::String>
68 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
69 template<
typename QuotaCodeT = Aws::String>
79 template<
typename ResourceIdT = Aws::String>
80 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
81 template<
typename ResourceIdT = Aws::String>
91 template<
typename ResourceTypeT = Aws::String>
92 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
93 template<
typename ResourceTypeT = Aws::String>
103 template<
typename ServiceCodeT = Aws::String>
104 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
105 template<
typename ServiceCodeT = Aws::String>
111 bool m_codeHasBeenSet =
false;
114 bool m_messageHasBeenSet =
false;
117 bool m_quotaCodeHasBeenSet =
false;
120 bool m_resourceIdHasBeenSet =
false;
123 bool m_resourceTypeHasBeenSet =
false;
126 bool m_serviceCodeHasBeenSet =
false;
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool QuotaCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetQuotaCode(QuotaCodeT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ServiceCodeHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_DRS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API ServiceQuotaExceededException()=default
bool ResourceIdHasBeenSet() const
const Aws::String & GetQuotaCode() const
const Aws::String & GetMessage() const
AWS_DRS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithCode(CodeT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetResourceId() const
void SetCode(CodeT &&value)
bool CodeHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue