AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorldGenerationJobSummary.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/WorldGenerationJobStatus.h>
11#include <aws/robomaker/model/WorldCount.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace RoboMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ROBOMAKER_API WorldGenerationJobSummary();
40 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline WorldGenerationJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline WorldGenerationJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline WorldGenerationJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetTemplate() const{ return m_template; }
62 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
63 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
64 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
65 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
66 inline WorldGenerationJobSummary& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
67 inline WorldGenerationJobSummary& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
68 inline WorldGenerationJobSummary& WithTemplate(const char* value) { SetTemplate(value); return *this;}
70
72
76 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
79 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
80 inline WorldGenerationJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
81 inline WorldGenerationJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
83
85
96 inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(const WorldGenerationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
99 inline void SetStatus(WorldGenerationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
100 inline WorldGenerationJobSummary& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;}
101 inline WorldGenerationJobSummary& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
103
105
108 inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
109 inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
110 inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; }
111 inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); }
112 inline WorldGenerationJobSummary& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
113 inline WorldGenerationJobSummary& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
115
117
120 inline int GetSucceededWorldCount() const{ return m_succeededWorldCount; }
121 inline bool SucceededWorldCountHasBeenSet() const { return m_succeededWorldCountHasBeenSet; }
122 inline void SetSucceededWorldCount(int value) { m_succeededWorldCountHasBeenSet = true; m_succeededWorldCount = value; }
125
127
130 inline int GetFailedWorldCount() const{ return m_failedWorldCount; }
131 inline bool FailedWorldCountHasBeenSet() const { return m_failedWorldCountHasBeenSet; }
132 inline void SetFailedWorldCount(int value) { m_failedWorldCountHasBeenSet = true; m_failedWorldCount = value; }
133 inline WorldGenerationJobSummary& WithFailedWorldCount(int value) { SetFailedWorldCount(value); return *this;}
135 private:
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_template;
141 bool m_templateHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createdAt;
144 bool m_createdAtHasBeenSet = false;
145
147 bool m_statusHasBeenSet = false;
148
149 WorldCount m_worldCount;
150 bool m_worldCountHasBeenSet = false;
151
152 int m_succeededWorldCount;
153 bool m_succeededWorldCountHasBeenSet = false;
154
155 int m_failedWorldCount;
156 bool m_failedWorldCountHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace RoboMaker
161} // namespace Aws
WorldGenerationJobSummary & WithArn(const char *value)
WorldGenerationJobSummary & WithStatus(WorldGenerationJobStatus &&value)
WorldGenerationJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
WorldGenerationJobSummary & WithFailedWorldCount(int value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
WorldGenerationJobSummary & WithTemplate(const Aws::String &value)
WorldGenerationJobSummary & WithWorldCount(const WorldCount &value)
WorldGenerationJobSummary & WithStatus(const WorldGenerationJobStatus &value)
WorldGenerationJobSummary & WithTemplate(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
WorldGenerationJobSummary & WithSucceededWorldCount(int value)
const WorldGenerationJobStatus & GetStatus() const
WorldGenerationJobSummary & WithArn(Aws::String &&value)
WorldGenerationJobSummary & WithWorldCount(WorldCount &&value)
AWS_ROBOMAKER_API WorldGenerationJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API WorldGenerationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorldGenerationJobSummary & WithTemplate(const char *value)
WorldGenerationJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
WorldGenerationJobSummary & WithArn(const Aws::String &value)
void SetStatus(const WorldGenerationJobStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue