7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/ResourceDetails.h>
42 template <
typename DetailsT = ResourceDetails>
44 m_detailsHasBeenSet =
true;
45 m_details = std::forward<DetailsT>(value);
47 template <
typename DetailsT = ResourceDetails>
60 template <
typename IdT = Aws::String>
62 m_idHasBeenSet =
true;
63 m_id = std::forward<IdT>(value);
65 template <
typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
78 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 m_tagsHasBeenSet =
true;
81 m_tags = std::forward<TagsT>(value);
83 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 SetTags(std::forward<TagsT>(value));
88 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
90 m_tagsHasBeenSet =
true;
91 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
102 template <
typename TypeT = Aws::String>
104 m_typeHasBeenSet =
true;
105 m_type = std::forward<TypeT>(value);
107 template <
typename TypeT = Aws::String>
109 SetType(std::forward<TypeT>(value));
121 bool m_detailsHasBeenSet =
false;
122 bool m_idHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
AWS_ECR_API Resource()=default
void SetTags(TagsT &&value)
bool TypeHasBeenSet() const
AWS_ECR_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetDetails(DetailsT &&value)
bool IdHasBeenSet() const
void SetType(TypeT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetId() const
const Aws::String & GetType() const
Resource & WithId(IdT &&value)
Resource & WithTags(TagsT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceDetails & GetDetails() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Resource & WithType(TypeT &&value)
Resource & WithDetails(DetailsT &&value)
bool DetailsHasBeenSet() const
Resource & AddTags(TagsKeyT &&key, TagsValueT &&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