AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline StartRunResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline StartRunResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline StartRunResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline void SetId(const Aws::String& value) { m_id = value; }
56 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
57 inline void SetId(const char* value) { m_id.assign(value); }
58 inline StartRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline StartRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline StartRunResult& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const RunStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const RunStatus& value) { m_status = value; }
69 inline void SetStatus(RunStatus&& value) { m_status = std::move(value); }
70 inline StartRunResult& WithStatus(const RunStatus& value) { SetStatus(value); return *this;}
71 inline StartRunResult& WithStatus(RunStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
79 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
80 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
81 inline StartRunResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
82 inline StartRunResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
83 inline StartRunResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
84 inline StartRunResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
85 inline StartRunResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
86 inline StartRunResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
87 inline StartRunResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
88 inline StartRunResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
89 inline StartRunResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
91
93
96 inline const Aws::String& GetUuid() const{ return m_uuid; }
97 inline void SetUuid(const Aws::String& value) { m_uuid = value; }
98 inline void SetUuid(Aws::String&& value) { m_uuid = std::move(value); }
99 inline void SetUuid(const char* value) { m_uuid.assign(value); }
100 inline StartRunResult& WithUuid(const Aws::String& value) { SetUuid(value); return *this;}
101 inline StartRunResult& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;}
102 inline StartRunResult& WithUuid(const char* value) { SetUuid(value); return *this;}
104
106
109 inline const Aws::String& GetRunOutputUri() const{ return m_runOutputUri; }
110 inline void SetRunOutputUri(const Aws::String& value) { m_runOutputUri = value; }
111 inline void SetRunOutputUri(Aws::String&& value) { m_runOutputUri = std::move(value); }
112 inline void SetRunOutputUri(const char* value) { m_runOutputUri.assign(value); }
113 inline StartRunResult& WithRunOutputUri(const Aws::String& value) { SetRunOutputUri(value); return *this;}
114 inline StartRunResult& WithRunOutputUri(Aws::String&& value) { SetRunOutputUri(std::move(value)); return *this;}
115 inline StartRunResult& WithRunOutputUri(const char* value) { SetRunOutputUri(value); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline StartRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline StartRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline StartRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131
132 Aws::String m_id;
133
134 RunStatus m_status;
135
137
138 Aws::String m_uuid;
139
140 Aws::String m_runOutputUri;
141
142 Aws::String m_requestId;
143 };
144
145} // namespace Model
146} // namespace Omics
147} // namespace Aws
void SetId(Aws::String &&value)
StartRunResult & WithRunOutputUri(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetUuid(const char *value)
void SetUuid(Aws::String &&value)
const RunStatus & GetStatus() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRunOutputUri() const
StartRunResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRunOutputUri(Aws::String &&value)
StartRunResult & WithRequestId(const Aws::String &value)
void SetStatus(const RunStatus &value)
void SetRunOutputUri(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartRunResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_OMICS_API StartRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetId(const Aws::String &value)
AWS_OMICS_API StartRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartRunResult & WithId(Aws::String &&value)
void SetStatus(RunStatus &&value)
void SetRunOutputUri(const Aws::String &value)
StartRunResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestId(Aws::String &&value)
StartRunResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetId() const
void SetRequestId(const char *value)
void SetRequestId(const Aws::String &value)
StartRunResult & WithArn(const char *value)
const Aws::String & GetUuid() const
void SetArn(const char *value)
StartRunResult & WithRunOutputUri(const char *value)
const Aws::String & GetRequestId() const
StartRunResult & WithStatus(RunStatus &&value)
StartRunResult & WithUuid(const Aws::String &value)
StartRunResult & WithArn(const Aws::String &value)
StartRunResult & WithId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartRunResult & WithRunOutputUri(Aws::String &&value)
const Aws::String & GetArn() const
void SetArn(Aws::String &&value)
StartRunResult & AddTags(const char *key, Aws::String &&value)
StartRunResult & WithUuid(const char *value)
StartRunResult & WithId(const Aws::String &value)
StartRunResult & WithStatus(const RunStatus &value)
StartRunResult & AddTags(Aws::String &&key, const char *value)
void SetUuid(const Aws::String &value)
StartRunResult & AddTags(const char *key, const char *value)
StartRunResult & AddTags(Aws::String &&key, Aws::String &&value)
StartRunResult & WithArn(Aws::String &&value)
StartRunResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetId(const char *value)
StartRunResult & WithUuid(Aws::String &&value)
StartRunResult & WithRequestId(const char *value)
StartRunResult & WithRequestId(Aws::String &&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