7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ResourceType.h>
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
74 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
82 bool m_messageHasBeenSet =
false;
85 bool m_resourceTypeHasBeenSet =
false;
88 bool m_resourceIdHasBeenSet =
false;
ResourceInUseException & WithResourceId(Aws::String &&value)
void SetResourceId(const Aws::String &value)
void SetResourceId(Aws::String &&value)
ResourceInUseException & WithMessage(const Aws::String &value)
const ResourceType & GetResourceType() const
void SetMessage(const Aws::String &value)
const Aws::String & GetResourceId() const
void SetMessage(const char *value)
void SetResourceType(ResourceType &&value)
ResourceInUseException & WithMessage(Aws::String &&value)
void SetResourceType(const ResourceType &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceTypeHasBeenSet() const
ResourceInUseException & WithMessage(const char *value)
bool MessageHasBeenSet() const
AWS_CONNECT_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceIdHasBeenSet() const
void SetResourceId(const char *value)
ResourceInUseException & WithResourceId(const Aws::String &value)
void SetMessage(Aws::String &&value)
ResourceInUseException & WithResourceType(ResourceType &&value)
ResourceInUseException & WithResourceType(const ResourceType &value)
const Aws::String & GetMessage() const
ResourceInUseException & WithResourceId(const char *value)
AWS_CONNECT_API ResourceInUseException()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue