7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
60 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
68 bool m_messageHasBeenSet =
false;
71 bool m_resourceIdHasBeenSet =
false;
void SetResourceId(const Aws::String &value)
ResourceInUseException & WithResourceId(Aws::String &&value)
bool MessageHasBeenSet() const
AWS_WORKSPACES_API ResourceInUseException()
AWS_WORKSPACES_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInUseException & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
void SetResourceId(const char *value)
AWS_WORKSPACES_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceInUseException & WithMessage(Aws::String &&value)
bool ResourceIdHasBeenSet() const
void SetMessage(const Aws::String &value)
void SetResourceId(Aws::String &&value)
ResourceInUseException & WithResourceId(const Aws::String &value)
ResourceInUseException & WithResourceId(const char *value)
void SetMessage(const char *value)
ResourceInUseException & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue