AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportDetail.h
1
6#pragma once
7#include <aws/artifact/Artifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/artifact/model/PublishedState.h>
11#include <aws/artifact/model/AcceptanceType.h>
12#include <aws/artifact/model/UploadState.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 Artifact
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_ARTIFACT_API ReportDetail();
39 AWS_ARTIFACT_API ReportDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ReportDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ReportDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ReportDetail& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline ReportDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline ReportDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline ReportDetail& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline ReportDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline ReportDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline ReportDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetPeriodStart() const{ return m_periodStart; }
91 inline bool PeriodStartHasBeenSet() const { return m_periodStartHasBeenSet; }
92 inline void SetPeriodStart(const Aws::Utils::DateTime& value) { m_periodStartHasBeenSet = true; m_periodStart = value; }
93 inline void SetPeriodStart(Aws::Utils::DateTime&& value) { m_periodStartHasBeenSet = true; m_periodStart = std::move(value); }
94 inline ReportDetail& WithPeriodStart(const Aws::Utils::DateTime& value) { SetPeriodStart(value); return *this;}
95 inline ReportDetail& WithPeriodStart(Aws::Utils::DateTime&& value) { SetPeriodStart(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetPeriodEnd() const{ return m_periodEnd; }
103 inline bool PeriodEndHasBeenSet() const { return m_periodEndHasBeenSet; }
104 inline void SetPeriodEnd(const Aws::Utils::DateTime& value) { m_periodEndHasBeenSet = true; m_periodEnd = value; }
105 inline void SetPeriodEnd(Aws::Utils::DateTime&& value) { m_periodEndHasBeenSet = true; m_periodEnd = std::move(value); }
106 inline ReportDetail& WithPeriodEnd(const Aws::Utils::DateTime& value) { SetPeriodEnd(value); return *this;}
107 inline ReportDetail& WithPeriodEnd(Aws::Utils::DateTime&& value) { SetPeriodEnd(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
117 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
118 inline ReportDetail& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
119 inline ReportDetail& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
127 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
128 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
129 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
130 inline ReportDetail& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;}
131 inline ReportDetail& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; }
139 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
140 inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; }
141 inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); }
142 inline ReportDetail& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;}
143 inline ReportDetail& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;}
145
147
150 inline const PublishedState& GetState() const{ return m_state; }
151 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
152 inline void SetState(const PublishedState& value) { m_stateHasBeenSet = true; m_state = value; }
153 inline void SetState(PublishedState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
154 inline ReportDetail& WithState(const PublishedState& value) { SetState(value); return *this;}
155 inline ReportDetail& WithState(PublishedState&& value) { SetState(std::move(value)); return *this;}
157
159
162 inline const Aws::String& GetArn() const{ return m_arn; }
163 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
164 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
165 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
166 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
167 inline ReportDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
168 inline ReportDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
169 inline ReportDetail& WithArn(const char* value) { SetArn(value); return *this;}
171
173
176 inline const Aws::String& GetSeries() const{ return m_series; }
177 inline bool SeriesHasBeenSet() const { return m_seriesHasBeenSet; }
178 inline void SetSeries(const Aws::String& value) { m_seriesHasBeenSet = true; m_series = value; }
179 inline void SetSeries(Aws::String&& value) { m_seriesHasBeenSet = true; m_series = std::move(value); }
180 inline void SetSeries(const char* value) { m_seriesHasBeenSet = true; m_series.assign(value); }
181 inline ReportDetail& WithSeries(const Aws::String& value) { SetSeries(value); return *this;}
182 inline ReportDetail& WithSeries(Aws::String&& value) { SetSeries(std::move(value)); return *this;}
183 inline ReportDetail& WithSeries(const char* value) { SetSeries(value); return *this;}
185
187
190 inline const Aws::String& GetCategory() const{ return m_category; }
191 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
192 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
193 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
194 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
195 inline ReportDetail& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
196 inline ReportDetail& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
197 inline ReportDetail& WithCategory(const char* value) { SetCategory(value); return *this;}
199
201
204 inline const Aws::String& GetCompanyName() const{ return m_companyName; }
205 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
206 inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
207 inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
208 inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
209 inline ReportDetail& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
210 inline ReportDetail& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
211 inline ReportDetail& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
213
215
218 inline const Aws::String& GetProductName() const{ return m_productName; }
219 inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
220 inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
221 inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
222 inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
223 inline ReportDetail& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
224 inline ReportDetail& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
225 inline ReportDetail& WithProductName(const char* value) { SetProductName(value); return *this;}
227
229
232 inline const Aws::String& GetTermArn() const{ return m_termArn; }
233 inline bool TermArnHasBeenSet() const { return m_termArnHasBeenSet; }
234 inline void SetTermArn(const Aws::String& value) { m_termArnHasBeenSet = true; m_termArn = value; }
235 inline void SetTermArn(Aws::String&& value) { m_termArnHasBeenSet = true; m_termArn = std::move(value); }
236 inline void SetTermArn(const char* value) { m_termArnHasBeenSet = true; m_termArn.assign(value); }
237 inline ReportDetail& WithTermArn(const Aws::String& value) { SetTermArn(value); return *this;}
238 inline ReportDetail& WithTermArn(Aws::String&& value) { SetTermArn(std::move(value)); return *this;}
239 inline ReportDetail& WithTermArn(const char* value) { SetTermArn(value); return *this;}
241
243
246 inline long long GetVersion() const{ return m_version; }
247 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
248 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
249 inline ReportDetail& WithVersion(long long value) { SetVersion(value); return *this;}
251
253
256 inline const AcceptanceType& GetAcceptanceType() const{ return m_acceptanceType; }
257 inline bool AcceptanceTypeHasBeenSet() const { return m_acceptanceTypeHasBeenSet; }
258 inline void SetAcceptanceType(const AcceptanceType& value) { m_acceptanceTypeHasBeenSet = true; m_acceptanceType = value; }
259 inline void SetAcceptanceType(AcceptanceType&& value) { m_acceptanceTypeHasBeenSet = true; m_acceptanceType = std::move(value); }
260 inline ReportDetail& WithAcceptanceType(const AcceptanceType& value) { SetAcceptanceType(value); return *this;}
261 inline ReportDetail& WithAcceptanceType(AcceptanceType&& value) { SetAcceptanceType(std::move(value)); return *this;}
263
265
268 inline long long GetSequenceNumber() const{ return m_sequenceNumber; }
269 inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
270 inline void SetSequenceNumber(long long value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
271 inline ReportDetail& WithSequenceNumber(long long value) { SetSequenceNumber(value); return *this;}
273
275
278 inline const UploadState& GetUploadState() const{ return m_uploadState; }
279 inline bool UploadStateHasBeenSet() const { return m_uploadStateHasBeenSet; }
280 inline void SetUploadState(const UploadState& value) { m_uploadStateHasBeenSet = true; m_uploadState = value; }
281 inline void SetUploadState(UploadState&& value) { m_uploadStateHasBeenSet = true; m_uploadState = std::move(value); }
282 inline ReportDetail& WithUploadState(const UploadState& value) { SetUploadState(value); return *this;}
283 inline ReportDetail& WithUploadState(UploadState&& value) { SetUploadState(std::move(value)); return *this;}
285
287
290 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
291 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
292 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
293 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
294 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
295 inline ReportDetail& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
296 inline ReportDetail& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
297 inline ReportDetail& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
299 private:
300
301 Aws::String m_id;
302 bool m_idHasBeenSet = false;
303
304 Aws::String m_name;
305 bool m_nameHasBeenSet = false;
306
307 Aws::String m_description;
308 bool m_descriptionHasBeenSet = false;
309
310 Aws::Utils::DateTime m_periodStart;
311 bool m_periodStartHasBeenSet = false;
312
313 Aws::Utils::DateTime m_periodEnd;
314 bool m_periodEndHasBeenSet = false;
315
316 Aws::Utils::DateTime m_createdAt;
317 bool m_createdAtHasBeenSet = false;
318
319 Aws::Utils::DateTime m_lastModifiedAt;
320 bool m_lastModifiedAtHasBeenSet = false;
321
322 Aws::Utils::DateTime m_deletedAt;
323 bool m_deletedAtHasBeenSet = false;
324
325 PublishedState m_state;
326 bool m_stateHasBeenSet = false;
327
328 Aws::String m_arn;
329 bool m_arnHasBeenSet = false;
330
331 Aws::String m_series;
332 bool m_seriesHasBeenSet = false;
333
334 Aws::String m_category;
335 bool m_categoryHasBeenSet = false;
336
337 Aws::String m_companyName;
338 bool m_companyNameHasBeenSet = false;
339
340 Aws::String m_productName;
341 bool m_productNameHasBeenSet = false;
342
343 Aws::String m_termArn;
344 bool m_termArnHasBeenSet = false;
345
346 long long m_version;
347 bool m_versionHasBeenSet = false;
348
349 AcceptanceType m_acceptanceType;
350 bool m_acceptanceTypeHasBeenSet = false;
351
352 long long m_sequenceNumber;
353 bool m_sequenceNumberHasBeenSet = false;
354
355 UploadState m_uploadState;
356 bool m_uploadStateHasBeenSet = false;
357
358 Aws::String m_statusMessage;
359 bool m_statusMessageHasBeenSet = false;
360 };
361
362} // namespace Model
363} // namespace Artifact
364} // namespace Aws
void SetName(const char *value)
void SetCompanyName(const char *value)
ReportDetail & WithCompanyName(Aws::String &&value)
ReportDetail & WithDeletedAt(Aws::Utils::DateTime &&value)
void SetUploadState(const UploadState &value)
void SetId(const char *value)
const Aws::String & GetSeries() const
ReportDetail & WithCategory(Aws::String &&value)
ReportDetail & WithCompanyName(const char *value)
void SetTermArn(Aws::String &&value)
const Aws::String & GetArn() const
ReportDetail & WithArn(Aws::String &&value)
ReportDetail & WithName(const Aws::String &value)
ReportDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
ReportDetail & WithId(const char *value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
ReportDetail & WithVersion(long long value)
void SetCompanyName(const Aws::String &value)
ReportDetail & WithPeriodEnd(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
const UploadState & GetUploadState() const
void SetSequenceNumber(long long value)
ReportDetail & WithStatusMessage(Aws::String &&value)
void SetVersion(long long value)
AWS_ARTIFACT_API ReportDetail(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
void SetSeries(const Aws::String &value)
ReportDetail & WithDescription(const char *value)
void SetTermArn(const char *value)
void SetCompanyName(Aws::String &&value)
ReportDetail & WithCompanyName(const Aws::String &value)
const PublishedState & GetState() const
ReportDetail & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetPeriodEnd() const
ReportDetail & WithState(const PublishedState &value)
ReportDetail & WithAcceptanceType(const AcceptanceType &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ReportDetail & WithSequenceNumber(long long value)
void SetSeries(const char *value)
void SetCategory(Aws::String &&value)
ReportDetail & WithTermArn(const char *value)
void SetState(PublishedState &&value)
void SetName(Aws::String &&value)
const Aws::String & GetTermArn() const
void SetId(Aws::String &&value)
ReportDetail & WithId(Aws::String &&value)
ReportDetail & WithTermArn(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDeletedAt(const Aws::Utils::DateTime &value)
ReportDetail & WithProductName(Aws::String &&value)
AWS_ARTIFACT_API ReportDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPeriodStart() const
void SetPeriodEnd(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ReportDetail & WithTermArn(const Aws::String &value)
ReportDetail & WithName(Aws::String &&value)
ReportDetail & WithSeries(const Aws::String &value)
const Aws::String & GetCategory() const
ReportDetail & WithName(const char *value)
void SetPeriodEnd(const Aws::Utils::DateTime &value)
void SetState(const PublishedState &value)
ReportDetail & WithCategory(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
const Aws::String & GetProductName() const
ReportDetail & WithSeries(const char *value)
void SetDescription(const char *value)
void SetAcceptanceType(const AcceptanceType &value)
void SetUploadState(UploadState &&value)
void SetProductName(const char *value)
AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
ReportDetail & WithCategory(const char *value)
ReportDetail & WithAcceptanceType(AcceptanceType &&value)
const Aws::Utils::DateTime & GetDeletedAt() const
void SetTermArn(const Aws::String &value)
void SetPeriodStart(Aws::Utils::DateTime &&value)
void SetStatusMessage(Aws::String &&value)
ReportDetail & WithSeries(Aws::String &&value)
ReportDetail & WithDeletedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
ReportDetail & WithStatusMessage(const char *value)
void SetDescription(const Aws::String &value)
void SetArn(const Aws::String &value)
ReportDetail & WithUploadState(UploadState &&value)
ReportDetail & WithLastModifiedAt(const Aws::Utils::DateTime &value)
ReportDetail & WithId(const Aws::String &value)
void SetAcceptanceType(AcceptanceType &&value)
ReportDetail & WithProductName(const Aws::String &value)
ReportDetail & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
const Aws::String & GetCompanyName() const
void SetCategory(const char *value)
ReportDetail & WithProductName(const char *value)
void SetArn(Aws::String &&value)
void SetDeletedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ReportDetail & WithUploadState(const UploadState &value)
void SetProductName(const Aws::String &value)
ReportDetail & WithDescription(const Aws::String &value)
ReportDetail & WithPeriodEnd(const Aws::Utils::DateTime &value)
ReportDetail & WithPeriodStart(const Aws::Utils::DateTime &value)
void SetPeriodStart(const Aws::Utils::DateTime &value)
ReportDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
ReportDetail & WithStatusMessage(const Aws::String &value)
void SetStatusMessage(const char *value)
void SetCategory(const Aws::String &value)
const Aws::String & GetStatusMessage() const
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ReportDetail & WithArn(const char *value)
void SetArn(const char *value)
const Aws::String & GetId() const
ReportDetail & WithArn(const Aws::String &value)
const AcceptanceType & GetAcceptanceType() const
ReportDetail & WithState(PublishedState &&value)
void SetProductName(Aws::String &&value)
ReportDetail & WithPeriodStart(Aws::Utils::DateTime &&value)
void SetSeries(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue