7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
19namespace Route53RecoveryCluster {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
57 template <
typename ResourceIdT = Aws::String>
59 m_resourceIdHasBeenSet =
true;
60 m_resourceId = std::forward<ResourceIdT>(value);
62 template <
typename ResourceIdT = Aws::String>
75 template <
typename ResourceTypeT = Aws::String>
77 m_resourceTypeHasBeenSet =
true;
78 m_resourceType = std::forward<ResourceTypeT>(value);
80 template <
typename ResourceTypeT = Aws::String>
93 template <
typename LimitCodeT = Aws::String>
95 m_limitCodeHasBeenSet =
true;
96 m_limitCode = std::forward<LimitCodeT>(value);
98 template <
typename LimitCodeT = Aws::String>
111 template <
typename ServiceCodeT = Aws::String>
113 m_serviceCodeHasBeenSet =
true;
114 m_serviceCode = std::forward<ServiceCodeT>(value);
116 template <
typename ServiceCodeT = Aws::String>
132 bool m_messageHasBeenSet =
false;
133 bool m_resourceIdHasBeenSet =
false;
134 bool m_resourceTypeHasBeenSet =
false;
135 bool m_limitCodeHasBeenSet =
false;
136 bool m_serviceCodeHasBeenSet =
false;
void SetResourceId(ResourceIdT &&value)
bool ServiceCodeHasBeenSet() const
bool LimitCodeHasBeenSet() const
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
void SetLimitCode(LimitCodeT &&value)
void SetResourceType(ResourceTypeT &&value)
void SetServiceCode(ServiceCodeT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLimitCode() const
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
void SetMessage(MessageT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API ServiceLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceededException & WithMessage(MessageT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API ServiceLimitExceededException()=default
const Aws::String & GetMessage() const
AWS_ROUTE53RECOVERYCLUSTER_API ServiceLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceededException & WithServiceCode(ServiceCodeT &&value)
ServiceLimitExceededException & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetServiceCode() const
ServiceLimitExceededException & WithLimitCode(LimitCodeT &&value)
ServiceLimitExceededException & WithResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue