AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
GetRunCacheResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/CacheBehavior.h>
12#include <aws/omics/model/RunCacheStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics {
26namespace Model {
28 public:
29 AWS_OMICS_API GetRunCacheResult() = default;
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
44 GetRunCacheResult& WithArn(ArnT&& value) {
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
55 inline void SetCacheBehavior(CacheBehavior value) {
56 m_cacheBehaviorHasBeenSet = true;
57 m_cacheBehavior = value;
58 }
60 SetCacheBehavior(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetCacheBucketOwnerId() const { return m_cacheBucketOwnerId; }
70 template <typename CacheBucketOwnerIdT = Aws::String>
71 void SetCacheBucketOwnerId(CacheBucketOwnerIdT&& value) {
72 m_cacheBucketOwnerIdHasBeenSet = true;
73 m_cacheBucketOwnerId = std::forward<CacheBucketOwnerIdT>(value);
74 }
75 template <typename CacheBucketOwnerIdT = Aws::String>
76 GetRunCacheResult& WithCacheBucketOwnerId(CacheBucketOwnerIdT&& value) {
77 SetCacheBucketOwnerId(std::forward<CacheBucketOwnerIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetCacheS3Uri() const { return m_cacheS3Uri; }
87 template <typename CacheS3UriT = Aws::String>
88 void SetCacheS3Uri(CacheS3UriT&& value) {
89 m_cacheS3UriHasBeenSet = true;
90 m_cacheS3Uri = std::forward<CacheS3UriT>(value);
91 }
92 template <typename CacheS3UriT = Aws::String>
93 GetRunCacheResult& WithCacheS3Uri(CacheS3UriT&& value) {
94 SetCacheS3Uri(std::forward<CacheS3UriT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
104 template <typename CreationTimeT = Aws::Utils::DateTime>
105 void SetCreationTime(CreationTimeT&& value) {
106 m_creationTimeHasBeenSet = true;
107 m_creationTime = std::forward<CreationTimeT>(value);
108 }
109 template <typename CreationTimeT = Aws::Utils::DateTime>
110 GetRunCacheResult& WithCreationTime(CreationTimeT&& value) {
111 SetCreationTime(std::forward<CreationTimeT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDescription() const { return m_description; }
121 template <typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) {
123 m_descriptionHasBeenSet = true;
124 m_description = std::forward<DescriptionT>(value);
125 }
126 template <typename DescriptionT = Aws::String>
127 GetRunCacheResult& WithDescription(DescriptionT&& value) {
128 SetDescription(std::forward<DescriptionT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetId() const { return m_id; }
138 template <typename IdT = Aws::String>
139 void SetId(IdT&& value) {
140 m_idHasBeenSet = true;
141 m_id = std::forward<IdT>(value);
142 }
143 template <typename IdT = Aws::String>
144 GetRunCacheResult& WithId(IdT&& value) {
145 SetId(std::forward<IdT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetName() const { return m_name; }
155 template <typename NameT = Aws::String>
156 void SetName(NameT&& value) {
157 m_nameHasBeenSet = true;
158 m_name = std::forward<NameT>(value);
159 }
160 template <typename NameT = Aws::String>
161 GetRunCacheResult& WithName(NameT&& value) {
162 SetName(std::forward<NameT>(value));
163 return *this;
164 }
166
168
171 inline RunCacheStatus GetStatus() const { return m_status; }
172 inline void SetStatus(RunCacheStatus value) {
173 m_statusHasBeenSet = true;
174 m_status = value;
175 }
177 SetStatus(value);
178 return *this;
179 }
181
183
186 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
187 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 void SetTags(TagsT&& value) {
189 m_tagsHasBeenSet = true;
190 m_tags = std::forward<TagsT>(value);
191 }
192 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 GetRunCacheResult& WithTags(TagsT&& value) {
194 SetTags(std::forward<TagsT>(value));
195 return *this;
196 }
197 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
198 GetRunCacheResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
199 m_tagsHasBeenSet = true;
200 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
201 return *this;
202 }
204
206
207 inline const Aws::String& GetRequestId() const { return m_requestId; }
208 template <typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) {
210 m_requestIdHasBeenSet = true;
211 m_requestId = std::forward<RequestIdT>(value);
212 }
213 template <typename RequestIdT = Aws::String>
214 GetRunCacheResult& WithRequestId(RequestIdT&& value) {
215 SetRequestId(std::forward<RequestIdT>(value));
216 return *this;
217 }
219 private:
220 Aws::String m_arn;
221
222 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
223
224 Aws::String m_cacheBucketOwnerId;
225
226 Aws::String m_cacheS3Uri;
227
228 Aws::Utils::DateTime m_creationTime{};
229
230 Aws::String m_description;
231
232 Aws::String m_id;
233
234 Aws::String m_name;
235
237
239
240 Aws::String m_requestId;
241 bool m_arnHasBeenSet = false;
242 bool m_cacheBehaviorHasBeenSet = false;
243 bool m_cacheBucketOwnerIdHasBeenSet = false;
244 bool m_cacheS3UriHasBeenSet = false;
245 bool m_creationTimeHasBeenSet = false;
246 bool m_descriptionHasBeenSet = false;
247 bool m_idHasBeenSet = false;
248 bool m_nameHasBeenSet = false;
249 bool m_statusHasBeenSet = false;
250 bool m_tagsHasBeenSet = false;
251 bool m_requestIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace Omics
256} // namespace Aws
GetRunCacheResult & WithName(NameT &&value)
const Aws::String & GetName() const
GetRunCacheResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(RunCacheStatus value)
GetRunCacheResult & WithCacheBehavior(CacheBehavior value)
GetRunCacheResult & WithId(IdT &&value)
AWS_OMICS_API GetRunCacheResult()=default
const Aws::String & GetRequestId() const
void SetCacheBucketOwnerId(CacheBucketOwnerIdT &&value)
const Aws::String & GetArn() const
GetRunCacheResult & WithStatus(RunCacheStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRunCacheResult & WithTags(TagsT &&value)
GetRunCacheResult & WithCacheS3Uri(CacheS3UriT &&value)
AWS_OMICS_API GetRunCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRunCacheResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetCacheBucketOwnerId() const
GetRunCacheResult & WithDescription(DescriptionT &&value)
const Aws::String & GetId() const
AWS_OMICS_API GetRunCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
GetRunCacheResult & WithCreationTime(CreationTimeT &&value)
GetRunCacheResult & WithCacheBucketOwnerId(CacheBucketOwnerIdT &&value)
const Aws::String & GetDescription() const
GetRunCacheResult & WithArn(ArnT &&value)
void SetCacheS3Uri(CacheS3UriT &&value)
const Aws::String & GetCacheS3Uri() const
void SetDescription(DescriptionT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetCacheBehavior(CacheBehavior 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