AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatabaseMigrationPreference.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/Heterogeneous.h>
9#include <aws/migrationhubstrategy/model/Homogeneous.h>
10#include <aws/migrationhubstrategy/model/NoDatabaseMigrationPreference.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
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference() = default;
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Heterogeneous& GetHeterogeneous() const { return m_heterogeneous; }
49 inline bool HeterogeneousHasBeenSet() const { return m_heterogeneousHasBeenSet; }
50 template<typename HeterogeneousT = Heterogeneous>
51 void SetHeterogeneous(HeterogeneousT&& value) { m_heterogeneousHasBeenSet = true; m_heterogeneous = std::forward<HeterogeneousT>(value); }
52 template<typename HeterogeneousT = Heterogeneous>
53 DatabaseMigrationPreference& WithHeterogeneous(HeterogeneousT&& value) { SetHeterogeneous(std::forward<HeterogeneousT>(value)); return *this;}
55
57
62 inline const Homogeneous& GetHomogeneous() const { return m_homogeneous; }
63 inline bool HomogeneousHasBeenSet() const { return m_homogeneousHasBeenSet; }
64 template<typename HomogeneousT = Homogeneous>
65 void SetHomogeneous(HomogeneousT&& value) { m_homogeneousHasBeenSet = true; m_homogeneous = std::forward<HomogeneousT>(value); }
66 template<typename HomogeneousT = Homogeneous>
67 DatabaseMigrationPreference& WithHomogeneous(HomogeneousT&& value) { SetHomogeneous(std::forward<HomogeneousT>(value)); return *this;}
69
71
74 inline const NoDatabaseMigrationPreference& GetNoPreference() const { return m_noPreference; }
75 inline bool NoPreferenceHasBeenSet() const { return m_noPreferenceHasBeenSet; }
76 template<typename NoPreferenceT = NoDatabaseMigrationPreference>
77 void SetNoPreference(NoPreferenceT&& value) { m_noPreferenceHasBeenSet = true; m_noPreference = std::forward<NoPreferenceT>(value); }
78 template<typename NoPreferenceT = NoDatabaseMigrationPreference>
79 DatabaseMigrationPreference& WithNoPreference(NoPreferenceT&& value) { SetNoPreference(std::forward<NoPreferenceT>(value)); return *this;}
81 private:
82
83 Heterogeneous m_heterogeneous;
84 bool m_heterogeneousHasBeenSet = false;
85
86 Homogeneous m_homogeneous;
87 bool m_homogeneousHasBeenSet = false;
88
89 NoDatabaseMigrationPreference m_noPreference;
90 bool m_noPreferenceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MigrationHubStrategyRecommendations
95} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue