7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
33 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 template <
typename ResourceIdT = Aws::String>
62 m_resourceIdHasBeenSet =
true;
63 m_resourceId = std::forward<ResourceIdT>(value);
65 template <
typename ResourceIdT = Aws::String>
79 template <
typename ResourceTypeT = Aws::String>
81 m_resourceTypeHasBeenSet =
true;
82 m_resourceType = std::forward<ResourceTypeT>(value);
84 template <
typename ResourceTypeT = Aws::String>
98 template <
typename ServiceCodeT = Aws::String>
100 m_serviceCodeHasBeenSet =
true;
101 m_serviceCode = std::forward<ServiceCodeT>(value);
103 template <
typename ServiceCodeT = Aws::String>
117 template <
typename QuotaCodeT = Aws::String>
119 m_quotaCodeHasBeenSet =
true;
120 m_quotaCode = std::forward<QuotaCodeT>(value);
122 template <
typename QuotaCodeT = Aws::String>
138 bool m_messageHasBeenSet =
false;
139 bool m_resourceIdHasBeenSet =
false;
140 bool m_resourceTypeHasBeenSet =
false;
141 bool m_serviceCodeHasBeenSet =
false;
142 bool m_quotaCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
const Aws::String & GetServiceCode() const
const Aws::String & GetResourceType() const
bool ServiceCodeHasBeenSet() const
bool QuotaCodeHasBeenSet() const
void SetQuotaCode(QuotaCodeT &&value)
void SetMessage(MessageT &&value)
AWS_WORKSPACES_API ServiceQuotaExceededException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_WORKSPACES_API ServiceQuotaExceededException()=default
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
const Aws::String & GetResourceId() const
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetQuotaCode() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_WORKSPACES_API ServiceQuotaExceededException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ResourceIdHasBeenSet() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String