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>
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
58 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
60 m_contextHasBeenSet =
true;
61 m_context = std::forward<ContextT>(value);
63 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
68 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
70 m_contextHasBeenSet =
true;
71 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
79 bool m_messageHasBeenSet =
false;
80 bool m_contextHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetContext() const
void SetContext(ContextT &&value)
AccessDeniedException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContextHasBeenSet() const
AccessDeniedException & AddContext(ContextKeyT &&key, ContextValueT &&value)
AccessDeniedException & WithContext(ContextT &&value)
AWS_DEADLINE_API AccessDeniedException()=default
bool MessageHasBeenSet() const
AWS_DEADLINE_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
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