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

Describes automated discovery.

See Also:

AWS * API Reference

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

Time that automated discovery last ran.

*/ inline const Aws::Utils::DateTime& GetLastRunTime() const{ return m_lastRunTime; } /** *

Time that automated discovery last ran.

*/ inline bool LastRunTimeHasBeenSet() const { return m_lastRunTimeHasBeenSet; } /** *

Time that automated discovery last ran.

*/ inline void SetLastRunTime(const Aws::Utils::DateTime& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = value; } /** *

Time that automated discovery last ran.

*/ inline void SetLastRunTime(Aws::Utils::DateTime&& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = std::move(value); } /** *

Time that automated discovery last ran.

*/ inline AutomatedDiscoveryInformation& WithLastRunTime(const Aws::Utils::DateTime& value) { SetLastRunTime(value); return *this;} /** *

Time that automated discovery last ran.

*/ inline AutomatedDiscoveryInformation& WithLastRunTime(Aws::Utils::DateTime&& value) { SetLastRunTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_lastRunTime; bool m_lastRunTimeHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws