7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutvision/model/ResourceType.h>
22namespace LookoutforVision
47 template<
typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
49 template<
typename MessageT = Aws::String>
59 template<
typename ResourceIdT = Aws::String>
60 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
61 template<
typename ResourceIdT = Aws::String>
81 template<
typename QuotaCodeT = Aws::String>
82 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
83 template<
typename QuotaCodeT = Aws::String>
93 template<
typename ServiceCodeT = Aws::String>
94 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
95 template<
typename ServiceCodeT = Aws::String>
101 bool m_messageHasBeenSet =
false;
104 bool m_resourceIdHasBeenSet =
false;
107 bool m_resourceTypeHasBeenSet =
false;
110 bool m_quotaCodeHasBeenSet =
false;
113 bool m_serviceCodeHasBeenSet =
false;
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ResourceIdHasBeenSet() const
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetMessage() const
AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
bool MessageHasBeenSet() const
const Aws::String & GetServiceCode() const
ResourceType GetResourceType() const
const Aws::String & GetResourceId() const
bool QuotaCodeHasBeenSet() const
void SetResourceType(ResourceType value)
AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaCode() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
void SetServiceCode(ServiceCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException()=default
void SetMessage(MessageT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceType value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue