/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 data about the simulation.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline SimulationMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline SimulationMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the simulation. For more information about * ARNs, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline SimulationMetadata& WithArn(const char* value) { SetArn(value); return *this;} /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline SimulationMetadata& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when the simulation was created, expressed as the number of seconds * and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).

*/ inline SimulationMetadata& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The name of the simulation.

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

The current status of the simulation.

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

The current status of the simulation.

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

The current status of the simulation.

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

The current status of the simulation.

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

The current status of the simulation.

*/ inline SimulationMetadata& WithStatus(const SimulationStatus& value) { SetStatus(value); return *this;} /** *

The current status of the simulation.

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

The desired status of the simulation.

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

The desired status of the simulation.

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

The desired status of the simulation.

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

The desired status of the simulation.

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

The desired status of the simulation.

*/ inline SimulationMetadata& WithTargetStatus(const SimulationTargetStatus& value) { SetTargetStatus(value); return *this;} /** *

The desired status of the simulation.

*/ inline SimulationMetadata& WithTargetStatus(SimulationTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; SimulationStatus m_status; bool m_statusHasBeenSet = false; SimulationTargetStatus m_targetStatus; bool m_targetStatusHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws