AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartRecommendationsRequestEntry.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 <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
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry();
38 AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
48 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
49 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
50 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
51 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
52 inline StartRecommendationsRequestEntry& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
53 inline StartRecommendationsRequestEntry& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
54 inline StartRecommendationsRequestEntry& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
56
58
61 inline const RecommendationSettings& GetSettings() const{ return m_settings; }
62 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
63 inline void SetSettings(const RecommendationSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
64 inline void SetSettings(RecommendationSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
66 inline StartRecommendationsRequestEntry& WithSettings(RecommendationSettings&& value) { SetSettings(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_databaseId;
71 bool m_databaseIdHasBeenSet = false;
72
73 RecommendationSettings m_settings;
74 bool m_settingsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DatabaseMigrationService
79} // namespace Aws
StartRecommendationsRequestEntry & WithDatabaseId(const Aws::String &value)
StartRecommendationsRequestEntry & WithDatabaseId(const char *value)
bool DatabaseIdHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequestEntry()
bool SettingsHasBeenSet() const
StartRecommendationsRequestEntry & WithSettings(const RecommendationSettings &value)
StartRecommendationsRequestEntry & WithDatabaseId(Aws::String &&value)
void SetDatabaseId(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const RecommendationSettings & GetSettings() const
void SetDatabaseId(const Aws::String &value)
void SetSettings(const RecommendationSettings &value)
StartRecommendationsRequestEntry & WithSettings(RecommendationSettings &&value)
void SetDatabaseId(Aws::String &&value)
const Aws::String & GetDatabaseId() const
void SetSettings(RecommendationSettings &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue