/** * 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 GreengrassV2 { namespace Model { class ListInstalledComponentsResult { public: AWS_GREENGRASSV2_API ListInstalledComponentsResult(); AWS_GREENGRASSV2_API ListInstalledComponentsResult(const Aws::AmazonWebServiceResult& result); AWS_GREENGRASSV2_API ListInstalledComponentsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline const Aws::Vector& GetInstalledComponents() const{ return m_installedComponents; } /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline void SetInstalledComponents(const Aws::Vector& value) { m_installedComponents = value; } /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline void SetInstalledComponents(Aws::Vector&& value) { m_installedComponents = std::move(value); } /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline ListInstalledComponentsResult& WithInstalledComponents(const Aws::Vector& value) { SetInstalledComponents(value); return *this;} /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline ListInstalledComponentsResult& WithInstalledComponents(Aws::Vector&& value) { SetInstalledComponents(std::move(value)); return *this;} /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline ListInstalledComponentsResult& AddInstalledComponents(const InstalledComponent& value) { m_installedComponents.push_back(value); return *this; } /** *

A list that summarizes each component on the core device.

*

Greengrass nucleus v2.7.0 or later is required to get an accurate * lastStatusChangeTimestamp response. This response can be inaccurate * in earlier Greengrass nucleus versions.

Greengrass nucleus * v2.8.0 or later is required to get an accurate * lastInstallationSource and lastReportedTimestamp * response. This response can be inaccurate or null in earlier Greengrass nucleus * versions.

*/ inline ListInstalledComponentsResult& AddInstalledComponents(InstalledComponent&& value) { m_installedComponents.push_back(std::move(value)); return *this; } /** *

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

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

The token for the next set of results, or null if there are no additional * results.

*/ inline ListInstalledComponentsResult& 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 ListInstalledComponentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListInstalledComponentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListInstalledComponentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_installedComponents; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws