AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorldExportJobSummary.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/WorldExportJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/robomaker/model/OutputLocation.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 WorldExportJobSummary();
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 WorldExportJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline WorldExportJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline WorldExportJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
69 inline const WorldExportJobStatus& GetStatus() const{ return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(const WorldExportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
72 inline void SetStatus(WorldExportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
73 inline WorldExportJobSummary& WithStatus(const WorldExportJobStatus& value) { SetStatus(value); return *this;}
74 inline WorldExportJobSummary& WithStatus(WorldExportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
76
78
82 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
83 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
84 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
85 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
86 inline WorldExportJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
87 inline WorldExportJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
89
91
94 inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
95 inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
96 inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
97 inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
98 inline WorldExportJobSummary& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
99 inline WorldExportJobSummary& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
100 inline WorldExportJobSummary& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
101 inline WorldExportJobSummary& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
102 inline WorldExportJobSummary& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
104
106
107 inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
108 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
109 inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
110 inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
111 inline WorldExportJobSummary& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
112 inline WorldExportJobSummary& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 WorldExportJobStatus m_status;
120 bool m_statusHasBeenSet = false;
121
122 Aws::Utils::DateTime m_createdAt;
123 bool m_createdAtHasBeenSet = false;
124
126 bool m_worldsHasBeenSet = false;
127
128 OutputLocation m_outputLocation;
129 bool m_outputLocationHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace RoboMaker
134} // namespace Aws
WorldExportJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
WorldExportJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
WorldExportJobSummary & WithStatus(WorldExportJobStatus &&value)
const Aws::Vector< Aws::String > & GetWorlds() const
WorldExportJobSummary & WithArn(Aws::String &&value)
WorldExportJobSummary & WithWorlds(Aws::Vector< Aws::String > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
WorldExportJobSummary & AddWorlds(const char *value)
void SetOutputLocation(const OutputLocation &value)
const WorldExportJobStatus & GetStatus() const
void SetWorlds(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetWorlds(Aws::Vector< Aws::String > &&value)
WorldExportJobSummary & AddWorlds(Aws::String &&value)
AWS_ROBOMAKER_API WorldExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorldExportJobSummary & WithStatus(const WorldExportJobStatus &value)
void SetStatus(WorldExportJobStatus &&value)
WorldExportJobSummary & WithArn(const Aws::String &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_ROBOMAKER_API WorldExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
WorldExportJobSummary & WithOutputLocation(const OutputLocation &value)
WorldExportJobSummary & WithOutputLocation(OutputLocation &&value)
WorldExportJobSummary & WithWorlds(const Aws::Vector< Aws::String > &value)
void SetStatus(const WorldExportJobStatus &value)
WorldExportJobSummary & AddWorlds(const Aws::String &value)
WorldExportJobSummary & WithArn(const char *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