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>
61 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
62 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 inline Resource&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
83 inline Resource&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
84 inline Resource&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
95 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
103 bool m_detailsHasBeenSet =
false;
106 bool m_idHasBeenSet =
false;
109 bool m_tagsHasBeenSet =
false;
112 bool m_typeHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_ECR_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Resource & AddTags(const char *key, Aws::String &&value)
Resource & WithDetails(ResourceDetails &&value)
Resource & WithDetails(const ResourceDetails &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ECR_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithId(const char *value)
Resource & WithId(const Aws::String &value)
Resource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetType(const char *value)
Resource & AddTags(Aws::String &&key, const char *value)
bool IdHasBeenSet() const
bool TagsHasBeenSet() const
void SetDetails(ResourceDetails &&value)
void SetDetails(const ResourceDetails &value)
const Aws::String & GetId() const
Resource & WithId(Aws::String &&value)
const Aws::String & GetType() const
Resource & AddTags(const Aws::String &key, Aws::String &&value)
void SetType(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Resource & AddTags(Aws::String &&key, const Aws::String &value)
Resource & AddTags(const char *key, const char *value)
Resource & WithType(Aws::String &&value)
Resource & WithType(const char *value)
void SetId(Aws::String &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(Aws::String &&value)
Resource & AddTags(const Aws::String &key, const Aws::String &value)
Resource & WithType(const Aws::String &value)
const ResourceDetails & GetDetails() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Resource & AddTags(Aws::String &&key, Aws::String &&value)
void SetId(const Aws::String &value)
Resource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool DetailsHasBeenSet() 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