7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace Route53Resolver
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
62 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
70 bool m_messageHasBeenSet =
false;
73 bool m_resourceTypeHasBeenSet =
false;
ResourceInUseException & WithResourceType(const Aws::String &value)
const Aws::String & GetResourceType() const
ResourceInUseException & WithMessage(const char *value)
void SetMessage(const char *value)
ResourceInUseException & WithMessage(Aws::String &&value)
void SetResourceType(const char *value)
void SetResourceType(Aws::String &&value)
void SetResourceType(const Aws::String &value)
void SetMessage(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
AWS_ROUTE53RESOLVER_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API ResourceInUseException()
bool MessageHasBeenSet() const
AWS_ROUTE53RESOLVER_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
ResourceInUseException & WithResourceType(const char *value)
ResourceInUseException & WithResourceType(Aws::String &&value)
ResourceInUseException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue