AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeWorldTemplateResult.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 DescribeWorldTemplateResult() = 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 DescribeWorldTemplateResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
53 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
54 template<typename ClientRequestTokenT = Aws::String>
55 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
56 template<typename ClientRequestTokenT = Aws::String>
57 DescribeWorldTemplateResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 DescribeWorldTemplateResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 template<typename CreatedAtT = Aws::Utils::DateTime>
78 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
79 template<typename CreatedAtT = Aws::Utils::DateTime>
80 DescribeWorldTemplateResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
89 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
90 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
91 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
92 DescribeWorldTemplateResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
94
96
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
101 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 DescribeWorldTemplateResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
105 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
106 DescribeWorldTemplateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
107 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
108 }
110
112
115 inline const Aws::String& GetVersion() const { return m_version; }
116 template<typename VersionT = Aws::String>
117 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
118 template<typename VersionT = Aws::String>
119 DescribeWorldTemplateResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 DescribeWorldTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::String m_clientRequestToken;
136 bool m_clientRequestTokenHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::Utils::DateTime m_createdAt{};
142 bool m_createdAtHasBeenSet = false;
143
144 Aws::Utils::DateTime m_lastUpdatedAt{};
145 bool m_lastUpdatedAtHasBeenSet = false;
146
148 bool m_tagsHasBeenSet = false;
149
150 Aws::String m_version;
151 bool m_versionHasBeenSet = false;
152
153 Aws::String m_requestId;
154 bool m_requestIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace RoboMaker
159} // namespace Aws
DescribeWorldTemplateResult & WithClientRequestToken(ClientRequestTokenT &&value)
DescribeWorldTemplateResult & WithVersion(VersionT &&value)
DescribeWorldTemplateResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
DescribeWorldTemplateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeWorldTemplateResult & WithName(NameT &&value)
AWS_ROBOMAKER_API DescribeWorldTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldTemplateResult & WithTags(TagsT &&value)
DescribeWorldTemplateResult & WithArn(ArnT &&value)
DescribeWorldTemplateResult & WithCreatedAt(CreatedAtT &&value)
AWS_ROBOMAKER_API DescribeWorldTemplateResult()=default
AWS_ROBOMAKER_API DescribeWorldTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldTemplateResult & WithRequestId(RequestIdT &&value)
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