7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
39 template <
typename CodeT = Aws::String>
41 m_codeHasBeenSet =
true;
42 m_code = std::forward<CodeT>(value);
44 template <
typename CodeT = Aws::String>
46 SetCode(std::forward<CodeT>(value));
55 template <
typename MessageT = Aws::String>
57 m_messageHasBeenSet =
true;
58 m_message = std::forward<MessageT>(value);
60 template <
typename MessageT = Aws::String>
73 template <
typename QuotaCodeT = Aws::String>
75 m_quotaCodeHasBeenSet =
true;
76 m_quotaCode = std::forward<QuotaCodeT>(value);
78 template <
typename QuotaCodeT = Aws::String>
91 template <
typename ResourceIdT = Aws::String>
93 m_resourceIdHasBeenSet =
true;
94 m_resourceId = std::forward<ResourceIdT>(value);
96 template <
typename ResourceIdT = Aws::String>
109 template <
typename ResourceTypeT = Aws::String>
111 m_resourceTypeHasBeenSet =
true;
112 m_resourceType = std::forward<ResourceTypeT>(value);
114 template <
typename ResourceTypeT = Aws::String>
127 template <
typename ServiceCodeT = Aws::String>
129 m_serviceCodeHasBeenSet =
true;
130 m_serviceCode = std::forward<ServiceCodeT>(value);
132 template <
typename ServiceCodeT = Aws::String>
150 bool m_codeHasBeenSet =
false;
151 bool m_messageHasBeenSet =
false;
152 bool m_quotaCodeHasBeenSet =
false;
153 bool m_resourceIdHasBeenSet =
false;
154 bool m_resourceTypeHasBeenSet =
false;
155 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