AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 WorldGenerationJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTemplate() const { return m_template; }
60 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
61 template<typename TemplateT = Aws::String>
62 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
63 template<typename TemplateT = Aws::String>
64 WorldGenerationJobSummary& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
73 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 WorldGenerationJobSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
79
81
92 inline WorldGenerationJobStatus GetStatus() const { return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(WorldGenerationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
97
99
102 inline const WorldCount& GetWorldCount() const { return m_worldCount; }
103 inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
104 template<typename WorldCountT = WorldCount>
105 void SetWorldCount(WorldCountT&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::forward<WorldCountT>(value); }
106 template<typename WorldCountT = WorldCount>
107 WorldGenerationJobSummary& WithWorldCount(WorldCountT&& value) { SetWorldCount(std::forward<WorldCountT>(value)); return *this;}
109
111
114 inline int GetSucceededWorldCount() const { return m_succeededWorldCount; }
115 inline bool SucceededWorldCountHasBeenSet() const { return m_succeededWorldCountHasBeenSet; }
116 inline void SetSucceededWorldCount(int value) { m_succeededWorldCountHasBeenSet = true; m_succeededWorldCount = value; }
119
121
124 inline int GetFailedWorldCount() const { return m_failedWorldCount; }
125 inline bool FailedWorldCountHasBeenSet() const { return m_failedWorldCountHasBeenSet; }
126 inline void SetFailedWorldCount(int value) { m_failedWorldCountHasBeenSet = true; m_failedWorldCount = value; }
127 inline WorldGenerationJobSummary& WithFailedWorldCount(int value) { SetFailedWorldCount(value); return *this;}
129 private:
130
131 Aws::String m_arn;
132 bool m_arnHasBeenSet = false;
133
134 Aws::String m_template;
135 bool m_templateHasBeenSet = false;
136
137 Aws::Utils::DateTime m_createdAt{};
138 bool m_createdAtHasBeenSet = false;
139
141 bool m_statusHasBeenSet = false;
142
143 WorldCount m_worldCount;
144 bool m_worldCountHasBeenSet = false;
145
146 int m_succeededWorldCount{0};
147 bool m_succeededWorldCountHasBeenSet = false;
148
149 int m_failedWorldCount{0};
150 bool m_failedWorldCountHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace RoboMaker
155} // namespace Aws
WorldGenerationJobSummary & WithFailedWorldCount(int value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
WorldGenerationJobSummary & WithCreatedAt(CreatedAtT &&value)
WorldGenerationJobSummary & WithWorldCount(WorldCountT &&value)
AWS_ROBOMAKER_API WorldGenerationJobSummary()=default
WorldGenerationJobSummary & WithTemplate(TemplateT &&value)
WorldGenerationJobSummary & WithSucceededWorldCount(int value)
AWS_ROBOMAKER_API WorldGenerationJobSummary(Aws::Utils::Json::JsonView jsonValue)
WorldGenerationJobSummary & WithStatus(WorldGenerationJobStatus value)
AWS_ROBOMAKER_API WorldGenerationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorldGenerationJobSummary & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue