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

Summary information for a simulation job.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The Amazon Resource Name (ARN) of the simulation job.

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

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline SimulationJobSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The time, in milliseconds since the epoch, when the simulation job was last * updated.

*/ inline SimulationJobSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The name of the simulation job.

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

The status of the simulation job.

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

The status of the simulation job.

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

The status of the simulation job.

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

The status of the simulation job.

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

The status of the simulation job.

*/ inline SimulationJobSummary& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the simulation job.

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

A list of simulation job simulation application names.

*/ inline const Aws::Vector& GetSimulationApplicationNames() const{ return m_simulationApplicationNames; } /** *

A list of simulation job simulation application names.

*/ inline bool SimulationApplicationNamesHasBeenSet() const { return m_simulationApplicationNamesHasBeenSet; } /** *

A list of simulation job simulation application names.

*/ inline void SetSimulationApplicationNames(const Aws::Vector& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames = value; } /** *

A list of simulation job simulation application names.

*/ inline void SetSimulationApplicationNames(Aws::Vector&& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames = std::move(value); } /** *

A list of simulation job simulation application names.

*/ inline SimulationJobSummary& WithSimulationApplicationNames(const Aws::Vector& value) { SetSimulationApplicationNames(value); return *this;} /** *

A list of simulation job simulation application names.

*/ inline SimulationJobSummary& WithSimulationApplicationNames(Aws::Vector&& value) { SetSimulationApplicationNames(std::move(value)); return *this;} /** *

A list of simulation job simulation application names.

*/ inline SimulationJobSummary& AddSimulationApplicationNames(const Aws::String& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(value); return *this; } /** *

A list of simulation job simulation application names.

*/ inline SimulationJobSummary& AddSimulationApplicationNames(Aws::String&& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(std::move(value)); return *this; } /** *

A list of simulation job simulation application names.

*/ inline SimulationJobSummary& AddSimulationApplicationNames(const char* value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(value); return *this; } /** *

A list of simulation job robot application names.

*/ inline const Aws::Vector& GetRobotApplicationNames() const{ return m_robotApplicationNames; } /** *

A list of simulation job robot application names.

*/ inline bool RobotApplicationNamesHasBeenSet() const { return m_robotApplicationNamesHasBeenSet; } /** *

A list of simulation job robot application names.

*/ inline void SetRobotApplicationNames(const Aws::Vector& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames = value; } /** *

A list of simulation job robot application names.

*/ inline void SetRobotApplicationNames(Aws::Vector&& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames = std::move(value); } /** *

A list of simulation job robot application names.

*/ inline SimulationJobSummary& WithRobotApplicationNames(const Aws::Vector& value) { SetRobotApplicationNames(value); return *this;} /** *

A list of simulation job robot application names.

*/ inline SimulationJobSummary& WithRobotApplicationNames(Aws::Vector&& value) { SetRobotApplicationNames(std::move(value)); return *this;} /** *

A list of simulation job robot application names.

*/ inline SimulationJobSummary& AddRobotApplicationNames(const Aws::String& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(value); return *this; } /** *

A list of simulation job robot application names.

*/ inline SimulationJobSummary& AddRobotApplicationNames(Aws::String&& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(std::move(value)); return *this; } /** *

A list of simulation job robot application names.

*/ inline SimulationJobSummary& AddRobotApplicationNames(const char* value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(value); return *this; } /** *

The names of the data sources.

*/ inline const Aws::Vector& GetDataSourceNames() const{ return m_dataSourceNames; } /** *

The names of the data sources.

*/ inline bool DataSourceNamesHasBeenSet() const { return m_dataSourceNamesHasBeenSet; } /** *

The names of the data sources.

*/ inline void SetDataSourceNames(const Aws::Vector& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames = value; } /** *

The names of the data sources.

*/ inline void SetDataSourceNames(Aws::Vector&& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames = std::move(value); } /** *

The names of the data sources.

*/ inline SimulationJobSummary& WithDataSourceNames(const Aws::Vector& value) { SetDataSourceNames(value); return *this;} /** *

The names of the data sources.

*/ inline SimulationJobSummary& WithDataSourceNames(Aws::Vector&& value) { SetDataSourceNames(std::move(value)); return *this;} /** *

The names of the data sources.

*/ inline SimulationJobSummary& AddDataSourceNames(const Aws::String& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(value); return *this; } /** *

The names of the data sources.

*/ inline SimulationJobSummary& AddDataSourceNames(Aws::String&& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(std::move(value)); return *this; } /** *

The names of the data sources.

*/ inline SimulationJobSummary& AddDataSourceNames(const char* value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(value); return *this; } /** *

The compute type for the simulation job summary.

*/ inline const ComputeType& GetComputeType() const{ return m_computeType; } /** *

The compute type for the simulation job summary.

*/ inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; } /** *

The compute type for the simulation job summary.

*/ inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; } /** *

The compute type for the simulation job summary.

*/ inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); } /** *

The compute type for the simulation job summary.

*/ inline SimulationJobSummary& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;} /** *

The compute type for the simulation job summary.

*/ inline SimulationJobSummary& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; SimulationJobStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector m_simulationApplicationNames; bool m_simulationApplicationNamesHasBeenSet = false; Aws::Vector m_robotApplicationNames; bool m_robotApplicationNamesHasBeenSet = false; Aws::Vector m_dataSourceNames; bool m_dataSourceNamesHasBeenSet = false; ComputeType m_computeType; bool m_computeTypeHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws