7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/HashAlgorithm.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeArtifact {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
59 inline long long GetSize()
const {
return m_size; }
62 m_sizeHasBeenSet =
true;
77 template <
typename HashesT = Aws::Map<HashAlgorithm, Aws::String>>
79 m_hashesHasBeenSet =
true;
80 m_hashes = std::forward<HashesT>(value);
82 template <
typename HashesT = Aws::Map<HashAlgorithm, Aws::String>>
88 m_hashesHasBeenSet =
true;
89 m_hashes.emplace(key, value);
99 bool m_nameHasBeenSet =
false;
100 bool m_sizeHasBeenSet =
false;
101 bool m_hashesHasBeenSet =
false;
bool SizeHasBeenSet() const
AssetSummary & WithName(NameT &&value)
AWS_CODEARTIFACT_API AssetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
AssetSummary & WithSize(long long value)
AssetSummary & WithHashes(HashesT &&value)
AWS_CODEARTIFACT_API AssetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetHashes(HashesT &&value)
bool NameHasBeenSet() const
void SetSize(long long value)
void SetName(NameT &&value)
bool HashesHasBeenSet() const
const Aws::String & GetName() const
AssetSummary & AddHashes(HashAlgorithm key, Aws::String value)
const Aws::Map< HashAlgorithm, Aws::String > & GetHashes() const
AWS_CODEARTIFACT_API AssetSummary()=default
long long GetSize() 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