AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowListItem.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/WorkflowStatus.h>
10#include <aws/omics/model/WorkflowType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_OMICS_API WorkflowListItem();
41 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline WorkflowListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline WorkflowListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline WorkflowListItem& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline WorkflowListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline WorkflowListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline WorkflowListItem& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline WorkflowListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline WorkflowListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline WorkflowListItem& WithName(const char* value) { SetName(value); return *this;}
85
87
90 inline const WorkflowStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const WorkflowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(WorkflowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline WorkflowListItem& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
95 inline WorkflowListItem& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
102 inline const WorkflowType& GetType() const{ return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; }
105 inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
106 inline WorkflowListItem& WithType(const WorkflowType& value) { SetType(value); return *this;}
107 inline WorkflowListItem& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetDigest() const{ return m_digest; }
115 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
116 inline void SetDigest(const Aws::String& value) { m_digestHasBeenSet = true; m_digest = value; }
117 inline void SetDigest(Aws::String&& value) { m_digestHasBeenSet = true; m_digest = std::move(value); }
118 inline void SetDigest(const char* value) { m_digestHasBeenSet = true; m_digest.assign(value); }
119 inline WorkflowListItem& WithDigest(const Aws::String& value) { SetDigest(value); return *this;}
120 inline WorkflowListItem& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;}
121 inline WorkflowListItem& WithDigest(const char* value) { SetDigest(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
130 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
131 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
132 inline WorkflowListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
133 inline WorkflowListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
135
137
141 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
142 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
143 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
144 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
146 inline WorkflowListItem& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
147 inline WorkflowListItem& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
148 inline WorkflowListItem& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
149 inline WorkflowListItem& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
150 inline WorkflowListItem& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
151 inline WorkflowListItem& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
152 inline WorkflowListItem& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
153 inline WorkflowListItem& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 WorkflowStatus m_status;
167 bool m_statusHasBeenSet = false;
168
169 WorkflowType m_type;
170 bool m_typeHasBeenSet = false;
171
172 Aws::String m_digest;
173 bool m_digestHasBeenSet = false;
174
175 Aws::Utils::DateTime m_creationTime;
176 bool m_creationTimeHasBeenSet = false;
177
179 bool m_metadataHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Omics
184} // namespace Aws
WorkflowListItem & WithDigest(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
WorkflowListItem & WithType(const WorkflowType &value)
void SetId(const Aws::String &value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowListItem & WithName(Aws::String &&value)
WorkflowListItem & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetId(Aws::String &&value)
const WorkflowStatus & GetStatus() const
void SetArn(const Aws::String &value)
AWS_OMICS_API WorkflowListItem(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetType(const WorkflowType &value)
WorkflowListItem & WithDigest(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::String & GetId() const
WorkflowListItem & AddMetadata(const char *key, const char *value)
WorkflowListItem & WithCreationTime(Aws::Utils::DateTime &&value)
WorkflowListItem & WithArn(const char *value)
void SetDigest(const Aws::String &value)
WorkflowListItem & AddMetadata(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
WorkflowListItem & WithArn(const Aws::String &value)
WorkflowListItem & WithStatus(WorkflowStatus &&value)
const Aws::String & GetName() const
WorkflowListItem & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
void SetCreationTime(const Aws::Utils::DateTime &value)
WorkflowListItem & WithStatus(const WorkflowStatus &value)
void SetStatus(const WorkflowStatus &value)
WorkflowListItem & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
AWS_OMICS_API WorkflowListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
WorkflowListItem & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatus(WorkflowStatus &&value)
WorkflowListItem & WithId(const Aws::String &value)
WorkflowListItem & WithId(const char *value)
WorkflowListItem & AddMetadata(const Aws::String &key, Aws::String &&value)
const Aws::String & GetDigest() const
WorkflowListItem & WithType(WorkflowType &&value)
const WorkflowType & GetType() const
WorkflowListItem & WithName(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
WorkflowListItem & WithName(const Aws::String &value)
WorkflowListItem & AddMetadata(const char *key, Aws::String &&value)
WorkflowListItem & WithId(Aws::String &&value)
WorkflowListItem & AddMetadata(Aws::String &&key, const char *value)
void SetDigest(Aws::String &&value)
WorkflowListItem & WithCreationTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
void SetType(WorkflowType &&value)
WorkflowListItem & WithDigest(Aws::String &&value)
WorkflowListItem & AddMetadata(const Aws::String &key, const 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