AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReferenceImportJobResult.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/ReferenceImportJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/omics/model/ImportReferenceSourceItem.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Omics
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetId() const{ return m_id; }
44 inline void SetId(const Aws::String& value) { m_id = value; }
45 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
46 inline void SetId(const char* value) { m_id.assign(value); }
47 inline GetReferenceImportJobResult& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline GetReferenceImportJobResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline GetReferenceImportJobResult& WithId(const char* value) { SetId(value); return *this;}
51
53
56 inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; }
57 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreId = value; }
58 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreId = std::move(value); }
59 inline void SetReferenceStoreId(const char* value) { m_referenceStoreId.assign(value); }
61 inline GetReferenceImportJobResult& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
62 inline GetReferenceImportJobResult& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
64
66
69 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
70 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
71 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
72 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
73 inline GetReferenceImportJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
74 inline GetReferenceImportJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 inline GetReferenceImportJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
77
79
82 inline const ReferenceImportJobStatus& GetStatus() const{ return m_status; }
83 inline void SetStatus(const ReferenceImportJobStatus& value) { m_status = value; }
84 inline void SetStatus(ReferenceImportJobStatus&& value) { m_status = std::move(value); }
85 inline GetReferenceImportJobResult& WithStatus(const ReferenceImportJobStatus& value) { SetStatus(value); return *this;}
86 inline GetReferenceImportJobResult& WithStatus(ReferenceImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
94 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
95 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
96 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
97 inline GetReferenceImportJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
98 inline GetReferenceImportJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
99 inline GetReferenceImportJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
107 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
108 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
110 inline GetReferenceImportJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
118 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; }
119 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); }
123
125
128 inline const Aws::Vector<ImportReferenceSourceItem>& GetSources() const{ return m_sources; }
129 inline void SetSources(const Aws::Vector<ImportReferenceSourceItem>& value) { m_sources = value; }
130 inline void SetSources(Aws::Vector<ImportReferenceSourceItem>&& value) { m_sources = std::move(value); }
133 inline GetReferenceImportJobResult& AddSources(const ImportReferenceSourceItem& value) { m_sources.push_back(value); return *this; }
134 inline GetReferenceImportJobResult& AddSources(ImportReferenceSourceItem&& value) { m_sources.push_back(std::move(value)); return *this; }
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline GetReferenceImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline GetReferenceImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline GetReferenceImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_id;
150
151 Aws::String m_referenceStoreId;
152
153 Aws::String m_roleArn;
154
156
157 Aws::String m_statusMessage;
158
159 Aws::Utils::DateTime m_creationTime;
160
161 Aws::Utils::DateTime m_completionTime;
162
164
165 Aws::String m_requestId;
166 };
167
168} // namespace Model
169} // namespace Omics
170} // namespace Aws
GetReferenceImportJobResult & WithCompletionTime(Aws::Utils::DateTime &&value)
GetReferenceImportJobResult & WithStatusMessage(const Aws::String &value)
GetReferenceImportJobResult & WithStatusMessage(Aws::String &&value)
GetReferenceImportJobResult & WithStatus(ReferenceImportJobStatus &&value)
void SetSources(Aws::Vector< ImportReferenceSourceItem > &&value)
GetReferenceImportJobResult & WithRequestId(Aws::String &&value)
AWS_OMICS_API GetReferenceImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReferenceImportJobResult & WithReferenceStoreId(const char *value)
void SetStatus(const ReferenceImportJobStatus &value)
GetReferenceImportJobResult & WithRoleArn(const Aws::String &value)
GetReferenceImportJobResult & WithRequestId(const Aws::String &value)
GetReferenceImportJobResult & AddSources(ImportReferenceSourceItem &&value)
void SetSources(const Aws::Vector< ImportReferenceSourceItem > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetReferenceImportJobResult & AddSources(const ImportReferenceSourceItem &value)
GetReferenceImportJobResult & WithRoleArn(Aws::String &&value)
GetReferenceImportJobResult & WithId(Aws::String &&value)
const ReferenceImportJobStatus & GetStatus() const
GetReferenceImportJobResult & WithCompletionTime(const Aws::Utils::DateTime &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
const Aws::Vector< ImportReferenceSourceItem > & GetSources() const
GetReferenceImportJobResult & WithId(const Aws::String &value)
GetReferenceImportJobResult & WithRoleArn(const char *value)
GetReferenceImportJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetReferenceImportJobResult & WithReferenceStoreId(Aws::String &&value)
GetReferenceImportJobResult & WithStatusMessage(const char *value)
GetReferenceImportJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetReferenceImportJobResult & WithRequestId(const char *value)
GetReferenceImportJobResult & WithId(const char *value)
AWS_OMICS_API GetReferenceImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReferenceImportJobResult & WithSources(Aws::Vector< ImportReferenceSourceItem > &&value)
GetReferenceImportJobResult & WithReferenceStoreId(const Aws::String &value)
GetReferenceImportJobResult & WithStatus(const ReferenceImportJobStatus &value)
GetReferenceImportJobResult & WithSources(const Aws::Vector< ImportReferenceSourceItem > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue