7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvidently
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>
81 template<
typename ResourceTypeT = Aws::String>
82 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
83 template<
typename ResourceTypeT = Aws::String>
93 template<
typename ServiceCodeT = Aws::String>
94 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
95 template<
typename ServiceCodeT = Aws::String>
101 bool m_messageHasBeenSet =
false;
104 bool m_quotaCodeHasBeenSet =
false;
107 bool m_resourceIdHasBeenSet =
false;
110 bool m_resourceTypeHasBeenSet =
false;
113 bool m_serviceCodeHasBeenSet =
false;
void SetResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
void SetResourceId(ResourceIdT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ServiceQuotaExceededException()=default
bool MessageHasBeenSet() const
const Aws::String & GetResourceId() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool QuotaCodeHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceIdHasBeenSet() const
bool ServiceCodeHasBeenSet() const
const Aws::String & GetMessage() const
void SetQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
const Aws::String & GetResourceType() const
const Aws::String & GetServiceCode() const
const Aws::String & GetQuotaCode() const
AWS_CLOUDWATCHEVIDENTLY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue