AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 WorkflowListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 WorkflowListItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 WorkflowListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline WorkflowStatus GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(WorkflowStatus value) { m_statusHasBeenSet = true; m_status = value; }
87 inline WorkflowListItem& WithStatus(WorkflowStatus value) { SetStatus(value); return *this;}
89
91
94 inline WorkflowType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
97 inline WorkflowListItem& WithType(WorkflowType value) { SetType(value); return *this;}
99
101
104 inline const Aws::String& GetDigest() const { return m_digest; }
105 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
106 template<typename DigestT = Aws::String>
107 void SetDigest(DigestT&& value) { m_digestHasBeenSet = true; m_digest = std::forward<DigestT>(value); }
108 template<typename DigestT = Aws::String>
109 WorkflowListItem& WithDigest(DigestT&& value) { SetDigest(std::forward<DigestT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
117 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
118 template<typename CreationTimeT = Aws::Utils::DateTime>
119 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 WorkflowListItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
123
125
129 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
130 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
131 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
132 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
133 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
134 WorkflowListItem& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
135 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
136 WorkflowListItem& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
137 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
138 }
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153
155 bool m_typeHasBeenSet = false;
156
157 Aws::String m_digest;
158 bool m_digestHasBeenSet = false;
159
160 Aws::Utils::DateTime m_creationTime{};
161 bool m_creationTimeHasBeenSet = false;
162
164 bool m_metadataHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Omics
169} // namespace Aws
WorkflowListItem & WithName(NameT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OMICS_API WorkflowListItem()=default
WorkflowListItem & WithType(WorkflowType value)
AWS_OMICS_API WorkflowListItem(Aws::Utils::Json::JsonView jsonValue)
WorkflowListItem & WithArn(ArnT &&value)
const Aws::String & GetId() const
WorkflowListItem & WithStatus(WorkflowStatus value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetCreationTime(CreationTimeT &&value)
WorkflowListItem & WithId(IdT &&value)
void SetStatus(WorkflowStatus value)
WorkflowListItem & WithMetadata(MetadataT &&value)
const Aws::String & GetName() const
const Aws::String & GetArn() const
AWS_OMICS_API WorkflowListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDigest() const
WorkflowListItem & WithDigest(DigestT &&value)
WorkflowListItem & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
WorkflowListItem & WithCreationTime(CreationTimeT &&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