AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeWorldResult.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace RoboMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ROBOMAKER_API DescribeWorldResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 DescribeWorldResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
53 inline const Aws::String& GetGenerationJob() const { return m_generationJob; }
54 template<typename GenerationJobT = Aws::String>
55 void SetGenerationJob(GenerationJobT&& value) { m_generationJobHasBeenSet = true; m_generationJob = std::forward<GenerationJobT>(value); }
56 template<typename GenerationJobT = Aws::String>
57 DescribeWorldResult& WithGenerationJob(GenerationJobT&& value) { SetGenerationJob(std::forward<GenerationJobT>(value)); return *this;}
59
61
64 inline const Aws::String& GetTemplate() const { return m_template; }
65 template<typename TemplateT = Aws::String>
66 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
67 template<typename TemplateT = Aws::String>
68 DescribeWorldResult& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 DescribeWorldResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
81
83
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
88 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
90 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 DescribeWorldResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
92 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
93 DescribeWorldResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
94 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
95 }
97
99
103 inline const Aws::String& GetWorldDescriptionBody() const { return m_worldDescriptionBody; }
104 template<typename WorldDescriptionBodyT = Aws::String>
105 void SetWorldDescriptionBody(WorldDescriptionBodyT&& value) { m_worldDescriptionBodyHasBeenSet = true; m_worldDescriptionBody = std::forward<WorldDescriptionBodyT>(value); }
106 template<typename WorldDescriptionBodyT = Aws::String>
107 DescribeWorldResult& WithWorldDescriptionBody(WorldDescriptionBodyT&& value) { SetWorldDescriptionBody(std::forward<WorldDescriptionBodyT>(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template<typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
115 template<typename RequestIdT = Aws::String>
116 DescribeWorldResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_arn;
121 bool m_arnHasBeenSet = false;
122
123 Aws::String m_generationJob;
124 bool m_generationJobHasBeenSet = false;
125
126 Aws::String m_template;
127 bool m_templateHasBeenSet = false;
128
129 Aws::Utils::DateTime m_createdAt{};
130 bool m_createdAtHasBeenSet = false;
131
133 bool m_tagsHasBeenSet = false;
134
135 Aws::String m_worldDescriptionBody;
136 bool m_worldDescriptionBodyHasBeenSet = false;
137
138 Aws::String m_requestId;
139 bool m_requestIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace RoboMaker
144} // namespace Aws
DescribeWorldResult & WithRequestId(RequestIdT &&value)
DescribeWorldResult & WithWorldDescriptionBody(WorldDescriptionBodyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_ROBOMAKER_API DescribeWorldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldResult & WithTags(TagsT &&value)
DescribeWorldResult & WithTemplate(TemplateT &&value)
void SetWorldDescriptionBody(WorldDescriptionBodyT &&value)
DescribeWorldResult & WithGenerationJob(GenerationJobT &&value)
const Aws::String & GetWorldDescriptionBody() const
DescribeWorldResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ROBOMAKER_API DescribeWorldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGenerationJob(GenerationJobT &&value)
DescribeWorldResult & WithCreatedAt(CreatedAtT &&value)
DescribeWorldResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ROBOMAKER_API DescribeWorldResult()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue