/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about a package version asset. See Also:
* AWS
* API Reference
The name of the asset.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the asset.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the asset.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the asset.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the asset.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the asset.
*/ inline AssetSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the asset.
*/ inline AssetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the asset.
*/ inline AssetSummary& WithName(const char* value) { SetName(value); return *this;} /** *The size of the asset.
*/ inline long long GetSize() const{ return m_size; } /** *The size of the asset.
*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *The size of the asset.
*/ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** *The size of the asset.
*/ inline AssetSummary& WithSize(long long value) { SetSize(value); return *this;} /** *The hashes of the asset.
*/ inline const Aws::MapThe hashes of the asset.
*/ inline bool HashesHasBeenSet() const { return m_hashesHasBeenSet; } /** *The hashes of the asset.
*/ inline void SetHashes(const Aws::MapThe hashes of the asset.
*/ inline void SetHashes(Aws::MapThe hashes of the asset.
*/ inline AssetSummary& WithHashes(const Aws::MapThe hashes of the asset.
*/ inline AssetSummary& WithHashes(Aws::MapThe hashes of the asset.
*/ inline AssetSummary& AddHashes(const HashAlgorithm& key, const Aws::String& value) { m_hashesHasBeenSet = true; m_hashes.emplace(key, value); return *this; } /** *The hashes of the asset.
*/ inline AssetSummary& AddHashes(HashAlgorithm&& key, const Aws::String& value) { m_hashesHasBeenSet = true; m_hashes.emplace(std::move(key), value); return *this; } /** *The hashes of the asset.
*/ inline AssetSummary& AddHashes(const HashAlgorithm& key, Aws::String&& value) { m_hashesHasBeenSet = true; m_hashes.emplace(key, std::move(value)); return *this; } /** *The hashes of the asset.
*/ inline AssetSummary& AddHashes(HashAlgorithm&& key, Aws::String&& value) { m_hashesHasBeenSet = true; m_hashes.emplace(std::move(key), std::move(value)); return *this; } /** *The hashes of the asset.
*/ inline AssetSummary& AddHashes(HashAlgorithm&& key, const char* value) { m_hashesHasBeenSet = true; m_hashes.emplace(std::move(key), value); return *this; } /** *The hashes of the asset.
*/ inline AssetSummary& AddHashes(const HashAlgorithm& key, const char* value) { m_hashesHasBeenSet = true; m_hashes.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; long long m_size; bool m_sizeHasBeenSet = false; Aws::Map