/** * 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 GroundStation { namespace Model { /** *

Aggregate status of Agent components.

See Also:

AWS * API Reference

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

Sparse map of failure signatures.

*/ inline const Aws::Map& GetSignatureMap() const{ return m_signatureMap; } /** *

Sparse map of failure signatures.

*/ inline bool SignatureMapHasBeenSet() const { return m_signatureMapHasBeenSet; } /** *

Sparse map of failure signatures.

*/ inline void SetSignatureMap(const Aws::Map& value) { m_signatureMapHasBeenSet = true; m_signatureMap = value; } /** *

Sparse map of failure signatures.

*/ inline void SetSignatureMap(Aws::Map&& value) { m_signatureMapHasBeenSet = true; m_signatureMap = std::move(value); } /** *

Sparse map of failure signatures.

*/ inline AggregateStatus& WithSignatureMap(const Aws::Map& value) { SetSignatureMap(value); return *this;} /** *

Sparse map of failure signatures.

*/ inline AggregateStatus& WithSignatureMap(Aws::Map&& value) { SetSignatureMap(std::move(value)); return *this;} /** *

Sparse map of failure signatures.

*/ inline AggregateStatus& AddSignatureMap(const Aws::String& key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(key, value); return *this; } /** *

Sparse map of failure signatures.

*/ inline AggregateStatus& AddSignatureMap(Aws::String&& key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(std::move(key), value); return *this; } /** *

Sparse map of failure signatures.

*/ inline AggregateStatus& AddSignatureMap(const char* key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(key, value); return *this; } /** *

Aggregate status.

*/ inline const AgentStatus& GetStatus() const{ return m_status; } /** *

Aggregate status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Aggregate status.

*/ inline void SetStatus(const AgentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Aggregate status.

*/ inline void SetStatus(AgentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Aggregate status.

*/ inline AggregateStatus& WithStatus(const AgentStatus& value) { SetStatus(value); return *this;} /** *

Aggregate status.

*/ inline AggregateStatus& WithStatus(AgentStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::Map m_signatureMap; bool m_signatureMapHasBeenSet = false; AgentStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws