AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimulationJobSummary.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/robomaker/model/SimulationJobStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/robomaker/model/ComputeType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace RoboMaker
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_ROBOMAKER_API SimulationJobSummary();
41 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline SimulationJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline SimulationJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline SimulationJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
64 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
65 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
66 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
67 inline SimulationJobSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
68 inline SimulationJobSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline SimulationJobSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline SimulationJobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline SimulationJobSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const SimulationJobStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const SimulationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(SimulationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline SimulationJobSummary& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;}
94 inline SimulationJobSummary& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::Vector<Aws::String>& GetSimulationApplicationNames() const{ return m_simulationApplicationNames; }
102 inline bool SimulationApplicationNamesHasBeenSet() const { return m_simulationApplicationNamesHasBeenSet; }
103 inline void SetSimulationApplicationNames(const Aws::Vector<Aws::String>& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames = value; }
104 inline void SetSimulationApplicationNames(Aws::Vector<Aws::String>&& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames = std::move(value); }
107 inline SimulationJobSummary& AddSimulationApplicationNames(const Aws::String& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(value); return *this; }
108 inline SimulationJobSummary& AddSimulationApplicationNames(Aws::String&& value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(std::move(value)); return *this; }
109 inline SimulationJobSummary& AddSimulationApplicationNames(const char* value) { m_simulationApplicationNamesHasBeenSet = true; m_simulationApplicationNames.push_back(value); return *this; }
111
113
116 inline const Aws::Vector<Aws::String>& GetRobotApplicationNames() const{ return m_robotApplicationNames; }
117 inline bool RobotApplicationNamesHasBeenSet() const { return m_robotApplicationNamesHasBeenSet; }
118 inline void SetRobotApplicationNames(const Aws::Vector<Aws::String>& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames = value; }
119 inline void SetRobotApplicationNames(Aws::Vector<Aws::String>&& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames = std::move(value); }
122 inline SimulationJobSummary& AddRobotApplicationNames(const Aws::String& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(value); return *this; }
123 inline SimulationJobSummary& AddRobotApplicationNames(Aws::String&& value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(std::move(value)); return *this; }
124 inline SimulationJobSummary& AddRobotApplicationNames(const char* value) { m_robotApplicationNamesHasBeenSet = true; m_robotApplicationNames.push_back(value); return *this; }
126
128
131 inline const Aws::Vector<Aws::String>& GetDataSourceNames() const{ return m_dataSourceNames; }
132 inline bool DataSourceNamesHasBeenSet() const { return m_dataSourceNamesHasBeenSet; }
133 inline void SetDataSourceNames(const Aws::Vector<Aws::String>& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames = value; }
134 inline void SetDataSourceNames(Aws::Vector<Aws::String>&& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames = std::move(value); }
136 inline SimulationJobSummary& WithDataSourceNames(Aws::Vector<Aws::String>&& value) { SetDataSourceNames(std::move(value)); return *this;}
137 inline SimulationJobSummary& AddDataSourceNames(const Aws::String& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(value); return *this; }
138 inline SimulationJobSummary& AddDataSourceNames(Aws::String&& value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(std::move(value)); return *this; }
139 inline SimulationJobSummary& AddDataSourceNames(const char* value) { m_dataSourceNamesHasBeenSet = true; m_dataSourceNames.push_back(value); return *this; }
141
143
146 inline const ComputeType& GetComputeType() const{ return m_computeType; }
147 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
148 inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
149 inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
150 inline SimulationJobSummary& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
151 inline SimulationJobSummary& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
153 private:
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 Aws::Utils::DateTime m_lastUpdatedAt;
159 bool m_lastUpdatedAtHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 SimulationJobStatus m_status;
165 bool m_statusHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_simulationApplicationNames;
168 bool m_simulationApplicationNamesHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_robotApplicationNames;
171 bool m_robotApplicationNamesHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_dataSourceNames;
174 bool m_dataSourceNamesHasBeenSet = false;
175
176 ComputeType m_computeType;
177 bool m_computeTypeHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace RoboMaker
182} // namespace Aws
SimulationJobSummary & AddDataSourceNames(const Aws::String &value)
void SetStatus(SimulationJobStatus &&value)
const SimulationJobStatus & GetStatus() const
SimulationJobSummary & WithName(const Aws::String &value)
SimulationJobSummary & WithDataSourceNames(Aws::Vector< Aws::String > &&value)
void SetSimulationApplicationNames(Aws::Vector< Aws::String > &&value)
SimulationJobSummary & AddDataSourceNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDataSourceNames() const
AWS_ROBOMAKER_API SimulationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetDataSourceNames(const Aws::Vector< Aws::String > &value)
SimulationJobSummary & AddRobotApplicationNames(Aws::String &&value)
SimulationJobSummary & AddRobotApplicationNames(const char *value)
SimulationJobSummary & WithArn(const char *value)
SimulationJobSummary & WithSimulationApplicationNames(const Aws::Vector< Aws::String > &value)
AWS_ROBOMAKER_API SimulationJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
SimulationJobSummary & WithArn(const Aws::String &value)
SimulationJobSummary & WithArn(Aws::String &&value)
SimulationJobSummary & AddSimulationApplicationNames(const char *value)
SimulationJobSummary & WithRobotApplicationNames(const Aws::Vector< Aws::String > &value)
SimulationJobSummary & WithStatus(SimulationJobStatus &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
SimulationJobSummary & WithDataSourceNames(const Aws::Vector< Aws::String > &value)
void SetSimulationApplicationNames(const Aws::Vector< Aws::String > &value)
void SetStatus(const SimulationJobStatus &value)
void SetRobotApplicationNames(const Aws::Vector< Aws::String > &value)
SimulationJobSummary & WithComputeType(const ComputeType &value)
SimulationJobSummary & WithName(Aws::String &&value)
SimulationJobSummary & WithName(const char *value)
const Aws::Vector< Aws::String > & GetRobotApplicationNames() const
SimulationJobSummary & WithRobotApplicationNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSimulationApplicationNames() const
SimulationJobSummary & WithStatus(const SimulationJobStatus &value)
SimulationJobSummary & WithSimulationApplicationNames(Aws::Vector< Aws::String > &&value)
SimulationJobSummary & WithComputeType(ComputeType &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataSourceNames(Aws::Vector< Aws::String > &&value)
void SetRobotApplicationNames(Aws::Vector< Aws::String > &&value)
SimulationJobSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
SimulationJobSummary & AddSimulationApplicationNames(const Aws::String &value)
SimulationJobSummary & AddRobotApplicationNames(const Aws::String &value)
SimulationJobSummary & AddDataSourceNames(const char *value)
SimulationJobSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
SimulationJobSummary & AddSimulationApplicationNames(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue