/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Outposts { namespace Model { /** *

Information about a line item asset.

See Also:

AWS * API Reference

*/ class LineItemAssetInformation { public: AWS_OUTPOSTS_API LineItemAssetInformation(); AWS_OUTPOSTS_API LineItemAssetInformation(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API LineItemAssetInformation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the asset.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** *

The ID of the asset.

*/ inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } /** *

The ID of the asset.

*/ inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } /** *

The ID of the asset.

*/ inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } /** *

The ID of the asset.

*/ inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } /** *

The ID of the asset.

*/ inline LineItemAssetInformation& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *

The ID of the asset.

*/ inline LineItemAssetInformation& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** *

The ID of the asset.

*/ inline LineItemAssetInformation& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** *

The MAC addresses of the asset.

*/ inline const Aws::Vector& GetMacAddressList() const{ return m_macAddressList; } /** *

The MAC addresses of the asset.

*/ inline bool MacAddressListHasBeenSet() const { return m_macAddressListHasBeenSet; } /** *

The MAC addresses of the asset.

*/ inline void SetMacAddressList(const Aws::Vector& value) { m_macAddressListHasBeenSet = true; m_macAddressList = value; } /** *

The MAC addresses of the asset.

*/ inline void SetMacAddressList(Aws::Vector&& value) { m_macAddressListHasBeenSet = true; m_macAddressList = std::move(value); } /** *

The MAC addresses of the asset.

*/ inline LineItemAssetInformation& WithMacAddressList(const Aws::Vector& value) { SetMacAddressList(value); return *this;} /** *

The MAC addresses of the asset.

*/ inline LineItemAssetInformation& WithMacAddressList(Aws::Vector&& value) { SetMacAddressList(std::move(value)); return *this;} /** *

The MAC addresses of the asset.

*/ inline LineItemAssetInformation& AddMacAddressList(const Aws::String& value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(value); return *this; } /** *

The MAC addresses of the asset.

*/ inline LineItemAssetInformation& AddMacAddressList(Aws::String&& value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(std::move(value)); return *this; } /** *

The MAC addresses of the asset.

*/ inline LineItemAssetInformation& AddMacAddressList(const char* value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(value); return *this; } private: Aws::String m_assetId; bool m_assetIdHasBeenSet = false; Aws::Vector m_macAddressList; bool m_macAddressListHasBeenSet = false; }; } // namespace Model } // namespace Outposts } // namespace Aws