AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServerSummary.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/ServerOsType.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 ServerSummary() = default;
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline ServerOsType GetServerOsType() const { return m_serverOsType; }
46 inline bool ServerOsTypeHasBeenSet() const { return m_serverOsTypeHasBeenSet; }
47 inline void SetServerOsType(ServerOsType value) { m_serverOsTypeHasBeenSet = true; m_serverOsType = value; }
48 inline ServerSummary& WithServerOsType(ServerOsType value) { SetServerOsType(value); return *this;}
50
52
55 inline int GetCount() const { return m_count; }
56 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
57 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
58 inline ServerSummary& WithCount(int value) { SetCount(value); return *this;}
60 private:
61
62 ServerOsType m_serverOsType{ServerOsType::NOT_SET};
63 bool m_serverOsTypeHasBeenSet = false;
64
65 int m_count{0};
66 bool m_countHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MigrationHubStrategyRecommendations
71} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue