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>
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
70 template<
typename ResourceIdT = Aws::String>
71 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
72 template<
typename ResourceIdT = Aws::String>
82 template<
typename ResourceTypeT = Aws::String>
83 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
84 template<
typename ResourceTypeT = Aws::String>
94 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
95 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
96 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
98 template<
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
100 m_contextHasBeenSet =
true; m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
return *
this;
106 bool m_messageHasBeenSet =
false;
109 bool m_reasonHasBeenSet =
false;
112 bool m_resourceIdHasBeenSet =
false;
115 bool m_resourceTypeHasBeenSet =
false;
118 bool m_contextHasBeenSet =
false;
void SetResourceType(ResourceTypeT &&value)
ConflictException & WithContext(ContextT &&value)
ConflictException & WithResourceId(ResourceIdT &&value)
void SetReason(ConflictExceptionReason value)
void SetContext(ContextT &&value)
ConflictExceptionReason GetReason() const
ConflictException & WithMessage(MessageT &&value)
AWS_DEADLINE_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
ConflictException & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetResourceId() const
const Aws::String & GetResourceType() const
AWS_DEADLINE_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API ConflictException()=default
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool ReasonHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & AddContext(ContextKeyT &&key, ContextValueT &&value)
ConflictException & WithReason(ConflictExceptionReason value)
bool ContextHasBeenSet() const
void SetResourceId(ResourceIdT &&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