AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateRunCacheResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.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/RunCacheStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Omics {
25namespace Model {
27 public:
28 AWS_OMICS_API CreateRunCacheResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline RunCacheStatus GetStatus() const { return m_status; }
71 inline void SetStatus(RunCacheStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) {
88 m_tagsHasBeenSet = true;
89 m_tags = std::forward<TagsT>(value);
90 }
91 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 SetTags(std::forward<TagsT>(value));
94 return *this;
95 }
96 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
97 CreateRunCacheResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
113 CreateRunCacheResult& WithRequestId(RequestIdT&& value) {
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
119
120 private:
121 Aws::String m_arn;
122
123 Aws::String m_id;
124
126
128
129 Aws::String m_requestId;
130 Aws::Http::HttpResponseCode m_HttpResponseCode;
131 bool m_arnHasBeenSet = false;
132 bool m_idHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_tagsHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Omics
140} // namespace Aws
CreateRunCacheResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRunCacheResult & WithArn(ArnT &&value)
CreateRunCacheResult & WithStatus(RunCacheStatus value)
AWS_OMICS_API CreateRunCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRunCacheResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRunCacheResult & WithId(IdT &&value)
AWS_OMICS_API CreateRunCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRunCacheResult & WithTags(TagsT &&value)
AWS_OMICS_API CreateRunCacheResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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