7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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>
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>
72 template<
typename ResourceTypeT = Aws::String>
73 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
74 template<
typename ResourceTypeT = Aws::String>
84 template<
typename ServiceCodeT = Aws::String>
85 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
86 template<
typename ServiceCodeT = Aws::String>
96 template<
typename QuotaCodeT = Aws::String>
97 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
98 template<
typename QuotaCodeT = Aws::String>
104 bool m_messageHasBeenSet =
false;
107 bool m_resourceIdHasBeenSet =
false;
110 bool m_resourceTypeHasBeenSet =
false;
113 bool m_serviceCodeHasBeenSet =
false;
116 bool m_quotaCodeHasBeenSet =
false;
void SetResourceType(ResourceTypeT &&value)
bool QuotaCodeHasBeenSet() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetResourceType() const
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetResourceId() const
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetQuotaCode() const
AWS_B2BI_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
void SetMessage(MessageT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceTypeHasBeenSet() const
AWS_B2BI_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceCode() const
AWS_B2BI_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
void SetServiceCode(ServiceCodeT &&value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue