/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

The status summary of the server analysis.

See Also:

AWS * API Reference

*/ class ServerStatusSummary { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStatusSummary(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStatusSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStatusSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of servers successfully analyzed, partially successful or failed * analysis.

*/ inline int GetCount() const{ return m_count; } /** *

The number of servers successfully analyzed, partially successful or failed * analysis.

*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *

The number of servers successfully analyzed, partially successful or failed * analysis.

*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *

The number of servers successfully analyzed, partially successful or failed * analysis.

*/ inline ServerStatusSummary& WithCount(int value) { SetCount(value); return *this;} /** *

The status of the run time.

*/ inline const RunTimeAssessmentStatus& GetRunTimeAssessmentStatus() const{ return m_runTimeAssessmentStatus; } /** *

The status of the run time.

*/ inline bool RunTimeAssessmentStatusHasBeenSet() const { return m_runTimeAssessmentStatusHasBeenSet; } /** *

The status of the run time.

*/ inline void SetRunTimeAssessmentStatus(const RunTimeAssessmentStatus& value) { m_runTimeAssessmentStatusHasBeenSet = true; m_runTimeAssessmentStatus = value; } /** *

The status of the run time.

*/ inline void SetRunTimeAssessmentStatus(RunTimeAssessmentStatus&& value) { m_runTimeAssessmentStatusHasBeenSet = true; m_runTimeAssessmentStatus = std::move(value); } /** *

The status of the run time.

*/ inline ServerStatusSummary& WithRunTimeAssessmentStatus(const RunTimeAssessmentStatus& value) { SetRunTimeAssessmentStatus(value); return *this;} /** *

The status of the run time.

*/ inline ServerStatusSummary& WithRunTimeAssessmentStatus(RunTimeAssessmentStatus&& value) { SetRunTimeAssessmentStatus(std::move(value)); return *this;} private: int m_count; bool m_countHasBeenSet = false; RunTimeAssessmentStatus m_runTimeAssessmentStatus; bool m_runTimeAssessmentStatusHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws