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

Information about worlds that finished.

See Also:

AWS * API Reference

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

The total number of finished worlds.

*/ inline int GetFinishedCount() const{ return m_finishedCount; } /** *

The total number of finished worlds.

*/ inline bool FinishedCountHasBeenSet() const { return m_finishedCountHasBeenSet; } /** *

The total number of finished worlds.

*/ inline void SetFinishedCount(int value) { m_finishedCountHasBeenSet = true; m_finishedCount = value; } /** *

The total number of finished worlds.

*/ inline FinishedWorldsSummary& WithFinishedCount(int value) { SetFinishedCount(value); return *this;} /** *

A list of worlds that succeeded.

*/ inline const Aws::Vector& GetSucceededWorlds() const{ return m_succeededWorlds; } /** *

A list of worlds that succeeded.

*/ inline bool SucceededWorldsHasBeenSet() const { return m_succeededWorldsHasBeenSet; } /** *

A list of worlds that succeeded.

*/ inline void SetSucceededWorlds(const Aws::Vector& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = value; } /** *

A list of worlds that succeeded.

*/ inline void SetSucceededWorlds(Aws::Vector&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = std::move(value); } /** *

A list of worlds that succeeded.

*/ inline FinishedWorldsSummary& WithSucceededWorlds(const Aws::Vector& value) { SetSucceededWorlds(value); return *this;} /** *

A list of worlds that succeeded.

*/ inline FinishedWorldsSummary& WithSucceededWorlds(Aws::Vector&& value) { SetSucceededWorlds(std::move(value)); return *this;} /** *

A list of worlds that succeeded.

*/ inline FinishedWorldsSummary& AddSucceededWorlds(const Aws::String& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; } /** *

A list of worlds that succeeded.

*/ inline FinishedWorldsSummary& AddSucceededWorlds(Aws::String&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(std::move(value)); return *this; } /** *

A list of worlds that succeeded.

*/ inline FinishedWorldsSummary& AddSucceededWorlds(const char* value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; } /** *

Information about worlds that failed.

*/ inline const FailureSummary& GetFailureSummary() const{ return m_failureSummary; } /** *

Information about worlds that failed.

*/ inline bool FailureSummaryHasBeenSet() const { return m_failureSummaryHasBeenSet; } /** *

Information about worlds that failed.

*/ inline void SetFailureSummary(const FailureSummary& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = value; } /** *

Information about worlds that failed.

*/ inline void SetFailureSummary(FailureSummary&& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = std::move(value); } /** *

Information about worlds that failed.

*/ inline FinishedWorldsSummary& WithFailureSummary(const FailureSummary& value) { SetFailureSummary(value); return *this;} /** *

Information about worlds that failed.

*/ inline FinishedWorldsSummary& WithFailureSummary(FailureSummary&& value) { SetFailureSummary(std::move(value)); return *this;} private: int m_finishedCount; bool m_finishedCountHasBeenSet = false; Aws::Vector m_succeededWorlds; bool m_succeededWorldsHasBeenSet = false; FailureSummary m_failureSummary; bool m_failureSummaryHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws