/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class ListInventoryEntriesResult { public: AWS_SSM_API ListInventoryEntriesResult(); AWS_SSM_API ListInventoryEntriesResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API ListInventoryEntriesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The type of inventory item returned by the request.

*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *

The type of inventory item returned by the request.

*/ inline void SetTypeName(const Aws::String& value) { m_typeName = value; } /** *

The type of inventory item returned by the request.

*/ inline void SetTypeName(Aws::String&& value) { m_typeName = std::move(value); } /** *

The type of inventory item returned by the request.

*/ inline void SetTypeName(const char* value) { m_typeName.assign(value); } /** *

The type of inventory item returned by the request.

*/ inline ListInventoryEntriesResult& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *

The type of inventory item returned by the request.

*/ inline ListInventoryEntriesResult& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *

The type of inventory item returned by the request.

*/ inline ListInventoryEntriesResult& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; } /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); } /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline void SetInstanceId(const char* value) { m_instanceId.assign(value); } /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline ListInventoryEntriesResult& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline ListInventoryEntriesResult& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The managed node ID targeted by the request to query inventory * information.

*/ inline ListInventoryEntriesResult& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The inventory schema version used by the managed node(s).

*/ inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } /** *

The inventory schema version used by the managed node(s).

*/ inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersion = value; } /** *

The inventory schema version used by the managed node(s).

*/ inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersion = std::move(value); } /** *

The inventory schema version used by the managed node(s).

*/ inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); } /** *

The inventory schema version used by the managed node(s).

*/ inline ListInventoryEntriesResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} /** *

The inventory schema version used by the managed node(s).

*/ inline ListInventoryEntriesResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} /** *

The inventory schema version used by the managed node(s).

*/ inline ListInventoryEntriesResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} /** *

The time that inventory information was collected for the managed * node(s).

*/ inline const Aws::String& GetCaptureTime() const{ return m_captureTime; } /** *

The time that inventory information was collected for the managed * node(s).

*/ inline void SetCaptureTime(const Aws::String& value) { m_captureTime = value; } /** *

The time that inventory information was collected for the managed * node(s).

*/ inline void SetCaptureTime(Aws::String&& value) { m_captureTime = std::move(value); } /** *

The time that inventory information was collected for the managed * node(s).

*/ inline void SetCaptureTime(const char* value) { m_captureTime.assign(value); } /** *

The time that inventory information was collected for the managed * node(s).

*/ inline ListInventoryEntriesResult& WithCaptureTime(const Aws::String& value) { SetCaptureTime(value); return *this;} /** *

The time that inventory information was collected for the managed * node(s).

*/ inline ListInventoryEntriesResult& WithCaptureTime(Aws::String&& value) { SetCaptureTime(std::move(value)); return *this;} /** *

The time that inventory information was collected for the managed * node(s).

*/ inline ListInventoryEntriesResult& WithCaptureTime(const char* value) { SetCaptureTime(value); return *this;} /** *

A list of inventory items on the managed node(s).

*/ inline const Aws::Vector>& GetEntries() const{ return m_entries; } /** *

A list of inventory items on the managed node(s).

*/ inline void SetEntries(const Aws::Vector>& value) { m_entries = value; } /** *

A list of inventory items on the managed node(s).

*/ inline void SetEntries(Aws::Vector>&& value) { m_entries = std::move(value); } /** *

A list of inventory items on the managed node(s).

*/ inline ListInventoryEntriesResult& WithEntries(const Aws::Vector>& value) { SetEntries(value); return *this;} /** *

A list of inventory items on the managed node(s).

*/ inline ListInventoryEntriesResult& WithEntries(Aws::Vector>&& value) { SetEntries(std::move(value)); return *this;} /** *

A list of inventory items on the managed node(s).

*/ inline ListInventoryEntriesResult& AddEntries(const Aws::Map& value) { m_entries.push_back(value); return *this; } /** *

A list of inventory items on the managed node(s).

*/ inline ListInventoryEntriesResult& AddEntries(Aws::Map&& value) { m_entries.push_back(std::move(value)); return *this; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline ListInventoryEntriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline ListInventoryEntriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline ListInventoryEntriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListInventoryEntriesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListInventoryEntriesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListInventoryEntriesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_typeName; Aws::String m_instanceId; Aws::String m_schemaVersion; Aws::String m_captureTime; Aws::Vector> m_entries; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws