7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace MainframeModernization
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename QuotaCodeT = Aws::String>
58 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
59 template<
typename QuotaCodeT = Aws::String>
69 template<
typename ResourceIdT = Aws::String>
70 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
71 template<
typename ResourceIdT = Aws::String>
82 template<
typename ResourceTypeT = Aws::String>
83 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
84 template<
typename ResourceTypeT = Aws::String>
94 template<
typename ServiceCodeT = Aws::String>
95 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
96 template<
typename ServiceCodeT = Aws::String>
102 bool m_messageHasBeenSet =
false;
105 bool m_quotaCodeHasBeenSet =
false;
108 bool m_resourceIdHasBeenSet =
false;
111 bool m_resourceTypeHasBeenSet =
false;
114 bool m_serviceCodeHasBeenSet =
false;
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
void SetQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_MAINFRAMEMODERNIZATION_API ServiceQuotaExceededException()=default
bool QuotaCodeHasBeenSet() const
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
AWS_MAINFRAMEMODERNIZATION_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool MessageHasBeenSet() const
AWS_MAINFRAMEMODERNIZATION_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetQuotaCode() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue