AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
ImportReferenceJobItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ReferenceImportJobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics {
22namespace Model {
23
30 public:
31 AWS_OMICS_API ImportReferenceJobItem() = default;
34 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetReferenceStoreId() const { return m_referenceStoreId; }
59 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
60 template <typename ReferenceStoreIdT = Aws::String>
61 void SetReferenceStoreId(ReferenceStoreIdT&& value) {
62 m_referenceStoreIdHasBeenSet = true;
63 m_referenceStoreId = std::forward<ReferenceStoreIdT>(value);
64 }
65 template <typename ReferenceStoreIdT = Aws::String>
66 ImportReferenceJobItem& WithReferenceStoreId(ReferenceStoreIdT&& value) {
67 SetReferenceStoreId(std::forward<ReferenceStoreIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
77 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
78 template <typename RoleArnT = Aws::String>
79 void SetRoleArn(RoleArnT&& value) {
80 m_roleArnHasBeenSet = true;
81 m_roleArn = std::forward<RoleArnT>(value);
82 }
83 template <typename RoleArnT = Aws::String>
85 SetRoleArn(std::forward<RoleArnT>(value));
86 return *this;
87 }
89
91
94 inline ReferenceImportJobStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 m_statusHasBeenSet = true;
98 m_status = value;
99 }
101 SetStatus(value);
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
111 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
112 template <typename CreationTimeT = Aws::Utils::DateTime>
113 void SetCreationTime(CreationTimeT&& value) {
114 m_creationTimeHasBeenSet = true;
115 m_creationTime = std::forward<CreationTimeT>(value);
116 }
117 template <typename CreationTimeT = Aws::Utils::DateTime>
118 ImportReferenceJobItem& WithCreationTime(CreationTimeT&& value) {
119 SetCreationTime(std::forward<CreationTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
129 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
130 template <typename CompletionTimeT = Aws::Utils::DateTime>
131 void SetCompletionTime(CompletionTimeT&& value) {
132 m_completionTimeHasBeenSet = true;
133 m_completionTime = std::forward<CompletionTimeT>(value);
134 }
135 template <typename CompletionTimeT = Aws::Utils::DateTime>
136 ImportReferenceJobItem& WithCompletionTime(CompletionTimeT&& value) {
137 SetCompletionTime(std::forward<CompletionTimeT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_id;
143
144 Aws::String m_referenceStoreId;
145
146 Aws::String m_roleArn;
147
149
150 Aws::Utils::DateTime m_creationTime{};
151
152 Aws::Utils::DateTime m_completionTime{};
153 bool m_idHasBeenSet = false;
154 bool m_referenceStoreIdHasBeenSet = false;
155 bool m_roleArnHasBeenSet = false;
156 bool m_statusHasBeenSet = false;
157 bool m_creationTimeHasBeenSet = false;
158 bool m_completionTimeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Omics
163} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
void SetReferenceStoreId(ReferenceStoreIdT &&value)
ReferenceImportJobStatus GetStatus() const
void SetStatus(ReferenceImportJobStatus value)
ImportReferenceJobItem & WithId(IdT &&value)
AWS_OMICS_API ImportReferenceJobItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletionTime() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OMICS_API ImportReferenceJobItem(Aws::Utils::Json::JsonView jsonValue)
ImportReferenceJobItem & WithCreationTime(CreationTimeT &&value)
AWS_OMICS_API ImportReferenceJobItem()=default
ImportReferenceJobItem & WithCompletionTime(CompletionTimeT &&value)
ImportReferenceJobItem & WithRoleArn(RoleArnT &&value)
ImportReferenceJobItem & WithReferenceStoreId(ReferenceStoreIdT &&value)
ImportReferenceJobItem & WithStatus(ReferenceImportJobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue