AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommendationSet.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/Strategy.h>
9#include <aws/migrationhubstrategy/model/TargetDestination.h>
10#include <aws/migrationhubstrategy/model/TransformationTool.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 MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet() = default;
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline Strategy GetStrategy() const { return m_strategy; }
47 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
48 inline void SetStrategy(Strategy value) { m_strategyHasBeenSet = true; m_strategy = value; }
49 inline RecommendationSet& WithStrategy(Strategy value) { SetStrategy(value); return *this;}
51
53
56 inline TargetDestination GetTargetDestination() const { return m_targetDestination; }
57 inline bool TargetDestinationHasBeenSet() const { return m_targetDestinationHasBeenSet; }
58 inline void SetTargetDestination(TargetDestination value) { m_targetDestinationHasBeenSet = true; m_targetDestination = value; }
61
63
66 inline const TransformationTool& GetTransformationTool() const { return m_transformationTool; }
67 inline bool TransformationToolHasBeenSet() const { return m_transformationToolHasBeenSet; }
68 template<typename TransformationToolT = TransformationTool>
69 void SetTransformationTool(TransformationToolT&& value) { m_transformationToolHasBeenSet = true; m_transformationTool = std::forward<TransformationToolT>(value); }
70 template<typename TransformationToolT = TransformationTool>
71 RecommendationSet& WithTransformationTool(TransformationToolT&& value) { SetTransformationTool(std::forward<TransformationToolT>(value)); return *this;}
73 private:
74
75 Strategy m_strategy{Strategy::NOT_SET};
76 bool m_strategyHasBeenSet = false;
77
79 bool m_targetDestinationHasBeenSet = false;
80
81 TransformationTool m_transformationTool;
82 bool m_transformationToolHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MigrationHubStrategyRecommendations
87} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet(Aws::Utils::Json::JsonView jsonValue)
RecommendationSet & WithTransformationTool(TransformationToolT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationSet & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationSet & WithTargetDestination(TargetDestination value)
Aws::Utils::Json::JsonValue JsonValue