AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHeterogeneous(const Heterogeneous& value) { m_heterogeneousHasBeenSet = true; m_heterogeneous = value; }
51 inline void SetHeterogeneous(Heterogeneous&& value) { m_heterogeneousHasBeenSet = true; m_heterogeneous = std::move(value); }
52 inline DatabaseMigrationPreference& WithHeterogeneous(const Heterogeneous& value) { SetHeterogeneous(value); return *this;}
53 inline DatabaseMigrationPreference& WithHeterogeneous(Heterogeneous&& value) { SetHeterogeneous(std::move(value)); return *this;}
55
57
62 inline const Homogeneous& GetHomogeneous() const{ return m_homogeneous; }
63 inline bool HomogeneousHasBeenSet() const { return m_homogeneousHasBeenSet; }
64 inline void SetHomogeneous(const Homogeneous& value) { m_homogeneousHasBeenSet = true; m_homogeneous = value; }
65 inline void SetHomogeneous(Homogeneous&& value) { m_homogeneousHasBeenSet = true; m_homogeneous = std::move(value); }
66 inline DatabaseMigrationPreference& WithHomogeneous(const Homogeneous& value) { SetHomogeneous(value); return *this;}
67 inline DatabaseMigrationPreference& WithHomogeneous(Homogeneous&& value) { SetHomogeneous(std::move(value)); return *this;}
69
71
74 inline const NoDatabaseMigrationPreference& GetNoPreference() const{ return m_noPreference; }
75 inline bool NoPreferenceHasBeenSet() const { return m_noPreferenceHasBeenSet; }
76 inline void SetNoPreference(const NoDatabaseMigrationPreference& value) { m_noPreferenceHasBeenSet = true; m_noPreference = value; }
77 inline void SetNoPreference(NoDatabaseMigrationPreference&& value) { m_noPreferenceHasBeenSet = true; m_noPreference = std::move(value); }
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
DatabaseMigrationPreference & WithHeterogeneous(const Heterogeneous &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseMigrationPreference(Aws::Utils::Json::JsonView jsonValue)
DatabaseMigrationPreference & WithNoPreference(NoDatabaseMigrationPreference &&value)
DatabaseMigrationPreference & WithNoPreference(const NoDatabaseMigrationPreference &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue