AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagementPreference.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/AwsManagedResources.h>
9#include <aws/migrationhubstrategy/model/NoManagementPreference.h>
10#include <aws/migrationhubstrategy/model/SelfManageResources.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference();
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AwsManagedResources& GetAwsManagedResources() const{ return m_awsManagedResources; }
48 inline bool AwsManagedResourcesHasBeenSet() const { return m_awsManagedResourcesHasBeenSet; }
49 inline void SetAwsManagedResources(const AwsManagedResources& value) { m_awsManagedResourcesHasBeenSet = true; m_awsManagedResources = value; }
50 inline void SetAwsManagedResources(AwsManagedResources&& value) { m_awsManagedResourcesHasBeenSet = true; m_awsManagedResources = std::move(value); }
54
56
59 inline const NoManagementPreference& GetNoPreference() const{ return m_noPreference; }
60 inline bool NoPreferenceHasBeenSet() const { return m_noPreferenceHasBeenSet; }
61 inline void SetNoPreference(const NoManagementPreference& value) { m_noPreferenceHasBeenSet = true; m_noPreference = value; }
62 inline void SetNoPreference(NoManagementPreference&& value) { m_noPreferenceHasBeenSet = true; m_noPreference = std::move(value); }
63 inline ManagementPreference& WithNoPreference(const NoManagementPreference& value) { SetNoPreference(value); return *this;}
64 inline ManagementPreference& WithNoPreference(NoManagementPreference&& value) { SetNoPreference(std::move(value)); return *this;}
66
68
71 inline const SelfManageResources& GetSelfManageResources() const{ return m_selfManageResources; }
72 inline bool SelfManageResourcesHasBeenSet() const { return m_selfManageResourcesHasBeenSet; }
73 inline void SetSelfManageResources(const SelfManageResources& value) { m_selfManageResourcesHasBeenSet = true; m_selfManageResources = value; }
74 inline void SetSelfManageResources(SelfManageResources&& value) { m_selfManageResourcesHasBeenSet = true; m_selfManageResources = std::move(value); }
78 private:
79
80 AwsManagedResources m_awsManagedResources;
81 bool m_awsManagedResourcesHasBeenSet = false;
82
83 NoManagementPreference m_noPreference;
84 bool m_noPreferenceHasBeenSet = false;
85
86 SelfManageResources m_selfManageResources;
87 bool m_selfManageResourcesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MigrationHubStrategyRecommendations
92} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference()
ManagementPreference & WithNoPreference(NoManagementPreference &&value)
ManagementPreference & WithSelfManageResources(SelfManageResources &&value)
ManagementPreference & WithNoPreference(const NoManagementPreference &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference(Aws::Utils::Json::JsonView jsonValue)
ManagementPreference & WithAwsManagedResources(const AwsManagedResources &value)
ManagementPreference & WithAwsManagedResources(AwsManagedResources &&value)
ManagementPreference & WithSelfManageResources(const SelfManageResources &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ManagementPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue