AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
StartRunBatchResult.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/BatchStatus.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 StartRunBatchResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline BatchStatus GetStatus() const { return m_status; }
71 inline void SetStatus(BatchStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
85 inline const Aws::String& GetUuid() const { return m_uuid; }
86 template <typename UuidT = Aws::String>
87 void SetUuid(UuidT&& value) {
88 m_uuidHasBeenSet = true;
89 m_uuid = std::forward<UuidT>(value);
90 }
91 template <typename UuidT = Aws::String>
92 StartRunBatchResult& WithUuid(UuidT&& value) {
93 SetUuid(std::forward<UuidT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
103 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) {
105 m_tagsHasBeenSet = true;
106 m_tags = std::forward<TagsT>(value);
107 }
108 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 SetTags(std::forward<TagsT>(value));
111 return *this;
112 }
113 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 StartRunBatchResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true;
116 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
130 StartRunBatchResult& WithRequestId(RequestIdT&& value) {
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
136
137 private:
138 Aws::String m_id;
139
140 Aws::String m_arn;
141
143
144 Aws::String m_uuid;
145
147
148 Aws::String m_requestId;
149 Aws::Http::HttpResponseCode m_HttpResponseCode;
150 bool m_idHasBeenSet = false;
151 bool m_arnHasBeenSet = false;
152 bool m_statusHasBeenSet = false;
153 bool m_uuidHasBeenSet = false;
154 bool m_tagsHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace Omics
160} // namespace Aws
StartRunBatchResult & WithTags(TagsT &&value)
AWS_OMICS_API StartRunBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartRunBatchResult & WithUuid(UuidT &&value)
StartRunBatchResult & WithStatus(BatchStatus value)
AWS_OMICS_API StartRunBatchResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartRunBatchResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartRunBatchResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartRunBatchResult & WithArn(ArnT &&value)
AWS_OMICS_API StartRunBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartRunBatchResult & WithId(IdT &&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