AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRunCacheResult.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/RunCacheStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OMICS_API CreateRunCacheResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 CreateRunCacheResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 CreateRunCacheResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline RunCacheStatus GetStatus() const { return m_status; }
64 inline void SetStatus(RunCacheStatus value) { m_statusHasBeenSet = true; m_status = value; }
65 inline CreateRunCacheResult& WithStatus(RunCacheStatus value) { SetStatus(value); return *this;}
67
69
72 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
73 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
74 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
75 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 CreateRunCacheResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
77 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
78 CreateRunCacheResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
79 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 CreateRunCacheResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::String m_id;
97 bool m_idHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101
103 bool m_tagsHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Omics
111} // 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