7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/ConflictExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
76 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
90 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
112 inline ConflictException&
AddContext(
const char* key,
const char* value) { m_contextHasBeenSet =
true; m_context.emplace(key, value);
return *
this; }
117 bool m_messageHasBeenSet =
false;
120 bool m_reasonHasBeenSet =
false;
123 bool m_resourceIdHasBeenSet =
false;
126 bool m_resourceTypeHasBeenSet =
false;
129 bool m_contextHasBeenSet =
false;
ConflictException & WithMessage(const Aws::String &value)
void SetReason(ConflictExceptionReason &&value)
ConflictException & WithResourceType(const char *value)
ConflictException & AddContext(Aws::String &&key, Aws::String &&value)
void SetMessage(const char *value)
ConflictException & WithMessage(Aws::String &&value)
void SetResourceType(const char *value)
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceId(const Aws::String &value)
ConflictException & WithReason(const ConflictExceptionReason &value)
void SetMessage(Aws::String &&value)
void SetResourceId(Aws::String &&value)
ConflictException & AddContext(const Aws::String &key, const Aws::String &value)
AWS_DEADLINE_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
ConflictException & WithMessage(const char *value)
const Aws::String & GetMessage() const
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceType() const
void SetMessage(const Aws::String &value)
AWS_DEADLINE_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
ConflictException & AddContext(const char *key, Aws::String &&value)
ConflictException & WithResourceId(const char *value)
ConflictException & AddContext(const char *key, const char *value)
ConflictException & AddContext(const Aws::String &key, Aws::String &&value)
ConflictException & AddContext(Aws::String &&key, const char *value)
ConflictException & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
ConflictException & WithResourceId(const Aws::String &value)
void SetResourceType(Aws::String &&value)
bool MessageHasBeenSet() const
bool ResourceTypeHasBeenSet() const
AWS_DEADLINE_API ConflictException()
bool ResourceIdHasBeenSet() const
bool ReasonHasBeenSet() const
ConflictException & WithResourceId(Aws::String &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & AddContext(Aws::String &&key, const Aws::String &value)
void SetResourceType(const Aws::String &value)
void SetReason(const ConflictExceptionReason &value)
ConflictException & WithReason(ConflictExceptionReason &&value)
const ConflictExceptionReason & GetReason() const
bool ContextHasBeenSet() const
ConflictException & WithResourceType(Aws::String &&value)
ConflictException & WithResourceType(const Aws::String &value)
ConflictException & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue