7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/ConflictExceptionReason.h>
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
76 template <
typename ResourceIdT = Aws::String>
78 m_resourceIdHasBeenSet =
true;
79 m_resourceId = std::forward<ResourceIdT>(value);
81 template <
typename ResourceIdT = Aws::String>
94 template <
typename ResourceTypeT = Aws::String>
96 m_resourceTypeHasBeenSet =
true;
97 m_resourceType = std::forward<ResourceTypeT>(value);
99 template <
typename ResourceTypeT = Aws::String>
112 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
114 m_contextHasBeenSet =
true;
115 m_context = std::forward<ContextT>(value);
117 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
122 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
124 m_contextHasBeenSet =
true;
125 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
139 bool m_messageHasBeenSet =
false;
140 bool m_reasonHasBeenSet =
false;
141 bool m_resourceIdHasBeenSet =
false;
142 bool m_resourceTypeHasBeenSet =
false;
143 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