AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutPortfolioPreferencesRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/migrationhubstrategy/model/ApplicationMode.h>
10#include <aws/migrationhubstrategy/model/ApplicationPreferences.h>
11#include <aws/migrationhubstrategy/model/DatabasePreferences.h>
12#include <aws/migrationhubstrategy/model/PrioritizeBusinessGoals.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MigrationHubStrategyRecommendations
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API PutPortfolioPreferencesRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PutPortfolioPreferences"; }
34
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const ApplicationMode& GetApplicationMode() const{ return m_applicationMode; }
43 inline bool ApplicationModeHasBeenSet() const { return m_applicationModeHasBeenSet; }
44 inline void SetApplicationMode(const ApplicationMode& value) { m_applicationModeHasBeenSet = true; m_applicationMode = value; }
45 inline void SetApplicationMode(ApplicationMode&& value) { m_applicationModeHasBeenSet = true; m_applicationMode = std::move(value); }
47 inline PutPortfolioPreferencesRequest& WithApplicationMode(ApplicationMode&& value) { SetApplicationMode(std::move(value)); return *this;}
49
51
54 inline const ApplicationPreferences& GetApplicationPreferences() const{ return m_applicationPreferences; }
55 inline bool ApplicationPreferencesHasBeenSet() const { return m_applicationPreferencesHasBeenSet; }
56 inline void SetApplicationPreferences(const ApplicationPreferences& value) { m_applicationPreferencesHasBeenSet = true; m_applicationPreferences = value; }
57 inline void SetApplicationPreferences(ApplicationPreferences&& value) { m_applicationPreferencesHasBeenSet = true; m_applicationPreferences = std::move(value); }
61
63
66 inline const DatabasePreferences& GetDatabasePreferences() const{ return m_databasePreferences; }
67 inline bool DatabasePreferencesHasBeenSet() const { return m_databasePreferencesHasBeenSet; }
68 inline void SetDatabasePreferences(const DatabasePreferences& value) { m_databasePreferencesHasBeenSet = true; m_databasePreferences = value; }
69 inline void SetDatabasePreferences(DatabasePreferences&& value) { m_databasePreferencesHasBeenSet = true; m_databasePreferences = std::move(value); }
73
75
78 inline const PrioritizeBusinessGoals& GetPrioritizeBusinessGoals() const{ return m_prioritizeBusinessGoals; }
79 inline bool PrioritizeBusinessGoalsHasBeenSet() const { return m_prioritizeBusinessGoalsHasBeenSet; }
80 inline void SetPrioritizeBusinessGoals(const PrioritizeBusinessGoals& value) { m_prioritizeBusinessGoalsHasBeenSet = true; m_prioritizeBusinessGoals = value; }
81 inline void SetPrioritizeBusinessGoals(PrioritizeBusinessGoals&& value) { m_prioritizeBusinessGoalsHasBeenSet = true; m_prioritizeBusinessGoals = std::move(value); }
85 private:
86
87 ApplicationMode m_applicationMode;
88 bool m_applicationModeHasBeenSet = false;
89
90 ApplicationPreferences m_applicationPreferences;
91 bool m_applicationPreferencesHasBeenSet = false;
92
93 DatabasePreferences m_databasePreferences;
94 bool m_databasePreferencesHasBeenSet = false;
95
96 PrioritizeBusinessGoals m_prioritizeBusinessGoals;
97 bool m_prioritizeBusinessGoalsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MigrationHubStrategyRecommendations
102} // namespace Aws
PutPortfolioPreferencesRequest & WithPrioritizeBusinessGoals(const PrioritizeBusinessGoals &value)
PutPortfolioPreferencesRequest & WithApplicationPreferences(ApplicationPreferences &&value)
PutPortfolioPreferencesRequest & WithPrioritizeBusinessGoals(PrioritizeBusinessGoals &&value)
PutPortfolioPreferencesRequest & WithDatabasePreferences(DatabasePreferences &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
PutPortfolioPreferencesRequest & WithDatabasePreferences(const DatabasePreferences &value)
PutPortfolioPreferencesRequest & WithApplicationMode(const ApplicationMode &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API PutPortfolioPreferencesRequest()
PutPortfolioPreferencesRequest & WithApplicationPreferences(const ApplicationPreferences &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String