AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 ReportDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 ReportDetail& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 ReportDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetPeriodStart() const { return m_periodStart; }
85 inline bool PeriodStartHasBeenSet() const { return m_periodStartHasBeenSet; }
86 template<typename PeriodStartT = Aws::Utils::DateTime>
87 void SetPeriodStart(PeriodStartT&& value) { m_periodStartHasBeenSet = true; m_periodStart = std::forward<PeriodStartT>(value); }
88 template<typename PeriodStartT = Aws::Utils::DateTime>
89 ReportDetail& WithPeriodStart(PeriodStartT&& value) { SetPeriodStart(std::forward<PeriodStartT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetPeriodEnd() const { return m_periodEnd; }
97 inline bool PeriodEndHasBeenSet() const { return m_periodEndHasBeenSet; }
98 template<typename PeriodEndT = Aws::Utils::DateTime>
99 void SetPeriodEnd(PeriodEndT&& value) { m_periodEndHasBeenSet = true; m_periodEnd = std::forward<PeriodEndT>(value); }
100 template<typename PeriodEndT = Aws::Utils::DateTime>
101 ReportDetail& WithPeriodEnd(PeriodEndT&& value) { SetPeriodEnd(std::forward<PeriodEndT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
109 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
110 template<typename CreatedAtT = Aws::Utils::DateTime>
111 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
112 template<typename CreatedAtT = Aws::Utils::DateTime>
113 ReportDetail& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
121 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
122 template<typename LastModifiedAtT = Aws::Utils::DateTime>
123 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
124 template<typename LastModifiedAtT = Aws::Utils::DateTime>
125 ReportDetail& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetDeletedAt() const { return m_deletedAt; }
133 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
134 template<typename DeletedAtT = Aws::Utils::DateTime>
135 void SetDeletedAt(DeletedAtT&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::forward<DeletedAtT>(value); }
136 template<typename DeletedAtT = Aws::Utils::DateTime>
137 ReportDetail& WithDeletedAt(DeletedAtT&& value) { SetDeletedAt(std::forward<DeletedAtT>(value)); return *this;}
139
141
144 inline PublishedState GetState() const { return m_state; }
145 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
146 inline void SetState(PublishedState value) { m_stateHasBeenSet = true; m_state = value; }
147 inline ReportDetail& WithState(PublishedState value) { SetState(value); return *this;}
149
151
154 inline const Aws::String& GetArn() const { return m_arn; }
155 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
156 template<typename ArnT = Aws::String>
157 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
158 template<typename ArnT = Aws::String>
159 ReportDetail& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
161
163
166 inline const Aws::String& GetSeries() const { return m_series; }
167 inline bool SeriesHasBeenSet() const { return m_seriesHasBeenSet; }
168 template<typename SeriesT = Aws::String>
169 void SetSeries(SeriesT&& value) { m_seriesHasBeenSet = true; m_series = std::forward<SeriesT>(value); }
170 template<typename SeriesT = Aws::String>
171 ReportDetail& WithSeries(SeriesT&& value) { SetSeries(std::forward<SeriesT>(value)); return *this;}
173
175
178 inline const Aws::String& GetCategory() const { return m_category; }
179 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
180 template<typename CategoryT = Aws::String>
181 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
182 template<typename CategoryT = Aws::String>
183 ReportDetail& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
185
187
190 inline const Aws::String& GetCompanyName() const { return m_companyName; }
191 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
192 template<typename CompanyNameT = Aws::String>
193 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
194 template<typename CompanyNameT = Aws::String>
195 ReportDetail& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
197
199
202 inline const Aws::String& GetProductName() const { return m_productName; }
203 inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
204 template<typename ProductNameT = Aws::String>
205 void SetProductName(ProductNameT&& value) { m_productNameHasBeenSet = true; m_productName = std::forward<ProductNameT>(value); }
206 template<typename ProductNameT = Aws::String>
207 ReportDetail& WithProductName(ProductNameT&& value) { SetProductName(std::forward<ProductNameT>(value)); return *this;}
209
211
214 inline const Aws::String& GetTermArn() const { return m_termArn; }
215 inline bool TermArnHasBeenSet() const { return m_termArnHasBeenSet; }
216 template<typename TermArnT = Aws::String>
217 void SetTermArn(TermArnT&& value) { m_termArnHasBeenSet = true; m_termArn = std::forward<TermArnT>(value); }
218 template<typename TermArnT = Aws::String>
219 ReportDetail& WithTermArn(TermArnT&& value) { SetTermArn(std::forward<TermArnT>(value)); return *this;}
221
223
226 inline long long GetVersion() const { return m_version; }
227 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
228 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
229 inline ReportDetail& WithVersion(long long value) { SetVersion(value); return *this;}
231
233
236 inline AcceptanceType GetAcceptanceType() const { return m_acceptanceType; }
237 inline bool AcceptanceTypeHasBeenSet() const { return m_acceptanceTypeHasBeenSet; }
238 inline void SetAcceptanceType(AcceptanceType value) { m_acceptanceTypeHasBeenSet = true; m_acceptanceType = value; }
239 inline ReportDetail& WithAcceptanceType(AcceptanceType value) { SetAcceptanceType(value); return *this;}
241
243
246 inline long long GetSequenceNumber() const { return m_sequenceNumber; }
247 inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
248 inline void SetSequenceNumber(long long value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
249 inline ReportDetail& WithSequenceNumber(long long value) { SetSequenceNumber(value); return *this;}
251
253
256 inline UploadState GetUploadState() const { return m_uploadState; }
257 inline bool UploadStateHasBeenSet() const { return m_uploadStateHasBeenSet; }
258 inline void SetUploadState(UploadState value) { m_uploadStateHasBeenSet = true; m_uploadState = value; }
259 inline ReportDetail& WithUploadState(UploadState value) { SetUploadState(value); return *this;}
261
263
266 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
267 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
268 template<typename StatusMessageT = Aws::String>
269 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
270 template<typename StatusMessageT = Aws::String>
271 ReportDetail& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
273 private:
274
275 Aws::String m_id;
276 bool m_idHasBeenSet = false;
277
278 Aws::String m_name;
279 bool m_nameHasBeenSet = false;
280
281 Aws::String m_description;
282 bool m_descriptionHasBeenSet = false;
283
284 Aws::Utils::DateTime m_periodStart{};
285 bool m_periodStartHasBeenSet = false;
286
287 Aws::Utils::DateTime m_periodEnd{};
288 bool m_periodEndHasBeenSet = false;
289
290 Aws::Utils::DateTime m_createdAt{};
291 bool m_createdAtHasBeenSet = false;
292
293 Aws::Utils::DateTime m_lastModifiedAt{};
294 bool m_lastModifiedAtHasBeenSet = false;
295
296 Aws::Utils::DateTime m_deletedAt{};
297 bool m_deletedAtHasBeenSet = false;
298
300 bool m_stateHasBeenSet = false;
301
302 Aws::String m_arn;
303 bool m_arnHasBeenSet = false;
304
305 Aws::String m_series;
306 bool m_seriesHasBeenSet = false;
307
308 Aws::String m_category;
309 bool m_categoryHasBeenSet = false;
310
311 Aws::String m_companyName;
312 bool m_companyNameHasBeenSet = false;
313
314 Aws::String m_productName;
315 bool m_productNameHasBeenSet = false;
316
317 Aws::String m_termArn;
318 bool m_termArnHasBeenSet = false;
319
320 long long m_version{0};
321 bool m_versionHasBeenSet = false;
322
323 AcceptanceType m_acceptanceType{AcceptanceType::NOT_SET};
324 bool m_acceptanceTypeHasBeenSet = false;
325
326 long long m_sequenceNumber{0};
327 bool m_sequenceNumberHasBeenSet = false;
328
329 UploadState m_uploadState{UploadState::NOT_SET};
330 bool m_uploadStateHasBeenSet = false;
331
332 Aws::String m_statusMessage;
333 bool m_statusMessageHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace Artifact
338} // namespace Aws
void SetSeries(SeriesT &&value)
void SetDeletedAt(DeletedAtT &&value)
void SetPeriodEnd(PeriodEndT &&value)
void SetAcceptanceType(AcceptanceType value)
const Aws::String & GetSeries() const
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
ReportDetail & WithVersion(long long value)
ReportDetail & WithProductName(ProductNameT &&value)
void SetSequenceNumber(long long value)
void SetVersion(long long value)
AWS_ARTIFACT_API ReportDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPeriodEnd() const
void SetCategory(CategoryT &&value)
ReportDetail & WithCompanyName(CompanyNameT &&value)
ReportDetail & WithCreatedAt(CreatedAtT &&value)
ReportDetail & WithSequenceNumber(long long value)
PublishedState GetState() const
void SetUploadState(UploadState value)
ReportDetail & WithCategory(CategoryT &&value)
ReportDetail & WithAcceptanceType(AcceptanceType value)
const Aws::String & GetTermArn() const
void SetStatusMessage(StatusMessageT &&value)
AcceptanceType GetAcceptanceType() const
const Aws::String & GetDescription() const
AWS_ARTIFACT_API ReportDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPeriodStart() const
void SetCompanyName(CompanyNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ReportDetail & WithDescription(DescriptionT &&value)
ReportDetail & WithSeries(SeriesT &&value)
ReportDetail & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetCategory() const
void SetLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetProductName() const
ReportDetail & WithUploadState(UploadState value)
AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
ReportDetail & WithLastModifiedAt(LastModifiedAtT &&value)
ReportDetail & WithId(IdT &&value)
const Aws::Utils::DateTime & GetDeletedAt() const
void SetProductName(ProductNameT &&value)
ReportDetail & WithTermArn(TermArnT &&value)
const Aws::String & GetName() const
AWS_ARTIFACT_API ReportDetail()=default
void SetState(PublishedState value)
ReportDetail & WithPeriodEnd(PeriodEndT &&value)
void SetDescription(DescriptionT &&value)
ReportDetail & WithArn(ArnT &&value)
const Aws::String & GetCompanyName() const
void SetCreatedAt(CreatedAtT &&value)
ReportDetail & WithPeriodStart(PeriodStartT &&value)
void SetTermArn(TermArnT &&value)
ReportDetail & WithName(NameT &&value)
const Aws::String & GetStatusMessage() const
void SetPeriodStart(PeriodStartT &&value)
ReportDetail & WithState(PublishedState value)
const Aws::String & GetId() const
ReportDetail & WithDeletedAt(DeletedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue