AWS SDK for C++  1.9.19
AWS SDK for C++
WorldExportJobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace RoboMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetArn() const{ return m_arn; }
47 
51  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 
56  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 
61  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 
66  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 
71  inline WorldExportJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 
76  inline WorldExportJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 
81  inline WorldExportJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
82 
83 
94  inline const WorldExportJobStatus& GetStatus() const{ return m_status; }
95 
106  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 
118  inline void SetStatus(const WorldExportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
119 
130  inline void SetStatus(WorldExportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 
142  inline WorldExportJobSummary& WithStatus(const WorldExportJobStatus& value) { SetStatus(value); return *this;}
143 
154  inline WorldExportJobSummary& WithStatus(WorldExportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
155 
156 
161  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
162 
167  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
168 
173  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
174 
179  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
180 
185  inline WorldExportJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
186 
191  inline WorldExportJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
192 
193 
197  inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
198 
202  inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
203 
207  inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
208 
212  inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
213 
217  inline WorldExportJobSummary& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
218 
222  inline WorldExportJobSummary& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
223 
227  inline WorldExportJobSummary& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
228 
232  inline WorldExportJobSummary& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
233 
237  inline WorldExportJobSummary& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
238 
239  private:
240 
241  Aws::String m_arn;
242  bool m_arnHasBeenSet;
243 
244  WorldExportJobStatus m_status;
245  bool m_statusHasBeenSet;
246 
247  Aws::Utils::DateTime m_createdAt;
248  bool m_createdAtHasBeenSet;
249 
250  Aws::Vector<Aws::String> m_worlds;
251  bool m_worldsHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace RoboMaker
256 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::WorldExportJobSummary::AddWorlds
WorldExportJobSummary & AddWorlds(const char *value)
Definition: WorldExportJobSummary.h:237
Aws::RoboMaker::Model::WorldExportJobSummary::AddWorlds
WorldExportJobSummary & AddWorlds(Aws::String &&value)
Definition: WorldExportJobSummary.h:232
Aws::RoboMaker::Model::WorldExportJobSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: WorldExportJobSummary.h:179
Aws::RoboMaker::Model::WorldExportJobSummary::WithStatus
WorldExportJobSummary & WithStatus(WorldExportJobStatus &&value)
Definition: WorldExportJobSummary.h:154
Aws::RoboMaker::Model::WorldExportJobSummary::WorldExportJobSummary
WorldExportJobSummary()
Aws::RoboMaker::Model::WorldExportJobSummary::SetStatus
void SetStatus(const WorldExportJobStatus &value)
Definition: WorldExportJobSummary.h:118
DateTime.h
Aws::RoboMaker::Model::WorldExportJobSummary::AddWorlds
WorldExportJobSummary & AddWorlds(const Aws::String &value)
Definition: WorldExportJobSummary.h:227
Aws::RoboMaker::Model::WorldExportJobSummary::WithWorlds
WorldExportJobSummary & WithWorlds(Aws::Vector< Aws::String > &&value)
Definition: WorldExportJobSummary.h:222
Aws::RoboMaker::Model::WorldExportJobSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: WorldExportJobSummary.h:51
Aws::RoboMaker::Model::WorldExportJobSummary::WithCreatedAt
WorldExportJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: WorldExportJobSummary.h:185
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::WorldExportJobSummary::WithCreatedAt
WorldExportJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: WorldExportJobSummary.h:191
Aws::RoboMaker::Model::WorldExportJobSummary::SetArn
void SetArn(const Aws::String &value)
Definition: WorldExportJobSummary.h:56
Aws::RoboMaker::Model::WorldExportJobSummary::WithStatus
WorldExportJobSummary & WithStatus(const WorldExportJobStatus &value)
Definition: WorldExportJobSummary.h:142
AWSVector.h
Aws::RoboMaker::Model::WorldExportJobSummary::WorldExportJobSummary
WorldExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::WorldExportJobSummary::GetArn
const Aws::String & GetArn() const
Definition: WorldExportJobSummary.h:46
Aws::RoboMaker::Model::WorldExportJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::WorldExportJobSummary::SetStatus
void SetStatus(WorldExportJobStatus &&value)
Definition: WorldExportJobSummary.h:130
Aws::RoboMaker::Model::WorldExportJobSummary::SetArn
void SetArn(Aws::String &&value)
Definition: WorldExportJobSummary.h:61
Aws::RoboMaker::Model::WorldExportJobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: WorldExportJobSummary.h:106
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
WorldExportJobStatus.h
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::WorldExportJobSummary::SetArn
void SetArn(const char *value)
Definition: WorldExportJobSummary.h:66
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RoboMaker::Model::WorldExportJobSummary::WithArn
WorldExportJobSummary & WithArn(Aws::String &&value)
Definition: WorldExportJobSummary.h:76
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::WorldExportJobSummary::SetWorlds
void SetWorlds(const Aws::Vector< Aws::String > &value)
Definition: WorldExportJobSummary.h:207
Aws::RoboMaker::Model::WorldExportJobSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: WorldExportJobSummary.h:167
Aws::RoboMaker::Model::WorldExportJobSummary::operator=
WorldExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::WorldExportJobSummary::WithArn
WorldExportJobSummary & WithArn(const char *value)
Definition: WorldExportJobSummary.h:81
Aws::RoboMaker::Model::WorldExportJobSummary::GetStatus
const WorldExportJobStatus & GetStatus() const
Definition: WorldExportJobSummary.h:94
Aws::RoboMaker::Model::WorldExportJobSummary::WorldsHasBeenSet
bool WorldsHasBeenSet() const
Definition: WorldExportJobSummary.h:202
Aws::RoboMaker::Model::WorldExportJobSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: WorldExportJobSummary.h:161
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::WorldExportJobSummary::SetWorlds
void SetWorlds(Aws::Vector< Aws::String > &&value)
Definition: WorldExportJobSummary.h:212
Aws::RoboMaker::Model::WorldExportJobSummary::GetWorlds
const Aws::Vector< Aws::String > & GetWorlds() const
Definition: WorldExportJobSummary.h:197
Aws::RoboMaker::Model::WorldExportJobSummary::WithArn
WorldExportJobSummary & WithArn(const Aws::String &value)
Definition: WorldExportJobSummary.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::WorldExportJobSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: WorldExportJobSummary.h:173
Aws::RoboMaker::Model::WorldExportJobStatus
WorldExportJobStatus
Definition: WorldExportJobStatus.h:17
Aws::RoboMaker::Model::WorldExportJobSummary::WithWorlds
WorldExportJobSummary & WithWorlds(const Aws::Vector< Aws::String > &value)
Definition: WorldExportJobSummary.h:217
Aws::RoboMaker::Model::WorldExportJobSummary
Definition: WorldExportJobSummary.h:35