AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ReportDefinition.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfiler_EXPORTS.h>
8#include <aws/applicationcostprofiler/model/Format.h>
9#include <aws/applicationcostprofiler/model/ReportFrequency.h>
10#include <aws/applicationcostprofiler/model/S3Location.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationCostProfiler {
24namespace Model {
25
33 public:
34 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition() = default;
35 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetReportId() const { return m_reportId; }
44 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
45 template <typename ReportIdT = Aws::String>
46 void SetReportId(ReportIdT&& value) {
47 m_reportIdHasBeenSet = true;
48 m_reportId = std::forward<ReportIdT>(value);
49 }
50 template <typename ReportIdT = Aws::String>
51 ReportDefinition& WithReportId(ReportIdT&& value) {
52 SetReportId(std::forward<ReportIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
62 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
63 template <typename ReportDescriptionT = Aws::String>
64 void SetReportDescription(ReportDescriptionT&& value) {
65 m_reportDescriptionHasBeenSet = true;
66 m_reportDescription = std::forward<ReportDescriptionT>(value);
67 }
68 template <typename ReportDescriptionT = Aws::String>
69 ReportDefinition& WithReportDescription(ReportDescriptionT&& value) {
70 SetReportDescription(std::forward<ReportDescriptionT>(value));
71 return *this;
72 }
74
76
79 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
80 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
82 m_reportFrequencyHasBeenSet = true;
83 m_reportFrequency = value;
84 }
86 SetReportFrequency(value);
87 return *this;
88 }
90
92
95 inline Format GetFormat() const { return m_format; }
96 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
97 inline void SetFormat(Format value) {
98 m_formatHasBeenSet = true;
99 m_format = value;
100 }
102 SetFormat(value);
103 return *this;
104 }
106
108
112 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
113 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
114 template <typename DestinationS3LocationT = S3Location>
115 void SetDestinationS3Location(DestinationS3LocationT&& value) {
116 m_destinationS3LocationHasBeenSet = true;
117 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
118 }
119 template <typename DestinationS3LocationT = S3Location>
120 ReportDefinition& WithDestinationS3Location(DestinationS3LocationT&& value) {
121 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
138 ReportDefinition& WithCreatedAt(CreatedAtT&& value) {
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
149 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
150 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
151 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
152 m_lastUpdatedAtHasBeenSet = true;
153 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
154 }
155 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
156 ReportDefinition& WithLastUpdatedAt(LastUpdatedAtT&& value) {
157 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_reportId;
163
164 Aws::String m_reportDescription;
165
166 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
167
168 Format m_format{Format::NOT_SET};
169
170 S3Location m_destinationS3Location;
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::Utils::DateTime m_lastUpdatedAt{};
175 bool m_reportIdHasBeenSet = false;
176 bool m_reportDescriptionHasBeenSet = false;
177 bool m_reportFrequencyHasBeenSet = false;
178 bool m_formatHasBeenSet = false;
179 bool m_destinationS3LocationHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_lastUpdatedAtHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace ApplicationCostProfiler
186} // namespace Aws
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition()=default
ReportDefinition & WithReportFrequency(ReportFrequency value)
ReportDefinition & WithReportDescription(ReportDescriptionT &&value)
ReportDefinition & WithReportId(ReportIdT &&value)
AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportDefinition & WithLastUpdatedAt(LastUpdatedAtT &&value)
ReportDefinition & WithDestinationS3Location(DestinationS3LocationT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetDestinationS3Location(DestinationS3LocationT &&value)
void SetReportDescription(ReportDescriptionT &&value)
ReportDefinition & WithCreatedAt(CreatedAtT &&value)
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue