AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataProductResultItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/DataProductItemAdditionalAttributes.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API DataProductResultItem() = default;
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DataProductItemAdditionalAttributes& GetAdditionalAttributes() const { return m_additionalAttributes; }
48 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
49 template<typename AdditionalAttributesT = DataProductItemAdditionalAttributes>
50 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
51 template<typename AdditionalAttributesT = DataProductItemAdditionalAttributes>
52 DataProductResultItem& WithAdditionalAttributes(AdditionalAttributesT&& value) { SetAdditionalAttributes(std::forward<AdditionalAttributesT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 DataProductResultItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
72 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
73 template<typename CreatedByT = Aws::String>
74 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
75 template<typename CreatedByT = Aws::String>
76 DataProductResultItem& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 DataProductResultItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDomainId() const { return m_domainId; }
96 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
97 template<typename DomainIdT = Aws::String>
98 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
99 template<typename DomainIdT = Aws::String>
100 DataProductResultItem& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
108 inline bool FirstRevisionCreatedAtHasBeenSet() const { return m_firstRevisionCreatedAtHasBeenSet; }
109 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
110 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value); }
111 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
112 DataProductResultItem& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value)); return *this;}
114
116
119 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
120 inline bool FirstRevisionCreatedByHasBeenSet() const { return m_firstRevisionCreatedByHasBeenSet; }
121 template<typename FirstRevisionCreatedByT = Aws::String>
122 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value); }
123 template<typename FirstRevisionCreatedByT = Aws::String>
124 DataProductResultItem& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value)); return *this;}
126
128
131 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
132 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
133 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
134 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
135 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
136 DataProductResultItem& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
137 template<typename GlossaryTermsT = Aws::String>
138 DataProductResultItem& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
140
142
145 inline const Aws::String& GetId() const { return m_id; }
146 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
147 template<typename IdT = Aws::String>
148 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
149 template<typename IdT = Aws::String>
150 DataProductResultItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
152
154
157 inline const Aws::String& GetName() const { return m_name; }
158 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
159 template<typename NameT = Aws::String>
160 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
161 template<typename NameT = Aws::String>
162 DataProductResultItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
164
166
169 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
170 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
171 template<typename OwningProjectIdT = Aws::String>
172 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
173 template<typename OwningProjectIdT = Aws::String>
174 DataProductResultItem& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
176 private:
177
178 DataProductItemAdditionalAttributes m_additionalAttributes;
179 bool m_additionalAttributesHasBeenSet = false;
180
181 Aws::Utils::DateTime m_createdAt{};
182 bool m_createdAtHasBeenSet = false;
183
184 Aws::String m_createdBy;
185 bool m_createdByHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 Aws::String m_domainId;
191 bool m_domainIdHasBeenSet = false;
192
193 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
194 bool m_firstRevisionCreatedAtHasBeenSet = false;
195
196 Aws::String m_firstRevisionCreatedBy;
197 bool m_firstRevisionCreatedByHasBeenSet = false;
198
199 Aws::Vector<Aws::String> m_glossaryTerms;
200 bool m_glossaryTermsHasBeenSet = false;
201
202 Aws::String m_id;
203 bool m_idHasBeenSet = false;
204
205 Aws::String m_name;
206 bool m_nameHasBeenSet = false;
207
208 Aws::String m_owningProjectId;
209 bool m_owningProjectIdHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace DataZone
214} // namespace Aws
void SetAdditionalAttributes(AdditionalAttributesT &&value)
DataProductResultItem & WithName(NameT &&value)
DataProductResultItem & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
DataProductResultItem & WithDomainId(DomainIdT &&value)
DataProductResultItem & WithId(IdT &&value)
const DataProductItemAdditionalAttributes & GetAdditionalAttributes() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API DataProductResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProductResultItem & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
DataProductResultItem & WithCreatedBy(CreatedByT &&value)
DataProductResultItem & WithGlossaryTerms(GlossaryTermsT &&value)
DataProductResultItem & WithAdditionalAttributes(AdditionalAttributesT &&value)
DataProductResultItem & WithDescription(DescriptionT &&value)
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
AWS_DATAZONE_API DataProductResultItem()=default
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
void SetOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API DataProductResultItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
DataProductResultItem & WithCreatedAt(CreatedAtT &&value)
DataProductResultItem & WithOwningProjectId(OwningProjectIdT &&value)
DataProductResultItem & AddGlossaryTerms(GlossaryTermsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue