7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
9#include <aws/verifiedpermissions/model/ResourceType.h>
20namespace VerifiedPermissions {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
58 template <
typename ResourceIdT = Aws::String>
60 m_resourceIdHasBeenSet =
true;
61 m_resourceId = std::forward<ResourceIdT>(value);
63 template <
typename ResourceIdT = Aws::String>
77 m_resourceTypeHasBeenSet =
true;
78 m_resourceType = value;
92 template <
typename ServiceCodeT = Aws::String>
94 m_serviceCodeHasBeenSet =
true;
95 m_serviceCode = std::forward<ServiceCodeT>(value);
97 template <
typename ServiceCodeT = Aws::String>
111 template <
typename QuotaCodeT = Aws::String>
113 m_quotaCodeHasBeenSet =
true;
114 m_quotaCode = std::forward<QuotaCodeT>(value);
116 template <
typename QuotaCodeT = Aws::String>
132 bool m_messageHasBeenSet =
false;
133 bool m_resourceIdHasBeenSet =
false;
134 bool m_resourceTypeHasBeenSet =
false;
135 bool m_serviceCodeHasBeenSet =
false;
136 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