AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportGenerator.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/license-manager/model/ReportContext.h>
11#include <aws/license-manager/model/ReportFrequency.h>
12#include <aws/license-manager/model/S3Location.h>
13#include <aws/license-manager/model/ReportType.h>
14#include <aws/license-manager/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace LicenseManager
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_LICENSEMANAGER_API ReportGenerator();
41 AWS_LICENSEMANAGER_API ReportGenerator(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LICENSEMANAGER_API ReportGenerator& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetReportGeneratorName() const{ return m_reportGeneratorName; }
51 inline bool ReportGeneratorNameHasBeenSet() const { return m_reportGeneratorNameHasBeenSet; }
52 inline void SetReportGeneratorName(const Aws::String& value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName = value; }
53 inline void SetReportGeneratorName(Aws::String&& value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName = std::move(value); }
54 inline void SetReportGeneratorName(const char* value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName.assign(value); }
55 inline ReportGenerator& WithReportGeneratorName(const Aws::String& value) { SetReportGeneratorName(value); return *this;}
56 inline ReportGenerator& WithReportGeneratorName(Aws::String&& value) { SetReportGeneratorName(std::move(value)); return *this;}
57 inline ReportGenerator& WithReportGeneratorName(const char* value) { SetReportGeneratorName(value); return *this;}
59
61
64 inline const Aws::Vector<ReportType>& GetReportType() const{ return m_reportType; }
65 inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; }
66 inline void SetReportType(const Aws::Vector<ReportType>& value) { m_reportTypeHasBeenSet = true; m_reportType = value; }
67 inline void SetReportType(Aws::Vector<ReportType>&& value) { m_reportTypeHasBeenSet = true; m_reportType = std::move(value); }
68 inline ReportGenerator& WithReportType(const Aws::Vector<ReportType>& value) { SetReportType(value); return *this;}
69 inline ReportGenerator& WithReportType(Aws::Vector<ReportType>&& value) { SetReportType(std::move(value)); return *this;}
70 inline ReportGenerator& AddReportType(const ReportType& value) { m_reportTypeHasBeenSet = true; m_reportType.push_back(value); return *this; }
71 inline ReportGenerator& AddReportType(ReportType&& value) { m_reportTypeHasBeenSet = true; m_reportType.push_back(std::move(value)); return *this; }
73
75
78 inline const ReportContext& GetReportContext() const{ return m_reportContext; }
79 inline bool ReportContextHasBeenSet() const { return m_reportContextHasBeenSet; }
80 inline void SetReportContext(const ReportContext& value) { m_reportContextHasBeenSet = true; m_reportContext = value; }
81 inline void SetReportContext(ReportContext&& value) { m_reportContextHasBeenSet = true; m_reportContext = std::move(value); }
82 inline ReportGenerator& WithReportContext(const ReportContext& value) { SetReportContext(value); return *this;}
83 inline ReportGenerator& WithReportContext(ReportContext&& value) { SetReportContext(std::move(value)); return *this;}
85
87
90 inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; }
91 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
92 inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
93 inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); }
94 inline ReportGenerator& WithReportFrequency(const ReportFrequency& value) { SetReportFrequency(value); return *this;}
95 inline ReportGenerator& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetLicenseManagerReportGeneratorArn() const{ return m_licenseManagerReportGeneratorArn; }
103 inline bool LicenseManagerReportGeneratorArnHasBeenSet() const { return m_licenseManagerReportGeneratorArnHasBeenSet; }
104 inline void SetLicenseManagerReportGeneratorArn(const Aws::String& value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn = value; }
105 inline void SetLicenseManagerReportGeneratorArn(Aws::String&& value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn = std::move(value); }
106 inline void SetLicenseManagerReportGeneratorArn(const char* value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn.assign(value); }
111
113
116 inline const Aws::String& GetLastRunStatus() const{ return m_lastRunStatus; }
117 inline bool LastRunStatusHasBeenSet() const { return m_lastRunStatusHasBeenSet; }
118 inline void SetLastRunStatus(const Aws::String& value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus = value; }
119 inline void SetLastRunStatus(Aws::String&& value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus = std::move(value); }
120 inline void SetLastRunStatus(const char* value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus.assign(value); }
121 inline ReportGenerator& WithLastRunStatus(const Aws::String& value) { SetLastRunStatus(value); return *this;}
122 inline ReportGenerator& WithLastRunStatus(Aws::String&& value) { SetLastRunStatus(std::move(value)); return *this;}
123 inline ReportGenerator& WithLastRunStatus(const char* value) { SetLastRunStatus(value); return *this;}
125
127
130 inline const Aws::String& GetLastRunFailureReason() const{ return m_lastRunFailureReason; }
131 inline bool LastRunFailureReasonHasBeenSet() const { return m_lastRunFailureReasonHasBeenSet; }
132 inline void SetLastRunFailureReason(const Aws::String& value) { m_lastRunFailureReasonHasBeenSet = true; m_lastRunFailureReason = value; }
133 inline void SetLastRunFailureReason(Aws::String&& value) { m_lastRunFailureReasonHasBeenSet = true; m_lastRunFailureReason = std::move(value); }
134 inline void SetLastRunFailureReason(const char* value) { m_lastRunFailureReasonHasBeenSet = true; m_lastRunFailureReason.assign(value); }
136 inline ReportGenerator& WithLastRunFailureReason(Aws::String&& value) { SetLastRunFailureReason(std::move(value)); return *this;}
137 inline ReportGenerator& WithLastRunFailureReason(const char* value) { SetLastRunFailureReason(value); return *this;}
139
141
144 inline const Aws::String& GetLastReportGenerationTime() const{ return m_lastReportGenerationTime; }
145 inline bool LastReportGenerationTimeHasBeenSet() const { return m_lastReportGenerationTimeHasBeenSet; }
146 inline void SetLastReportGenerationTime(const Aws::String& value) { m_lastReportGenerationTimeHasBeenSet = true; m_lastReportGenerationTime = value; }
147 inline void SetLastReportGenerationTime(Aws::String&& value) { m_lastReportGenerationTimeHasBeenSet = true; m_lastReportGenerationTime = std::move(value); }
148 inline void SetLastReportGenerationTime(const char* value) { m_lastReportGenerationTimeHasBeenSet = true; m_lastReportGenerationTime.assign(value); }
150 inline ReportGenerator& WithLastReportGenerationTime(Aws::String&& value) { SetLastReportGenerationTime(std::move(value)); return *this;}
151 inline ReportGenerator& WithLastReportGenerationTime(const char* value) { SetLastReportGenerationTime(value); return *this;}
153
155
158 inline const Aws::String& GetReportCreatorAccount() const{ return m_reportCreatorAccount; }
159 inline bool ReportCreatorAccountHasBeenSet() const { return m_reportCreatorAccountHasBeenSet; }
160 inline void SetReportCreatorAccount(const Aws::String& value) { m_reportCreatorAccountHasBeenSet = true; m_reportCreatorAccount = value; }
161 inline void SetReportCreatorAccount(Aws::String&& value) { m_reportCreatorAccountHasBeenSet = true; m_reportCreatorAccount = std::move(value); }
162 inline void SetReportCreatorAccount(const char* value) { m_reportCreatorAccountHasBeenSet = true; m_reportCreatorAccount.assign(value); }
164 inline ReportGenerator& WithReportCreatorAccount(Aws::String&& value) { SetReportCreatorAccount(std::move(value)); return *this;}
165 inline ReportGenerator& WithReportCreatorAccount(const char* value) { SetReportCreatorAccount(value); return *this;}
167
169
172 inline const Aws::String& GetDescription() const{ return m_description; }
173 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
174 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
175 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
176 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
177 inline ReportGenerator& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
178 inline ReportGenerator& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
179 inline ReportGenerator& WithDescription(const char* value) { SetDescription(value); return *this;}
181
183
186 inline const S3Location& GetS3Location() const{ return m_s3Location; }
187 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
188 inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
189 inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
190 inline ReportGenerator& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
191 inline ReportGenerator& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
193
195
198 inline const Aws::String& GetCreateTime() const{ return m_createTime; }
199 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
200 inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
201 inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
202 inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); }
203 inline ReportGenerator& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;}
204 inline ReportGenerator& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;}
205 inline ReportGenerator& WithCreateTime(const char* value) { SetCreateTime(value); return *this;}
207
209
212 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
213 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
214 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
215 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
216 inline ReportGenerator& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
217 inline ReportGenerator& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
218 inline ReportGenerator& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
219 inline ReportGenerator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
221 private:
222
223 Aws::String m_reportGeneratorName;
224 bool m_reportGeneratorNameHasBeenSet = false;
225
226 Aws::Vector<ReportType> m_reportType;
227 bool m_reportTypeHasBeenSet = false;
228
229 ReportContext m_reportContext;
230 bool m_reportContextHasBeenSet = false;
231
232 ReportFrequency m_reportFrequency;
233 bool m_reportFrequencyHasBeenSet = false;
234
235 Aws::String m_licenseManagerReportGeneratorArn;
236 bool m_licenseManagerReportGeneratorArnHasBeenSet = false;
237
238 Aws::String m_lastRunStatus;
239 bool m_lastRunStatusHasBeenSet = false;
240
241 Aws::String m_lastRunFailureReason;
242 bool m_lastRunFailureReasonHasBeenSet = false;
243
244 Aws::String m_lastReportGenerationTime;
245 bool m_lastReportGenerationTimeHasBeenSet = false;
246
247 Aws::String m_reportCreatorAccount;
248 bool m_reportCreatorAccountHasBeenSet = false;
249
250 Aws::String m_description;
251 bool m_descriptionHasBeenSet = false;
252
253 S3Location m_s3Location;
254 bool m_s3LocationHasBeenSet = false;
255
256 Aws::String m_createTime;
257 bool m_createTimeHasBeenSet = false;
258
259 Aws::Vector<Tag> m_tags;
260 bool m_tagsHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace LicenseManager
265} // namespace Aws
ReportGenerator & WithLastReportGenerationTime(Aws::String &&value)
ReportGenerator & WithLastRunStatus(Aws::String &&value)
ReportGenerator & WithReportCreatorAccount(const Aws::String &value)
ReportGenerator & AddReportType(ReportType &&value)
ReportGenerator & WithDescription(const char *value)
void SetLicenseManagerReportGeneratorArn(const Aws::String &value)
ReportGenerator & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetReportGeneratorName() const
ReportGenerator & WithReportCreatorAccount(const char *value)
ReportGenerator & WithReportFrequency(const ReportFrequency &value)
ReportGenerator & AddTags(const Tag &value)
void SetReportCreatorAccount(const Aws::String &value)
ReportGenerator & WithLicenseManagerReportGeneratorArn(const Aws::String &value)
ReportGenerator & WithLastRunStatus(const Aws::String &value)
void SetLastRunStatus(const Aws::String &value)
ReportGenerator & WithCreateTime(const Aws::String &value)
void SetLastRunFailureReason(Aws::String &&value)
ReportGenerator & WithReportType(Aws::Vector< ReportType > &&value)
void SetLicenseManagerReportGeneratorArn(const char *value)
const Aws::Vector< ReportType > & GetReportType() const
ReportGenerator & WithDescription(const Aws::String &value)
ReportGenerator & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetLastReportGenerationTime() const
void SetS3Location(const S3Location &value)
ReportGenerator & AddReportType(const ReportType &value)
void SetReportContext(ReportContext &&value)
void SetReportGeneratorName(const Aws::String &value)
void SetLastReportGenerationTime(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
const ReportFrequency & GetReportFrequency() const
void SetLicenseManagerReportGeneratorArn(Aws::String &&value)
void SetReportType(Aws::Vector< ReportType > &&value)
void SetReportCreatorAccount(Aws::String &&value)
const Aws::String & GetLastRunStatus() const
void SetLastReportGenerationTime(const char *value)
ReportGenerator & AddTags(Tag &&value)
ReportGenerator & WithLastRunFailureReason(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
ReportGenerator & WithLastReportGenerationTime(const Aws::String &value)
const Aws::String & GetLastRunFailureReason() const
void SetReportType(const Aws::Vector< ReportType > &value)
void SetReportFrequency(ReportFrequency &&value)
ReportGenerator & WithReportType(const Aws::Vector< ReportType > &value)
void SetReportContext(const ReportContext &value)
ReportGenerator & WithLastRunFailureReason(const Aws::String &value)
const ReportContext & GetReportContext() const
ReportGenerator & WithS3Location(const S3Location &value)
ReportGenerator & WithCreateTime(Aws::String &&value)
void SetReportFrequency(const ReportFrequency &value)
ReportGenerator & WithReportGeneratorName(const Aws::String &value)
ReportGenerator & WithReportGeneratorName(const char *value)
ReportGenerator & WithReportFrequency(ReportFrequency &&value)
void SetLastRunFailureReason(const Aws::String &value)
ReportGenerator & WithLastRunStatus(const char *value)
void SetReportGeneratorName(Aws::String &&value)
const Aws::String & GetLicenseManagerReportGeneratorArn() const
ReportGenerator & WithReportContext(const ReportContext &value)
const Aws::String & GetReportCreatorAccount() const
ReportGenerator & WithLicenseManagerReportGeneratorArn(const char *value)
ReportGenerator & WithCreateTime(const char *value)
AWS_LICENSEMANAGER_API ReportGenerator(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API ReportGenerator()
void SetTags(const Aws::Vector< Tag > &value)
ReportGenerator & WithReportContext(ReportContext &&value)
void SetLastReportGenerationTime(Aws::String &&value)
void SetDescription(const Aws::String &value)
ReportGenerator & WithDescription(Aws::String &&value)
ReportGenerator & WithS3Location(S3Location &&value)
ReportGenerator & WithReportGeneratorName(Aws::String &&value)
void SetCreateTime(const Aws::String &value)
ReportGenerator & WithLastRunFailureReason(const char *value)
ReportGenerator & WithLicenseManagerReportGeneratorArn(Aws::String &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ReportGenerator & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportGenerator & WithLastReportGenerationTime(const char *value)
ReportGenerator & WithReportCreatorAccount(Aws::String &&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