AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartRunResult.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/RunStatus.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 StartRunResult() = 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 StartRunResult& 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 StartRunResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline RunStatus GetStatus() const { return m_status; }
64 inline void SetStatus(RunStatus value) { m_statusHasBeenSet = true; m_status = value; }
65 inline StartRunResult& WithStatus(RunStatus 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 StartRunResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
77 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
78 StartRunResult& 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
87 inline const Aws::String& GetUuid() const { return m_uuid; }
88 template<typename UuidT = Aws::String>
89 void SetUuid(UuidT&& value) { m_uuidHasBeenSet = true; m_uuid = std::forward<UuidT>(value); }
90 template<typename UuidT = Aws::String>
91 StartRunResult& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
93
95
98 inline const Aws::String& GetRunOutputUri() const { return m_runOutputUri; }
99 template<typename RunOutputUriT = Aws::String>
100 void SetRunOutputUri(RunOutputUriT&& value) { m_runOutputUriHasBeenSet = true; m_runOutputUri = std::forward<RunOutputUriT>(value); }
101 template<typename RunOutputUriT = Aws::String>
102 StartRunResult& WithRunOutputUri(RunOutputUriT&& value) { SetRunOutputUri(std::forward<RunOutputUriT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 StartRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
122 bool m_statusHasBeenSet = false;
123
125 bool m_tagsHasBeenSet = false;
126
127 Aws::String m_uuid;
128 bool m_uuidHasBeenSet = false;
129
130 Aws::String m_runOutputUri;
131 bool m_runOutputUriHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Omics
139} // namespace Aws
const Aws::String & GetRunOutputUri() const
StartRunResult & WithTags(TagsT &&value)
AWS_OMICS_API StartRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API StartRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRunOutputUri(RunOutputUriT &&value)
void SetStatus(RunStatus value)
StartRunResult & WithRequestId(RequestIdT &&value)
StartRunResult & WithId(IdT &&value)
const Aws::String & GetId() const
const Aws::String & GetUuid() const
const Aws::String & GetRequestId() const
StartRunResult & WithRunOutputUri(RunOutputUriT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetArn() const
void SetRequestId(RequestIdT &&value)
StartRunResult & WithArn(ArnT &&value)
AWS_OMICS_API StartRunResult()=default
StartRunResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartRunResult & WithStatus(RunStatus value)
StartRunResult & WithUuid(UuidT &&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