AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recommendation.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/RecommendationSettings.h>
10#include <aws/dms/model/RecommendationData.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 DatabaseMigrationService
24{
25namespace Model
26{
27
43 {
44 public:
45 AWS_DATABASEMIGRATIONSERVICE_API Recommendation();
46 AWS_DATABASEMIGRATIONSERVICE_API Recommendation(Aws::Utils::Json::JsonView jsonValue);
47 AWS_DATABASEMIGRATIONSERVICE_API Recommendation& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
57 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
58 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
59 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
60 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
61 inline Recommendation& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
62 inline Recommendation& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
63 inline Recommendation& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
65
67
73 inline const Aws::String& GetEngineName() const{ return m_engineName; }
74 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
75 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
76 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
77 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
78 inline Recommendation& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
79 inline Recommendation& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
80 inline Recommendation& WithEngineName(const char* value) { SetEngineName(value); return *this;}
82
84
87 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
88 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
89 inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
90 inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
91 inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
92 inline Recommendation& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
93 inline Recommendation& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
94 inline Recommendation& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
96
98
103 inline const Aws::String& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
108 inline Recommendation& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
109 inline Recommendation& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
110 inline Recommendation& WithStatus(const char* value) { SetStatus(value); return *this;}
112
114
117 inline bool GetPreferred() const{ return m_preferred; }
118 inline bool PreferredHasBeenSet() const { return m_preferredHasBeenSet; }
119 inline void SetPreferred(bool value) { m_preferredHasBeenSet = true; m_preferred = value; }
120 inline Recommendation& WithPreferred(bool value) { SetPreferred(value); return *this;}
122
124
129 inline const RecommendationSettings& GetSettings() const{ return m_settings; }
130 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
131 inline void SetSettings(const RecommendationSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
132 inline void SetSettings(RecommendationSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
133 inline Recommendation& WithSettings(const RecommendationSettings& value) { SetSettings(value); return *this;}
134 inline Recommendation& WithSettings(RecommendationSettings&& value) { SetSettings(std::move(value)); return *this;}
136
138
141 inline const RecommendationData& GetData() const{ return m_data; }
142 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
143 inline void SetData(const RecommendationData& value) { m_dataHasBeenSet = true; m_data = value; }
144 inline void SetData(RecommendationData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
145 inline Recommendation& WithData(const RecommendationData& value) { SetData(value); return *this;}
146 inline Recommendation& WithData(RecommendationData&& value) { SetData(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_databaseId;
151 bool m_databaseIdHasBeenSet = false;
152
153 Aws::String m_engineName;
154 bool m_engineNameHasBeenSet = false;
155
156 Aws::String m_createdDate;
157 bool m_createdDateHasBeenSet = false;
158
159 Aws::String m_status;
160 bool m_statusHasBeenSet = false;
161
162 bool m_preferred;
163 bool m_preferredHasBeenSet = false;
164
165 RecommendationSettings m_settings;
166 bool m_settingsHasBeenSet = false;
167
168 RecommendationData m_data;
169 bool m_dataHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace DatabaseMigrationService
174} // namespace Aws
Recommendation & WithCreatedDate(const char *value)
Recommendation & WithEngineName(const Aws::String &value)
Recommendation & WithDatabaseId(const char *value)
Recommendation & WithStatus(Aws::String &&value)
Recommendation & WithData(const RecommendationData &value)
void SetSettings(RecommendationSettings &&value)
Recommendation & WithEngineName(const char *value)
Recommendation & WithStatus(const char *value)
Recommendation & WithDatabaseId(const Aws::String &value)
void SetSettings(const RecommendationSettings &value)
Recommendation & WithData(RecommendationData &&value)
Recommendation & WithCreatedDate(const Aws::String &value)
Recommendation & WithSettings(const RecommendationSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API Recommendation()
AWS_DATABASEMIGRATIONSERVICE_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithCreatedDate(Aws::String &&value)
Recommendation & WithStatus(const Aws::String &value)
Recommendation & WithEngineName(Aws::String &&value)
const RecommendationSettings & GetSettings() const
Recommendation & WithSettings(RecommendationSettings &&value)
void SetData(const RecommendationData &value)
Recommendation & WithDatabaseId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue