7#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace Route53RecoveryCluster
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 ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
59 template<
typename ResourceIdT = Aws::String>
69 template<
typename ResourceTypeT = Aws::String>
70 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
71 template<
typename ResourceTypeT = Aws::String>
81 template<
typename LimitCodeT = Aws::String>
82 void SetLimitCode(LimitCodeT&& value) { m_limitCodeHasBeenSet =
true; m_limitCode = std::forward<LimitCodeT>(value); }
83 template<
typename LimitCodeT = 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_resourceIdHasBeenSet =
false;
107 bool m_resourceTypeHasBeenSet =
false;
110 bool m_limitCodeHasBeenSet =
false;
113 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