AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportSummary.h
1
6#pragma once
7#include <aws/artifact/Artifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/artifact/model/PublishedState.h>
10#include <aws/artifact/model/UploadState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/artifact/model/AcceptanceType.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 ReportSummary();
39 AWS_ARTIFACT_API ReportSummary(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 ReportSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ReportSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ReportSummary& 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 ReportSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline ReportSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline ReportSummary& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const PublishedState& GetState() const{ return m_state; }
77 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
78 inline void SetState(const PublishedState& value) { m_stateHasBeenSet = true; m_state = value; }
79 inline void SetState(PublishedState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
80 inline ReportSummary& WithState(const PublishedState& value) { SetState(value); return *this;}
81 inline ReportSummary& WithState(PublishedState&& value) { SetState(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetArn() const{ return m_arn; }
89 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
90 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
91 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
92 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
93 inline ReportSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
94 inline ReportSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
95 inline ReportSummary& WithArn(const char* value) { SetArn(value); return *this;}
97
99
102 inline long long GetVersion() const{ return m_version; }
103 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
104 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
105 inline ReportSummary& WithVersion(long long value) { SetVersion(value); return *this;}
107
109
112 inline const UploadState& GetUploadState() const{ return m_uploadState; }
113 inline bool UploadStateHasBeenSet() const { return m_uploadStateHasBeenSet; }
114 inline void SetUploadState(const UploadState& value) { m_uploadStateHasBeenSet = true; m_uploadState = value; }
115 inline void SetUploadState(UploadState&& value) { m_uploadStateHasBeenSet = true; m_uploadState = std::move(value); }
116 inline ReportSummary& WithUploadState(const UploadState& value) { SetUploadState(value); return *this;}
117 inline ReportSummary& WithUploadState(UploadState&& value) { SetUploadState(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetDescription() const{ return m_description; }
125 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
127 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
128 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
129 inline ReportSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
130 inline ReportSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
131 inline ReportSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetPeriodStart() const{ return m_periodStart; }
139 inline bool PeriodStartHasBeenSet() const { return m_periodStartHasBeenSet; }
140 inline void SetPeriodStart(const Aws::Utils::DateTime& value) { m_periodStartHasBeenSet = true; m_periodStart = value; }
141 inline void SetPeriodStart(Aws::Utils::DateTime&& value) { m_periodStartHasBeenSet = true; m_periodStart = std::move(value); }
142 inline ReportSummary& WithPeriodStart(const Aws::Utils::DateTime& value) { SetPeriodStart(value); return *this;}
143 inline ReportSummary& WithPeriodStart(Aws::Utils::DateTime&& value) { SetPeriodStart(std::move(value)); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetPeriodEnd() const{ return m_periodEnd; }
151 inline bool PeriodEndHasBeenSet() const { return m_periodEndHasBeenSet; }
152 inline void SetPeriodEnd(const Aws::Utils::DateTime& value) { m_periodEndHasBeenSet = true; m_periodEnd = value; }
153 inline void SetPeriodEnd(Aws::Utils::DateTime&& value) { m_periodEndHasBeenSet = true; m_periodEnd = std::move(value); }
154 inline ReportSummary& WithPeriodEnd(const Aws::Utils::DateTime& value) { SetPeriodEnd(value); return *this;}
155 inline ReportSummary& WithPeriodEnd(Aws::Utils::DateTime&& value) { SetPeriodEnd(std::move(value)); return *this;}
157
159
162 inline const Aws::String& GetSeries() const{ return m_series; }
163 inline bool SeriesHasBeenSet() const { return m_seriesHasBeenSet; }
164 inline void SetSeries(const Aws::String& value) { m_seriesHasBeenSet = true; m_series = value; }
165 inline void SetSeries(Aws::String&& value) { m_seriesHasBeenSet = true; m_series = std::move(value); }
166 inline void SetSeries(const char* value) { m_seriesHasBeenSet = true; m_series.assign(value); }
167 inline ReportSummary& WithSeries(const Aws::String& value) { SetSeries(value); return *this;}
168 inline ReportSummary& WithSeries(Aws::String&& value) { SetSeries(std::move(value)); return *this;}
169 inline ReportSummary& WithSeries(const char* value) { SetSeries(value); return *this;}
171
173
176 inline const Aws::String& GetCategory() const{ return m_category; }
177 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
178 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
179 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
180 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
181 inline ReportSummary& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
182 inline ReportSummary& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
183 inline ReportSummary& WithCategory(const char* value) { SetCategory(value); return *this;}
185
187
190 inline const Aws::String& GetCompanyName() const{ return m_companyName; }
191 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
192 inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
193 inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
194 inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
195 inline ReportSummary& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
196 inline ReportSummary& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
197 inline ReportSummary& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
199
201
204 inline const Aws::String& GetProductName() const{ return m_productName; }
205 inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
206 inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
207 inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
208 inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
209 inline ReportSummary& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
210 inline ReportSummary& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
211 inline ReportSummary& WithProductName(const char* value) { SetProductName(value); return *this;}
213
215
218 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
219 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
220 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
221 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
222 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
223 inline ReportSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
224 inline ReportSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
225 inline ReportSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
227
229
232 inline const AcceptanceType& GetAcceptanceType() const{ return m_acceptanceType; }
233 inline bool AcceptanceTypeHasBeenSet() const { return m_acceptanceTypeHasBeenSet; }
234 inline void SetAcceptanceType(const AcceptanceType& value) { m_acceptanceTypeHasBeenSet = true; m_acceptanceType = value; }
235 inline void SetAcceptanceType(AcceptanceType&& value) { m_acceptanceTypeHasBeenSet = true; m_acceptanceType = std::move(value); }
236 inline ReportSummary& WithAcceptanceType(const AcceptanceType& value) { SetAcceptanceType(value); return *this;}
237 inline ReportSummary& WithAcceptanceType(AcceptanceType&& value) { SetAcceptanceType(std::move(value)); return *this;}
239 private:
240
241 Aws::String m_id;
242 bool m_idHasBeenSet = false;
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 PublishedState m_state;
248 bool m_stateHasBeenSet = false;
249
250 Aws::String m_arn;
251 bool m_arnHasBeenSet = false;
252
253 long long m_version;
254 bool m_versionHasBeenSet = false;
255
256 UploadState m_uploadState;
257 bool m_uploadStateHasBeenSet = false;
258
259 Aws::String m_description;
260 bool m_descriptionHasBeenSet = false;
261
262 Aws::Utils::DateTime m_periodStart;
263 bool m_periodStartHasBeenSet = false;
264
265 Aws::Utils::DateTime m_periodEnd;
266 bool m_periodEndHasBeenSet = false;
267
268 Aws::String m_series;
269 bool m_seriesHasBeenSet = false;
270
271 Aws::String m_category;
272 bool m_categoryHasBeenSet = false;
273
274 Aws::String m_companyName;
275 bool m_companyNameHasBeenSet = false;
276
277 Aws::String m_productName;
278 bool m_productNameHasBeenSet = false;
279
280 Aws::String m_statusMessage;
281 bool m_statusMessageHasBeenSet = false;
282
283 AcceptanceType m_acceptanceType;
284 bool m_acceptanceTypeHasBeenSet = false;
285 };
286
287} // namespace Model
288} // namespace Artifact
289} // namespace Aws
void SetUploadState(UploadState &&value)
const Aws::String & GetSeries() const
const AcceptanceType & GetAcceptanceType() const
AWS_ARTIFACT_API ReportSummary(Aws::Utils::Json::JsonView jsonValue)
ReportSummary & WithProductName(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
void SetAcceptanceType(AcceptanceType &&value)
void SetId(const char *value)
const Aws::Utils::DateTime & GetPeriodStart() const
ReportSummary & WithDescription(Aws::String &&value)
ReportSummary & WithProductName(const Aws::String &value)
AWS_ARTIFACT_API ReportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportSummary & WithStatusMessage(const Aws::String &value)
ReportSummary & WithState(PublishedState &&value)
void SetCategory(Aws::String &&value)
const Aws::Utils::DateTime & GetPeriodEnd() const
ReportSummary & WithId(Aws::String &&value)
ReportSummary & WithName(const char *value)
ReportSummary & WithUploadState(UploadState &&value)
ReportSummary & WithPeriodEnd(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
ReportSummary & WithArn(const char *value)
void SetCategory(const Aws::String &value)
ReportSummary & WithState(const PublishedState &value)
const Aws::String & GetArn() const
AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
ReportSummary & WithDescription(const char *value)
ReportSummary & WithId(const Aws::String &value)
const Aws::String & GetCategory() const
const Aws::String & GetStatusMessage() const
void SetPeriodEnd(Aws::Utils::DateTime &&value)
void SetPeriodStart(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
void SetName(const char *value)
ReportSummary & WithId(const char *value)
ReportSummary & WithStatusMessage(Aws::String &&value)
const PublishedState & GetState() const
ReportSummary & WithSeries(Aws::String &&value)
ReportSummary & WithCompanyName(Aws::String &&value)
ReportSummary & WithSeries(const Aws::String &value)
ReportSummary & WithName(const Aws::String &value)
void SetState(const PublishedState &value)
void SetSeries(const Aws::String &value)
const Aws::String & GetProductName() const
void SetPeriodEnd(const Aws::Utils::DateTime &value)
ReportSummary & WithCompanyName(const Aws::String &value)
ReportSummary & WithCategory(Aws::String &&value)
void SetProductName(const Aws::String &value)
void SetSeries(Aws::String &&value)
void SetStatusMessage(const char *value)
ReportSummary & WithSeries(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const char *value)
void SetUploadState(const UploadState &value)
const Aws::String & GetDescription() const
void SetArn(const Aws::String &value)
ReportSummary & WithPeriodEnd(const Aws::Utils::DateTime &value)
ReportSummary & WithPeriodStart(Aws::Utils::DateTime &&value)
const UploadState & GetUploadState() const
void SetCompanyName(const char *value)
ReportSummary & WithCategory(const Aws::String &value)
void SetArn(Aws::String &&value)
ReportSummary & WithName(Aws::String &&value)
void SetSeries(const char *value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
ReportSummary & WithUploadState(const UploadState &value)
ReportSummary & WithPeriodStart(const Aws::Utils::DateTime &value)
ReportSummary & WithArn(const Aws::String &value)
void SetName(Aws::String &&value)
ReportSummary & WithAcceptanceType(const AcceptanceType &value)
void SetCompanyName(const Aws::String &value)
const Aws::String & GetId() const
void SetId(Aws::String &&value)
ReportSummary & WithStatusMessage(const char *value)
ReportSummary & WithProductName(const char *value)
void SetStatusMessage(Aws::String &&value)
const Aws::String & GetCompanyName() const
ReportSummary & WithDescription(const Aws::String &value)
void SetProductName(Aws::String &&value)
void SetPeriodStart(const Aws::Utils::DateTime &value)
void SetProductName(const char *value)
ReportSummary & WithCategory(const char *value)
void SetAcceptanceType(const AcceptanceType &value)
ReportSummary & WithVersion(long long value)
ReportSummary & WithCompanyName(const char *value)
void SetArn(const char *value)
void SetCategory(const char *value)
ReportSummary & WithArn(Aws::String &&value)
void SetState(PublishedState &&value)
void SetCompanyName(Aws::String &&value)
ReportSummary & WithAcceptanceType(AcceptanceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue