7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/model/ResourceDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
48 template<
typename DetailsT = ResourceDetails>
49 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
50 template<
typename DetailsT = ResourceDetails>
60 template<
typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
62 template<
typename IdT = Aws::String>
72 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
74 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
78 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
88 template<
typename TypeT = Aws::String>
89 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
90 template<
typename TypeT = Aws::String>
96 bool m_detailsHasBeenSet =
false;
99 bool m_idHasBeenSet =
false;
102 bool m_tagsHasBeenSet =
false;
105 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