AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ImportReferenceJobItem.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Omics
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_OMICS_API ImportReferenceJobItem() = default;
39 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ImportReferenceJobItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::forward<ReferenceStoreIdT>(value); }
62 template<typename ReferenceStoreIdT = Aws::String>
63 ImportReferenceJobItem& WithReferenceStoreId(ReferenceStoreIdT&& value) { SetReferenceStoreId(std::forward<ReferenceStoreIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
71 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
72 template<typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<typename RoleArnT = Aws::String>
75 ImportReferenceJobItem& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
77
79
82 inline ReferenceImportJobStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(ReferenceImportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 ImportReferenceJobItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
105 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
106 template<typename CompletionTimeT = Aws::Utils::DateTime>
107 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
108 template<typename CompletionTimeT = Aws::Utils::DateTime>
109 ImportReferenceJobItem& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
111 private:
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::String m_referenceStoreId;
117 bool m_referenceStoreIdHasBeenSet = false;
118
119 Aws::String m_roleArn;
120 bool m_roleArnHasBeenSet = false;
121
123 bool m_statusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_creationTime{};
126 bool m_creationTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_completionTime{};
129 bool m_completionTimeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Omics
134} // 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