AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartRecommendationsRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/RecommendationSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATABASEMIGRATIONSERVICE_API StartRecommendationsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartRecommendations"; }
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
44 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
45 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
46 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
47 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
48 inline StartRecommendationsRequest& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
49 inline StartRecommendationsRequest& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
50 inline StartRecommendationsRequest& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
52
54
62 inline const RecommendationSettings& GetSettings() const{ return m_settings; }
63 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
64 inline void SetSettings(const RecommendationSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
65 inline void SetSettings(RecommendationSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
66 inline StartRecommendationsRequest& WithSettings(const RecommendationSettings& value) { SetSettings(value); return *this;}
67 inline StartRecommendationsRequest& WithSettings(RecommendationSettings&& value) { SetSettings(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_databaseId;
72 bool m_databaseIdHasBeenSet = false;
73
74 RecommendationSettings m_settings;
75 bool m_settingsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DatabaseMigrationService
80} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
StartRecommendationsRequest & WithSettings(const RecommendationSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartRecommendationsRequest & WithDatabaseId(Aws::String &&value)
StartRecommendationsRequest & WithDatabaseId(const Aws::String &value)
StartRecommendationsRequest & WithSettings(RecommendationSettings &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String