AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RdsRecommendation.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/model/RdsConfiguration.h>
9#include <aws/dms/model/RdsRequirements.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DatabaseMigrationService {
21namespace Model {
22
30 public:
31 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation() = default;
32 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API RdsRecommendation& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const RdsRequirements& GetRequirementsToTarget() const { return m_requirementsToTarget; }
42 inline bool RequirementsToTargetHasBeenSet() const { return m_requirementsToTargetHasBeenSet; }
43 template <typename RequirementsToTargetT = RdsRequirements>
44 void SetRequirementsToTarget(RequirementsToTargetT&& value) {
45 m_requirementsToTargetHasBeenSet = true;
46 m_requirementsToTarget = std::forward<RequirementsToTargetT>(value);
47 }
48 template <typename RequirementsToTargetT = RdsRequirements>
49 RdsRecommendation& WithRequirementsToTarget(RequirementsToTargetT&& value) {
50 SetRequirementsToTarget(std::forward<RequirementsToTargetT>(value));
51 return *this;
52 }
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) {
64 m_targetConfigurationHasBeenSet = true;
65 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
66 }
67 template <typename TargetConfigurationT = RdsConfiguration>
68 RdsRecommendation& WithTargetConfiguration(TargetConfigurationT&& value) {
69 SetTargetConfiguration(std::forward<TargetConfigurationT>(value));
70 return *this;
71 }
73 private:
74 RdsRequirements m_requirementsToTarget;
75
76 RdsConfiguration m_targetConfiguration;
77 bool m_requirementsToTargetHasBeenSet = false;
78 bool m_targetConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DatabaseMigrationService
83} // 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