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

A collection of metadata about the app.

See Also:

AWS * API Reference

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

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline SimulationAppMetadata& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline SimulationAppMetadata& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The domain of the app. For more information about domains, see Key * concepts: Domains in the SimSpace Weaver User Guide.

*/ inline SimulationAppMetadata& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The name of the app.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the app.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the app.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the app.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the app.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the app.

*/ inline SimulationAppMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the app.

*/ inline SimulationAppMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the app.

*/ inline SimulationAppMetadata& WithName(const char* value) { SetName(value); return *this;} /** *

The name of the simulation of the app.

*/ inline const Aws::String& GetSimulation() const{ return m_simulation; } /** *

The name of the simulation of the app.

*/ inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(const Aws::String& value) { m_simulationHasBeenSet = true; m_simulation = value; } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(Aws::String&& value) { m_simulationHasBeenSet = true; m_simulation = std::move(value); } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(const char* value) { m_simulationHasBeenSet = true; m_simulation.assign(value); } /** *

The name of the simulation of the app.

*/ inline SimulationAppMetadata& WithSimulation(const Aws::String& value) { SetSimulation(value); return *this;} /** *

The name of the simulation of the app.

*/ inline SimulationAppMetadata& WithSimulation(Aws::String&& value) { SetSimulation(std::move(value)); return *this;} /** *

The name of the simulation of the app.

*/ inline SimulationAppMetadata& WithSimulation(const char* value) { SetSimulation(value); return *this;} /** *

The current status of the app.

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

The current status of the app.

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

The current status of the app.

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

The current status of the app.

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

The current status of the app.

*/ inline SimulationAppMetadata& WithStatus(const SimulationAppStatus& value) { SetStatus(value); return *this;} /** *

The current status of the app.

*/ inline SimulationAppMetadata& WithStatus(SimulationAppStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The desired status of the app.

*/ inline const SimulationAppTargetStatus& GetTargetStatus() const{ return m_targetStatus; } /** *

The desired status of the app.

*/ inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; } /** *

The desired status of the app.

*/ inline void SetTargetStatus(const SimulationAppTargetStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; } /** *

The desired status of the app.

*/ inline void SetTargetStatus(SimulationAppTargetStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); } /** *

The desired status of the app.

*/ inline SimulationAppMetadata& WithTargetStatus(const SimulationAppTargetStatus& value) { SetTargetStatus(value); return *this;} /** *

The desired status of the app.

*/ inline SimulationAppMetadata& WithTargetStatus(SimulationAppTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_simulation; bool m_simulationHasBeenSet = false; SimulationAppStatus m_status; bool m_statusHasBeenSet = false; SimulationAppTargetStatus m_targetStatus; bool m_targetStatusHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws