AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 WorldExportJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
67 inline WorldExportJobStatus GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(WorldExportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
70 inline WorldExportJobSummary& WithStatus(WorldExportJobStatus value) { SetStatus(value); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
79 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
82 template<typename CreatedAtT = Aws::Utils::DateTime>
83 WorldExportJobSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetWorlds() const { return m_worlds; }
91 inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
92 template<typename WorldsT = Aws::Vector<Aws::String>>
93 void SetWorlds(WorldsT&& value) { m_worldsHasBeenSet = true; m_worlds = std::forward<WorldsT>(value); }
94 template<typename WorldsT = Aws::Vector<Aws::String>>
95 WorldExportJobSummary& WithWorlds(WorldsT&& value) { SetWorlds(std::forward<WorldsT>(value)); return *this;}
96 template<typename WorldsT = Aws::String>
97 WorldExportJobSummary& AddWorlds(WorldsT&& value) { m_worldsHasBeenSet = true; m_worlds.emplace_back(std::forward<WorldsT>(value)); return *this; }
99
101
102 inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; }
103 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
104 template<typename OutputLocationT = OutputLocation>
105 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
106 template<typename OutputLocationT = OutputLocation>
107 WorldExportJobSummary& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
109 private:
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
115 bool m_statusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdAt{};
118 bool m_createdAtHasBeenSet = false;
119
121 bool m_worldsHasBeenSet = false;
122
123 OutputLocation m_outputLocation;
124 bool m_outputLocationHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace RoboMaker
129} // namespace Aws
WorldExportJobSummary & AddWorlds(WorldsT &&value)
WorldExportJobSummary & WithCreatedAt(CreatedAtT &&value)
AWS_ROBOMAKER_API WorldExportJobSummary()=default
const Aws::Vector< Aws::String > & GetWorlds() const
const Aws::Utils::DateTime & GetCreatedAt() const
WorldExportJobSummary & WithStatus(WorldExportJobStatus value)
AWS_ROBOMAKER_API WorldExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API WorldExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
WorldExportJobSummary & WithArn(ArnT &&value)
WorldExportJobSummary & WithOutputLocation(OutputLocationT &&value)
WorldExportJobSummary & WithWorlds(WorldsT &&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