/** * 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 DirectoryService { namespace Model { /** *

The value for a given type of UpdateSettings.

See * Also:

AWS API * Reference

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

The OS update related settings.

*/ inline const OSUpdateSettings& GetOSUpdateSettings() const{ return m_oSUpdateSettings; } /** *

The OS update related settings.

*/ inline bool OSUpdateSettingsHasBeenSet() const { return m_oSUpdateSettingsHasBeenSet; } /** *

The OS update related settings.

*/ inline void SetOSUpdateSettings(const OSUpdateSettings& value) { m_oSUpdateSettingsHasBeenSet = true; m_oSUpdateSettings = value; } /** *

The OS update related settings.

*/ inline void SetOSUpdateSettings(OSUpdateSettings&& value) { m_oSUpdateSettingsHasBeenSet = true; m_oSUpdateSettings = std::move(value); } /** *

The OS update related settings.

*/ inline UpdateValue& WithOSUpdateSettings(const OSUpdateSettings& value) { SetOSUpdateSettings(value); return *this;} /** *

The OS update related settings.

*/ inline UpdateValue& WithOSUpdateSettings(OSUpdateSettings&& value) { SetOSUpdateSettings(std::move(value)); return *this;} private: OSUpdateSettings m_oSUpdateSettings; bool m_oSUpdateSettingsHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws