7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/codeartifact/model/HashAlgorithm.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
61 inline long long GetSize()
const{
return m_size; }
63 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
87 bool m_nameHasBeenSet =
false;
90 bool m_sizeHasBeenSet =
false;
93 bool m_hashesHasBeenSet =
false;
AssetSummary & WithName(const Aws::String &value)
AssetSummary & AddHashes(HashAlgorithm &&key, const char *value)
bool SizeHasBeenSet() const
AWS_CODEARTIFACT_API AssetSummary()
AssetSummary & AddHashes(HashAlgorithm &&key, Aws::String &&value)
AssetSummary & AddHashes(const HashAlgorithm &key, Aws::String &&value)
AWS_CODEARTIFACT_API AssetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
AssetSummary & AddHashes(const HashAlgorithm &key, const Aws::String &value)
AssetSummary & WithSize(long long value)
void SetHashes(Aws::Map< HashAlgorithm, Aws::String > &&value)
AWS_CODEARTIFACT_API AssetSummary(Aws::Utils::Json::JsonView jsonValue)
AssetSummary & WithName(Aws::String &&value)
AssetSummary & WithHashes(const Aws::Map< HashAlgorithm, Aws::String > &value)
AssetSummary & AddHashes(const HashAlgorithm &key, const char *value)
bool NameHasBeenSet() const
void SetSize(long long value)
void SetName(const Aws::String &value)
void SetHashes(const Aws::Map< HashAlgorithm, Aws::String > &value)
bool HashesHasBeenSet() const
const Aws::String & GetName() const
AssetSummary & WithHashes(Aws::Map< HashAlgorithm, Aws::String > &&value)
const Aws::Map< HashAlgorithm, Aws::String > & GetHashes() const
AssetSummary & AddHashes(HashAlgorithm &&key, const Aws::String &value)
void SetName(const char *value)
long long GetSize() const
void SetName(Aws::String &&value)
AssetSummary & WithName(const char *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