AWS SDK for C++

AWS SDK for C++ Version 1.11.797

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
71 inline BatchStatus GetStatus() const { return m_status; }
72 inline void SetStatus(BatchStatus value) {
73 m_statusHasBeenSet = true;
74 m_status = value;
75 }
77 SetStatus(value);
78 return *this;
79 }
81
83
86 inline const Aws::String& GetUuid() const { return m_uuid; }
87 template <typename UuidT = Aws::String>
88 void SetUuid(UuidT&& value) {
89 m_uuidHasBeenSet = true;
90 m_uuid = std::forward<UuidT>(value);
91 }
92 template <typename UuidT = Aws::String>
93 StartRunBatchResult& WithUuid(UuidT&& value) {
94 SetUuid(std::forward<UuidT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
104 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 void SetTags(TagsT&& value) {
106 m_tagsHasBeenSet = true;
107 m_tags = std::forward<TagsT>(value);
108 }
109 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 SetTags(std::forward<TagsT>(value));
112 return *this;
113 }
114 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
115 StartRunBatchResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
116 m_tagsHasBeenSet = true;
117 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
118 return *this;
119 }
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template <typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) {
127 m_requestIdHasBeenSet = true;
128 m_requestId = std::forward<RequestIdT>(value);
129 }
130 template <typename RequestIdT = Aws::String>
131 StartRunBatchResult& WithRequestId(RequestIdT&& value) {
132 SetRequestId(std::forward<RequestIdT>(value));
133 return *this;
134 }
136 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
137
138 private:
139 Aws::String m_id;
140
141 Aws::String m_arn;
142
144
145 Aws::String m_uuid;
146
148
149 Aws::String m_requestId;
150 Aws::Http::HttpResponseCode m_HttpResponseCode;
151 bool m_idHasBeenSet = false;
152 bool m_arnHasBeenSet = false;
153 bool m_statusHasBeenSet = false;
154 bool m_uuidHasBeenSet = false;
155 bool m_tagsHasBeenSet = false;
156 bool m_requestIdHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace Omics
161} // 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