/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Inventory query results.See Also:
AWS
* API Reference
ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline InventoryResultEntity& WithId(const Aws::String& value) { SetId(value); return *this;} /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline InventoryResultEntity& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *ID of the inventory result entity. For example, for managed node inventory * the result will be the managed node ID. For EC2 instance inventory, the result * will be the instance ID.
*/ inline InventoryResultEntity& WithId(const char* value) { SetId(value); return *this;} /** *The data section in the inventory result entity JSON.
*/ inline const Aws::MapThe data section in the inventory result entity JSON.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The data section in the inventory result entity JSON.
*/ inline void SetData(const Aws::MapThe data section in the inventory result entity JSON.
*/ inline void SetData(Aws::MapThe data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& WithData(const Aws::MapThe data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& WithData(Aws::MapThe data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(const Aws::String& key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; } /** *The data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(Aws::String&& key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; } /** *The data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(const Aws::String& key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; } /** *The data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(Aws::String&& key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), std::move(value)); return *this; } /** *The data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(const char* key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; } /** *The data section in the inventory result entity JSON.
*/ inline InventoryResultEntity& AddData(const char* key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Map