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

Application preferences that you specify.

See Also:

AWS * API Reference

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

Application preferences that you specify to prefer managed environment.

*/ inline const ManagementPreference& GetManagementPreference() const{ return m_managementPreference; } /** *

Application preferences that you specify to prefer managed environment.

*/ inline bool ManagementPreferenceHasBeenSet() const { return m_managementPreferenceHasBeenSet; } /** *

Application preferences that you specify to prefer managed environment.

*/ inline void SetManagementPreference(const ManagementPreference& value) { m_managementPreferenceHasBeenSet = true; m_managementPreference = value; } /** *

Application preferences that you specify to prefer managed environment.

*/ inline void SetManagementPreference(ManagementPreference&& value) { m_managementPreferenceHasBeenSet = true; m_managementPreference = std::move(value); } /** *

Application preferences that you specify to prefer managed environment.

*/ inline ApplicationPreferences& WithManagementPreference(const ManagementPreference& value) { SetManagementPreference(value); return *this;} /** *

Application preferences that you specify to prefer managed environment.

*/ inline ApplicationPreferences& WithManagementPreference(ManagementPreference&& value) { SetManagementPreference(std::move(value)); return *this;} private: ManagementPreference m_managementPreference; bool m_managementPreferenceHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws