AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataProductResultItem.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/core/utils/memory/stl/AWSVector.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 DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API DataProductResultItem();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline DataProductResultItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline DataProductResultItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
59 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
60 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
61 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
62 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
63 inline DataProductResultItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
64 inline DataProductResultItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
65 inline DataProductResultItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline DataProductResultItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline DataProductResultItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline DataProductResultItem& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::String& GetDomainId() const{ return m_domainId; }
87 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
88 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
89 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
90 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
91 inline DataProductResultItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
92 inline DataProductResultItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
93 inline DataProductResultItem& WithDomainId(const char* value) { SetDomainId(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
101 inline bool FirstRevisionCreatedAtHasBeenSet() const { return m_firstRevisionCreatedAtHasBeenSet; }
102 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = value; }
103 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::move(value); }
107
109
112 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
113 inline bool FirstRevisionCreatedByHasBeenSet() const { return m_firstRevisionCreatedByHasBeenSet; }
114 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = value; }
115 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::move(value); }
116 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy.assign(value); }
119 inline DataProductResultItem& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
121
123
126 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
127 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
128 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
129 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
131 inline DataProductResultItem& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
132 inline DataProductResultItem& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
133 inline DataProductResultItem& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
134 inline DataProductResultItem& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
136
138
141 inline const Aws::String& GetId() const{ return m_id; }
142 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
143 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
144 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
145 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
146 inline DataProductResultItem& WithId(const Aws::String& value) { SetId(value); return *this;}
147 inline DataProductResultItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
148 inline DataProductResultItem& WithId(const char* value) { SetId(value); return *this;}
150
152
155 inline const Aws::String& GetName() const{ return m_name; }
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
158 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
159 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
160 inline DataProductResultItem& WithName(const Aws::String& value) { SetName(value); return *this;}
161 inline DataProductResultItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
162 inline DataProductResultItem& WithName(const char* value) { SetName(value); return *this;}
164
166
169 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
170 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
171 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
172 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
173 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
174 inline DataProductResultItem& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
175 inline DataProductResultItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
176 inline DataProductResultItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
178 private:
179
180 Aws::Utils::DateTime m_createdAt;
181 bool m_createdAtHasBeenSet = false;
182
183 Aws::String m_createdBy;
184 bool m_createdByHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_domainId;
190 bool m_domainIdHasBeenSet = false;
191
192 Aws::Utils::DateTime m_firstRevisionCreatedAt;
193 bool m_firstRevisionCreatedAtHasBeenSet = false;
194
195 Aws::String m_firstRevisionCreatedBy;
196 bool m_firstRevisionCreatedByHasBeenSet = false;
197
198 Aws::Vector<Aws::String> m_glossaryTerms;
199 bool m_glossaryTermsHasBeenSet = false;
200
201 Aws::String m_id;
202 bool m_idHasBeenSet = false;
203
204 Aws::String m_name;
205 bool m_nameHasBeenSet = false;
206
207 Aws::String m_owningProjectId;
208 bool m_owningProjectIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace DataZone
213} // namespace Aws
DataProductResultItem & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
DataProductResultItem & WithName(const Aws::String &value)
DataProductResultItem & WithCreatedBy(const Aws::String &value)
void SetOwningProjectId(const Aws::String &value)
DataProductResultItem & WithFirstRevisionCreatedBy(Aws::String &&value)
DataProductResultItem & WithDomainId(const char *value)
DataProductResultItem & WithId(const Aws::String &value)
DataProductResultItem & WithOwningProjectId(const Aws::String &value)
DataProductResultItem & WithDomainId(const Aws::String &value)
DataProductResultItem & WithName(const char *value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API DataProductResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProductResultItem & WithOwningProjectId(Aws::String &&value)
DataProductResultItem & WithCreatedBy(Aws::String &&value)
DataProductResultItem & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataProductResultItem & WithId(Aws::String &&value)
DataProductResultItem & WithCreatedAt(const Aws::Utils::DateTime &value)
DataProductResultItem & WithId(const char *value)
DataProductResultItem & WithOwningProjectId(const char *value)
DataProductResultItem & AddGlossaryTerms(const char *value)
DataProductResultItem & AddGlossaryTerms(const Aws::String &value)
void SetFirstRevisionCreatedBy(const Aws::String &value)
DataProductResultItem & WithCreatedBy(const char *value)
DataProductResultItem & WithDescription(Aws::String &&value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
DataProductResultItem & WithDescription(const char *value)
DataProductResultItem & WithDomainId(Aws::String &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DataProductResultItem & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
DataProductResultItem & WithCreatedAt(Aws::Utils::DateTime &&value)
DataProductResultItem & WithFirstRevisionCreatedBy(const char *value)
DataProductResultItem & AddGlossaryTerms(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
DataProductResultItem & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
DataProductResultItem & WithName(Aws::String &&value)
AWS_DATAZONE_API DataProductResultItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
DataProductResultItem & WithFirstRevisionCreatedBy(const Aws::String &value)
DataProductResultItem & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &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