AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateRunCacheResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/RunCacheStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Omics {
24namespace Model {
26 public:
27 AWS_OMICS_API CreateRunCacheResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline RunCacheStatus GetStatus() const { return m_status; }
70 inline void SetStatus(RunCacheStatus value) {
71 m_statusHasBeenSet = true;
72 m_status = value;
73 }
75 SetStatus(value);
76 return *this;
77 }
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
85 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 void SetTags(TagsT&& value) {
87 m_tagsHasBeenSet = true;
88 m_tags = std::forward<TagsT>(value);
89 }
90 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 SetTags(std::forward<TagsT>(value));
93 return *this;
94 }
95 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
96 CreateRunCacheResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
97 m_tagsHasBeenSet = true;
98 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
99 return *this;
100 }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template <typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) {
108 m_requestIdHasBeenSet = true;
109 m_requestId = std::forward<RequestIdT>(value);
110 }
111 template <typename RequestIdT = Aws::String>
112 CreateRunCacheResult& WithRequestId(RequestIdT&& value) {
113 SetRequestId(std::forward<RequestIdT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_arn;
119
120 Aws::String m_id;
121
123
125
126 Aws::String m_requestId;
127 bool m_arnHasBeenSet = false;
128 bool m_idHasBeenSet = false;
129 bool m_statusHasBeenSet = false;
130 bool m_tagsHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace Omics
136} // 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
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