7#include <aws/appconfigdata/AppConfigData_EXPORTS.h>
8#include <aws/appconfigdata/model/ResourceType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AppConfigData {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
59 m_resourceTypeHasBeenSet =
true;
60 m_resourceType = value;
75 template <
typename ReferencedByT = Aws::Map<Aws::String, Aws::String>>
77 m_referencedByHasBeenSet =
true;
78 m_referencedBy = std::forward<ReferencedByT>(value);
80 template <
typename ReferencedByT = Aws::Map<Aws::String, Aws::String>>
85 template <
typename ReferencedByKeyT = Aws::String,
typename ReferencedByValueT = Aws::String>
87 m_referencedByHasBeenSet =
true;
88 m_referencedBy.emplace(std::forward<ReferencedByKeyT>(key), std::forward<ReferencedByValueT>(value));
98 bool m_messageHasBeenSet =
false;
99 bool m_resourceTypeHasBeenSet =
false;
100 bool m_referencedByHasBeenSet =
false;
const Aws::String & GetMessage() const
AWS_APPCONFIGDATA_API ResourceNotFoundException()=default
ResourceNotFoundException & AddReferencedBy(ReferencedByKeyT &&key, ReferencedByValueT &&value)
bool MessageHasBeenSet() const
bool ReferencedByHasBeenSet() const
void SetResourceType(ResourceType value)
ResourceNotFoundException & WithReferencedBy(ReferencedByT &&value)
AWS_APPCONFIGDATA_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceType GetResourceType() const
ResourceNotFoundException & WithMessage(MessageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetReferencedBy() const
AWS_APPCONFIGDATA_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithResourceType(ResourceType value)
AWS_APPCONFIGDATA_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
bool ResourceTypeHasBeenSet() const
void SetReferencedBy(ReferencedByT &&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