AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RdsRecommendation.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/model/RdsRequirements.h>
9#include <aws/dms/model/RdsConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation() = default;
37 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RdsRequirements& GetRequirementsToTarget() const { return m_requirementsToTarget; }
48 inline bool RequirementsToTargetHasBeenSet() const { return m_requirementsToTargetHasBeenSet; }
49 template<typename RequirementsToTargetT = RdsRequirements>
50 void SetRequirementsToTarget(RequirementsToTargetT&& value) { m_requirementsToTargetHasBeenSet = true; m_requirementsToTarget = std::forward<RequirementsToTargetT>(value); }
51 template<typename RequirementsToTargetT = RdsRequirements>
52 RdsRecommendation& WithRequirementsToTarget(RequirementsToTargetT&& value) { SetRequirementsToTarget(std::forward<RequirementsToTargetT>(value)); return *this;}
54
56
60 inline const RdsConfiguration& GetTargetConfiguration() const { return m_targetConfiguration; }
61 inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; }
62 template<typename TargetConfigurationT = RdsConfiguration>
63 void SetTargetConfiguration(TargetConfigurationT&& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = std::forward<TargetConfigurationT>(value); }
64 template<typename TargetConfigurationT = RdsConfiguration>
65 RdsRecommendation& WithTargetConfiguration(TargetConfigurationT&& value) { SetTargetConfiguration(std::forward<TargetConfigurationT>(value)); return *this;}
67 private:
68
69 RdsRequirements m_requirementsToTarget;
70 bool m_requirementsToTargetHasBeenSet = false;
71
72 RdsConfiguration m_targetConfiguration;
73 bool m_targetConfigurationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DatabaseMigrationService
78} // namespace Aws
void SetRequirementsToTarget(RequirementsToTargetT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation(Aws::Utils::Json::JsonView jsonValue)
RdsRecommendation & WithRequirementsToTarget(RequirementsToTargetT &&value)
RdsRecommendation & WithTargetConfiguration(TargetConfigurationT &&value)
void SetTargetConfiguration(TargetConfigurationT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue