AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/ConfigurationStatus.h>
13#include <aws/omics/model/RunConfigurationsResponse.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Omics {
27namespace Model {
29 public:
30 AWS_OMICS_API CreateConfigurationResult() = default;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetUuid() const { return m_uuid; }
56 template <typename UuidT = Aws::String>
57 void SetUuid(UuidT&& value) {
58 m_uuidHasBeenSet = true;
59 m_uuid = std::forward<UuidT>(value);
60 }
61 template <typename UuidT = Aws::String>
63 SetUuid(std::forward<UuidT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template <typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) {
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
106 inline const RunConfigurationsResponse& GetRunConfigurations() const { return m_runConfigurations; }
107 template <typename RunConfigurationsT = RunConfigurationsResponse>
108 void SetRunConfigurations(RunConfigurationsT&& value) {
109 m_runConfigurationsHasBeenSet = true;
110 m_runConfigurations = std::forward<RunConfigurationsT>(value);
111 }
112 template <typename RunConfigurationsT = RunConfigurationsResponse>
114 SetRunConfigurations(std::forward<RunConfigurationsT>(value));
115 return *this;
116 }
118
120
123 inline ConfigurationStatus GetStatus() const { return m_status; }
124 inline void SetStatus(ConfigurationStatus value) {
125 m_statusHasBeenSet = true;
126 m_status = value;
127 }
129 SetStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
139 template <typename CreationTimeT = Aws::Utils::DateTime>
140 void SetCreationTime(CreationTimeT&& value) {
141 m_creationTimeHasBeenSet = true;
142 m_creationTime = std::forward<CreationTimeT>(value);
143 }
144 template <typename CreationTimeT = Aws::Utils::DateTime>
146 SetCreationTime(std::forward<CreationTimeT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
156 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 void SetTags(TagsT&& value) {
158 m_tagsHasBeenSet = true;
159 m_tags = std::forward<TagsT>(value);
160 }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 SetTags(std::forward<TagsT>(value));
164 return *this;
165 }
166 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
167 CreateConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
170 return *this;
171 }
173
175
176 inline const Aws::String& GetRequestId() const { return m_requestId; }
177 template <typename RequestIdT = Aws::String>
178 void SetRequestId(RequestIdT&& value) {
179 m_requestIdHasBeenSet = true;
180 m_requestId = std::forward<RequestIdT>(value);
181 }
182 template <typename RequestIdT = Aws::String>
184 SetRequestId(std::forward<RequestIdT>(value));
185 return *this;
186 }
188 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
189
190 private:
191 Aws::String m_arn;
192
193 Aws::String m_uuid;
194
195 Aws::String m_name;
196
197 Aws::String m_description;
198
199 RunConfigurationsResponse m_runConfigurations;
200
202
203 Aws::Utils::DateTime m_creationTime{};
204
206
207 Aws::String m_requestId;
208 Aws::Http::HttpResponseCode m_HttpResponseCode;
209 bool m_arnHasBeenSet = false;
210 bool m_uuidHasBeenSet = false;
211 bool m_nameHasBeenSet = false;
212 bool m_descriptionHasBeenSet = false;
213 bool m_runConfigurationsHasBeenSet = false;
214 bool m_statusHasBeenSet = false;
215 bool m_creationTimeHasBeenSet = false;
216 bool m_tagsHasBeenSet = false;
217 bool m_requestIdHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace Omics
222} // namespace Aws
CreateConfigurationResult & WithRunConfigurations(RunConfigurationsT &&value)
CreateConfigurationResult & WithRequestId(RequestIdT &&value)
CreateConfigurationResult & WithStatus(ConfigurationStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConfigurationResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateConfigurationResult & WithUuid(UuidT &&value)
CreateConfigurationResult & WithCreationTime(CreationTimeT &&value)
const RunConfigurationsResponse & GetRunConfigurations() const
CreateConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateConfigurationResult & WithArn(ArnT &&value)
AWS_OMICS_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationResult & WithTags(TagsT &&value)
CreateConfigurationResult & WithDescription(DescriptionT &&value)
AWS_OMICS_API CreateConfigurationResult()=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