AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ImportReferenceJobItem& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ImportReferenceJobItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ImportReferenceJobItem& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; }
61 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
62 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; }
63 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); }
64 inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); }
65 inline ImportReferenceJobItem& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;}
66 inline ImportReferenceJobItem& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
67 inline ImportReferenceJobItem& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
69
71
74 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
75 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
76 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
77 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
78 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
79 inline ImportReferenceJobItem& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
80 inline ImportReferenceJobItem& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
81 inline ImportReferenceJobItem& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
83
85
88 inline const ReferenceImportJobStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const ReferenceImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(ReferenceImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline ImportReferenceJobItem& WithStatus(const ReferenceImportJobStatus& value) { SetStatus(value); return *this;}
93 inline ImportReferenceJobItem& WithStatus(ReferenceImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
101 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
102 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
103 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
105 inline ImportReferenceJobItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
113 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
114 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
115 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
117 inline ImportReferenceJobItem& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_id;
122 bool m_idHasBeenSet = false;
123
124 Aws::String m_referenceStoreId;
125 bool m_referenceStoreIdHasBeenSet = false;
126
127 Aws::String m_roleArn;
128 bool m_roleArnHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationTime;
134 bool m_creationTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_completionTime;
137 bool m_completionTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Omics
142} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
ImportReferenceJobItem & WithCompletionTime(const Aws::Utils::DateTime &value)
ImportReferenceJobItem & WithStatus(ReferenceImportJobStatus &&value)
ImportReferenceJobItem & WithRoleArn(const Aws::String &value)
ImportReferenceJobItem & WithStatus(const ReferenceImportJobStatus &value)
ImportReferenceJobItem & WithReferenceStoreId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ImportReferenceJobItem & WithReferenceStoreId(Aws::String &&value)
void SetReferenceStoreId(const Aws::String &value)
ImportReferenceJobItem & WithCompletionTime(Aws::Utils::DateTime &&value)
void SetCompletionTime(Aws::Utils::DateTime &&value)
ImportReferenceJobItem & WithRoleArn(Aws::String &&value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API ImportReferenceJobItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportReferenceJobItem & WithReferenceStoreId(const Aws::String &value)
const Aws::Utils::DateTime & GetCompletionTime() const
void SetCreationTime(Aws::Utils::DateTime &&value)
ImportReferenceJobItem & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const ReferenceImportJobStatus & GetStatus() const
AWS_OMICS_API ImportReferenceJobItem(Aws::Utils::Json::JsonView jsonValue)
ImportReferenceJobItem & WithId(const Aws::String &value)
ImportReferenceJobItem & WithId(Aws::String &&value)
void SetStatus(ReferenceImportJobStatus &&value)
void SetStatus(const ReferenceImportJobStatus &value)
ImportReferenceJobItem & WithCreationTime(Aws::Utils::DateTime &&value)
ImportReferenceJobItem & WithRoleArn(const char *value)
ImportReferenceJobItem & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue