AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetadataGenerationRunItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/MetadataGenerationRunStatus.h>
11#include <aws/datazone/model/MetadataGenerationRunTarget.h>
12#include <aws/datazone/model/MetadataGenerationRunType.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 DataZone
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAZONE_API MetadataGenerationRunItem();
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
49 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
51 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
52 inline MetadataGenerationRunItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
53 inline MetadataGenerationRunItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
61 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
62 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
63 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
64 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
65 inline MetadataGenerationRunItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
66 inline MetadataGenerationRunItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
67 inline MetadataGenerationRunItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
69
71
75 inline const Aws::String& GetDomainId() const{ return m_domainId; }
76 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
77 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
78 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
79 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
80 inline MetadataGenerationRunItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
81 inline MetadataGenerationRunItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
82 inline MetadataGenerationRunItem& WithDomainId(const char* value) { SetDomainId(value); return *this;}
84
86
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
91 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
92 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
93 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
94 inline MetadataGenerationRunItem& WithId(const Aws::String& value) { SetId(value); return *this;}
95 inline MetadataGenerationRunItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
96 inline MetadataGenerationRunItem& WithId(const char* value) { SetId(value); return *this;}
98
100
104 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
105 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
106 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
107 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
108 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
110 inline MetadataGenerationRunItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
111 inline MetadataGenerationRunItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
113
115
118 inline const MetadataGenerationRunStatus& GetStatus() const{ return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(const MetadataGenerationRunStatus& value) { m_statusHasBeenSet = true; m_status = value; }
121 inline void SetStatus(MetadataGenerationRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
122 inline MetadataGenerationRunItem& WithStatus(const MetadataGenerationRunStatus& value) { SetStatus(value); return *this;}
123 inline MetadataGenerationRunItem& WithStatus(MetadataGenerationRunStatus&& value) { SetStatus(std::move(value)); return *this;}
125
127
130 inline const MetadataGenerationRunTarget& GetTarget() const{ return m_target; }
131 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
132 inline void SetTarget(const MetadataGenerationRunTarget& value) { m_targetHasBeenSet = true; m_target = value; }
133 inline void SetTarget(MetadataGenerationRunTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
134 inline MetadataGenerationRunItem& WithTarget(const MetadataGenerationRunTarget& value) { SetTarget(value); return *this;}
135 inline MetadataGenerationRunItem& WithTarget(MetadataGenerationRunTarget&& value) { SetTarget(std::move(value)); return *this;}
137
139
142 inline const MetadataGenerationRunType& GetType() const{ return m_type; }
143 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
144 inline void SetType(const MetadataGenerationRunType& value) { m_typeHasBeenSet = true; m_type = value; }
145 inline void SetType(MetadataGenerationRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
146 inline MetadataGenerationRunItem& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;}
147 inline MetadataGenerationRunItem& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;}
149 private:
150
151 Aws::Utils::DateTime m_createdAt;
152 bool m_createdAtHasBeenSet = false;
153
154 Aws::String m_createdBy;
155 bool m_createdByHasBeenSet = false;
156
157 Aws::String m_domainId;
158 bool m_domainIdHasBeenSet = false;
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_owningProjectId;
164 bool m_owningProjectIdHasBeenSet = false;
165
167 bool m_statusHasBeenSet = false;
168
170 bool m_targetHasBeenSet = false;
171
173 bool m_typeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace DataZone
178} // namespace Aws
MetadataGenerationRunItem & WithOwningProjectId(const Aws::String &value)
const MetadataGenerationRunStatus & GetStatus() const
const MetadataGenerationRunType & GetType() const
MetadataGenerationRunItem & WithId(const Aws::String &value)
MetadataGenerationRunItem & WithDomainId(const Aws::String &value)
MetadataGenerationRunItem & WithId(Aws::String &&value)
MetadataGenerationRunItem & WithStatus(const MetadataGenerationRunStatus &value)
MetadataGenerationRunItem & WithOwningProjectId(Aws::String &&value)
void SetTarget(MetadataGenerationRunTarget &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
MetadataGenerationRunItem & WithCreatedBy(const char *value)
MetadataGenerationRunItem & WithStatus(MetadataGenerationRunStatus &&value)
void SetTarget(const MetadataGenerationRunTarget &value)
MetadataGenerationRunItem & WithId(const char *value)
const MetadataGenerationRunTarget & GetTarget() const
MetadataGenerationRunItem & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API MetadataGenerationRunItem(Aws::Utils::Json::JsonView jsonValue)
MetadataGenerationRunItem & WithTarget(const MetadataGenerationRunTarget &value)
MetadataGenerationRunItem & WithTarget(MetadataGenerationRunTarget &&value)
void SetStatus(MetadataGenerationRunStatus &&value)
MetadataGenerationRunItem & WithDomainId(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const MetadataGenerationRunStatus &value)
MetadataGenerationRunItem & WithType(MetadataGenerationRunType &&value)
void SetType(MetadataGenerationRunType &&value)
MetadataGenerationRunItem & WithType(const MetadataGenerationRunType &value)
void SetType(const MetadataGenerationRunType &value)
AWS_DATAZONE_API MetadataGenerationRunItem & operator=(Aws::Utils::Json::JsonView jsonValue)
MetadataGenerationRunItem & WithCreatedAt(Aws::Utils::DateTime &&value)
MetadataGenerationRunItem & WithOwningProjectId(const char *value)
MetadataGenerationRunItem & WithCreatedBy(Aws::String &&value)
MetadataGenerationRunItem & WithDomainId(const char *value)
MetadataGenerationRunItem & WithCreatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue