7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace WellArchitected
44 template<
typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
46 template<
typename MessageT = Aws::String>
54 template<
typename ResourceIdT = Aws::String>
55 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
56 template<
typename ResourceIdT = Aws::String>
64 template<
typename ResourceTypeT = Aws::String>
65 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
66 template<
typename ResourceTypeT = Aws::String>
74 template<
typename QuotaCodeT = Aws::String>
75 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
76 template<
typename QuotaCodeT = 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>
92 bool m_messageHasBeenSet =
false;
95 bool m_resourceIdHasBeenSet =
false;
98 bool m_resourceTypeHasBeenSet =
false;
101 bool m_quotaCodeHasBeenSet =
false;
104 bool m_serviceCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetResourceId() const
AWS_WELLARCHITECTED_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceCode() const
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_WELLARCHITECTED_API ServiceQuotaExceededException()=default
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetQuotaCode() const
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
void SetMessage(MessageT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceIdHasBeenSet() const
bool QuotaCodeHasBeenSet() const
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetResourceType() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue