AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StrategySummary.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/Strategy.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MigrationHubStrategyRecommendations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary();
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetCount() const{ return m_count; }
46 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
47 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
48 inline StrategySummary& WithCount(int value) { SetCount(value); return *this;}
50
52
55 inline const Strategy& GetStrategy() const{ return m_strategy; }
56 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
57 inline void SetStrategy(const Strategy& value) { m_strategyHasBeenSet = true; m_strategy = value; }
58 inline void SetStrategy(Strategy&& value) { m_strategyHasBeenSet = true; m_strategy = std::move(value); }
59 inline StrategySummary& WithStrategy(const Strategy& value) { SetStrategy(value); return *this;}
60 inline StrategySummary& WithStrategy(Strategy&& value) { SetStrategy(std::move(value)); return *this;}
62 private:
63
64 int m_count;
65 bool m_countHasBeenSet = false;
66
67 Strategy m_strategy;
68 bool m_strategyHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MigrationHubStrategyRecommendations
73} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StrategySummary()
Aws::Utils::Json::JsonValue JsonValue