7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename CodeT = Aws::String>
46 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
47 template<
typename CodeT = Aws::String>
55 template<
typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
57 template<
typename MessageT = Aws::String>
67 template<
typename QuotaCodeT = Aws::String>
68 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
69 template<
typename QuotaCodeT = Aws::String>
79 inline void SetQuotaValue(
int value) { m_quotaValueHasBeenSet =
true; m_quotaValue = value; }
89 template<
typename ResourceIdT = Aws::String>
90 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
91 template<
typename ResourceIdT = Aws::String>
101 template<
typename ResourceTypeT = Aws::String>
102 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
103 template<
typename ResourceTypeT = Aws::String>
113 template<
typename ServiceCodeT = Aws::String>
114 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
115 template<
typename ServiceCodeT = Aws::String>
121 bool m_codeHasBeenSet =
false;
124 bool m_messageHasBeenSet =
false;
127 bool m_quotaCodeHasBeenSet =
false;
130 bool m_quotaValueHasBeenSet =
false;
133 bool m_resourceIdHasBeenSet =
false;
136 bool m_resourceTypeHasBeenSet =
false;
139 bool m_serviceCodeHasBeenSet =
false;
void SetQuotaCode(QuotaCodeT &&value)
AWS_MGN_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithQuotaValue(int value)
void SetMessage(MessageT &&value)
bool QuotaValueHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetResourceId() const
bool CodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetResourceId(ResourceIdT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetQuotaCode() const
bool ResourceIdHasBeenSet() const
AWS_MGN_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
int GetQuotaValue() const
void SetCode(CodeT &&value)
void SetQuotaValue(int value)
bool QuotaCodeHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_MGN_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithCode(CodeT &&value)
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue