7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
61 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
75 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
83 bool m_messageHasBeenSet =
false;
86 bool m_resourceTypeHasBeenSet =
false;
89 bool m_resourceNameHasBeenSet =
false;
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(Aws::String &&value)
ResourceInUseException & WithMessage(const char *value)
ResourceInUseException & WithResourceType(Aws::String &&value)
ResourceInUseException & WithResourceName(Aws::String &&value)
void SetResourceName(Aws::String &&value)
ResourceInUseException & WithResourceType(const Aws::String &value)
void SetMessage(const char *value)
const Aws::String & GetMessage() const
void SetResourceName(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
ResourceInUseException & WithResourceName(const Aws::String &value)
bool MessageHasBeenSet() const
const Aws::String & GetResourceType() const
AWS_QLDB_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceNameHasBeenSet() const
ResourceInUseException & WithMessage(const Aws::String &value)
void SetResourceName(const char *value)
AWS_QLDB_API ResourceInUseException()
void SetResourceType(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
ResourceInUseException & WithResourceType(const char *value)
void SetResourceType(const char *value)
AWS_QLDB_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
ResourceInUseException & WithResourceName(const char *value)
const Aws::String & GetResourceName() const
ResourceInUseException & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue