AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ServerOsType& GetServerOsType() const{ return m_serverOsType; }
46 inline bool ServerOsTypeHasBeenSet() const { return m_serverOsTypeHasBeenSet; }
47 inline void SetServerOsType(const ServerOsType& value) { m_serverOsTypeHasBeenSet = true; m_serverOsType = value; }
48 inline void SetServerOsType(ServerOsType&& value) { m_serverOsTypeHasBeenSet = true; m_serverOsType = std::move(value); }
49 inline ServerSummary& WithServerOsType(const ServerOsType& value) { SetServerOsType(value); return *this;}
50 inline ServerSummary& WithServerOsType(ServerOsType&& value) { SetServerOsType(std::move(value)); return *this;}
52
54
57 inline int GetCount() const{ return m_count; }
58 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
59 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
60 inline ServerSummary& WithCount(int value) { SetCount(value); return *this;}
62 private:
63
64 ServerOsType m_serverOsType;
65 bool m_serverOsTypeHasBeenSet = false;
66
67 int m_count;
68 bool m_countHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MigrationHubStrategyRecommendations
73} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerSummary & WithServerOsType(const ServerOsType &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerSummary()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue