7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace NetworkManager
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
59 template<
typename ResourceIdT = Aws::String>
69 template<
typename ResourceTypeT = Aws::String>
70 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
71 template<
typename ResourceTypeT = Aws::String>
81 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
82 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
83 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
85 template<
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
87 m_contextHasBeenSet =
true; m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
return *
this;
93 bool m_messageHasBeenSet =
false;
96 bool m_resourceIdHasBeenSet =
false;
99 bool m_resourceTypeHasBeenSet =
false;
102 bool m_contextHasBeenSet =
false;
ResourceNotFoundException & WithMessage(MessageT &&value)
ResourceNotFoundException & WithContext(ContextT &&value)
ResourceNotFoundException & WithResourceType(ResourceTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
void SetMessage(MessageT &&value)
AWS_NETWORKMANAGER_API ResourceNotFoundException()=default
AWS_NETWORKMANAGER_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & AddContext(ContextKeyT &&key, ContextValueT &&value)
AWS_NETWORKMANAGER_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceTypeT &&value)
bool ContextHasBeenSet() const
const Aws::String & GetMessage() const
void SetResourceId(ResourceIdT &&value)
ResourceNotFoundException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
void SetContext(ContextT &&value)
bool ResourceTypeHasBeenSet() const
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