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