AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRunCacheResult.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/CacheBehavior.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/omics/model/RunCacheStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Omics
28{
29namespace Model
30{
32 {
33 public:
34 AWS_OMICS_API GetRunCacheResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetRunCacheResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
55 inline void SetCacheBehavior(CacheBehavior value) { m_cacheBehaviorHasBeenSet = true; m_cacheBehavior = value; }
56 inline GetRunCacheResult& WithCacheBehavior(CacheBehavior value) { SetCacheBehavior(value); return *this;}
58
60
63 inline const Aws::String& GetCacheBucketOwnerId() const { return m_cacheBucketOwnerId; }
64 template<typename CacheBucketOwnerIdT = Aws::String>
65 void SetCacheBucketOwnerId(CacheBucketOwnerIdT&& value) { m_cacheBucketOwnerIdHasBeenSet = true; m_cacheBucketOwnerId = std::forward<CacheBucketOwnerIdT>(value); }
66 template<typename CacheBucketOwnerIdT = Aws::String>
67 GetRunCacheResult& WithCacheBucketOwnerId(CacheBucketOwnerIdT&& value) { SetCacheBucketOwnerId(std::forward<CacheBucketOwnerIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetCacheS3Uri() const { return m_cacheS3Uri; }
75 template<typename CacheS3UriT = Aws::String>
76 void SetCacheS3Uri(CacheS3UriT&& value) { m_cacheS3UriHasBeenSet = true; m_cacheS3Uri = std::forward<CacheS3UriT>(value); }
77 template<typename CacheS3UriT = Aws::String>
78 GetRunCacheResult& WithCacheS3Uri(CacheS3UriT&& value) { SetCacheS3Uri(std::forward<CacheS3UriT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 GetRunCacheResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
91
93
96 inline const Aws::String& GetDescription() const { return m_description; }
97 template<typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
99 template<typename DescriptionT = Aws::String>
100 GetRunCacheResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
102
104
107 inline const Aws::String& GetId() const { return m_id; }
108 template<typename IdT = Aws::String>
109 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
110 template<typename IdT = Aws::String>
111 GetRunCacheResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
113
115
118 inline const Aws::String& GetName() const { return m_name; }
119 template<typename NameT = Aws::String>
120 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
121 template<typename NameT = Aws::String>
122 GetRunCacheResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
124
126
129 inline RunCacheStatus GetStatus() const { return m_status; }
130 inline void SetStatus(RunCacheStatus value) { m_statusHasBeenSet = true; m_status = value; }
131 inline GetRunCacheResult& WithStatus(RunCacheStatus value) { SetStatus(value); return *this;}
133
135
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
139 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
141 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 GetRunCacheResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
143 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
144 GetRunCacheResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
145 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 GetRunCacheResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::String m_arn;
160 bool m_arnHasBeenSet = false;
161
162 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
163 bool m_cacheBehaviorHasBeenSet = false;
164
165 Aws::String m_cacheBucketOwnerId;
166 bool m_cacheBucketOwnerIdHasBeenSet = false;
167
168 Aws::String m_cacheS3Uri;
169 bool m_cacheS3UriHasBeenSet = false;
170
171 Aws::Utils::DateTime m_creationTime{};
172 bool m_creationTimeHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
177 Aws::String m_id;
178 bool m_idHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
184 bool m_statusHasBeenSet = false;
185
187 bool m_tagsHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Omics
195} // 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