AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
GetReportDefinitionResult.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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ApplicationCostProfiler {
27namespace Model {
29 public:
30 AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult() = default;
32 AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult& operator=(
34
36
39 inline const Aws::String& GetReportId() const { return m_reportId; }
40 template <typename ReportIdT = Aws::String>
41 void SetReportId(ReportIdT&& value) {
42 m_reportIdHasBeenSet = true;
43 m_reportId = std::forward<ReportIdT>(value);
44 }
45 template <typename ReportIdT = Aws::String>
47 SetReportId(std::forward<ReportIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
57 template <typename ReportDescriptionT = Aws::String>
58 void SetReportDescription(ReportDescriptionT&& value) {
59 m_reportDescriptionHasBeenSet = true;
60 m_reportDescription = std::forward<ReportDescriptionT>(value);
61 }
62 template <typename ReportDescriptionT = Aws::String>
63 GetReportDefinitionResult& WithReportDescription(ReportDescriptionT&& value) {
64 SetReportDescription(std::forward<ReportDescriptionT>(value));
65 return *this;
66 }
68
70
73 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
75 m_reportFrequencyHasBeenSet = true;
76 m_reportFrequency = value;
77 }
79 SetReportFrequency(value);
80 return *this;
81 }
83
85
88 inline Format GetFormat() const { return m_format; }
89 inline void SetFormat(Format value) {
90 m_formatHasBeenSet = true;
91 m_format = value;
92 }
94 SetFormat(value);
95 return *this;
96 }
98
100
104 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
105 template <typename DestinationS3LocationT = S3Location>
106 void SetDestinationS3Location(DestinationS3LocationT&& value) {
107 m_destinationS3LocationHasBeenSet = true;
108 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
109 }
110 template <typename DestinationS3LocationT = S3Location>
111 GetReportDefinitionResult& WithDestinationS3Location(DestinationS3LocationT&& value) {
112 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
122 template <typename CreatedAtT = Aws::Utils::DateTime>
123 void SetCreatedAt(CreatedAtT&& value) {
124 m_createdAtHasBeenSet = true;
125 m_createdAt = std::forward<CreatedAtT>(value);
126 }
127 template <typename CreatedAtT = Aws::Utils::DateTime>
129 SetCreatedAt(std::forward<CreatedAtT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
139 template <typename LastUpdatedT = Aws::Utils::DateTime>
140 void SetLastUpdated(LastUpdatedT&& value) {
141 m_lastUpdatedHasBeenSet = true;
142 m_lastUpdated = std::forward<LastUpdatedT>(value);
143 }
144 template <typename LastUpdatedT = Aws::Utils::DateTime>
146 SetLastUpdated(std::forward<LastUpdatedT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
165 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
166
167 private:
168 Aws::String m_reportId;
169
170 Aws::String m_reportDescription;
171
172 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
173
174 Format m_format{Format::NOT_SET};
175
176 S3Location m_destinationS3Location;
177
178 Aws::Utils::DateTime m_createdAt{};
179
180 Aws::Utils::DateTime m_lastUpdated{};
181
182 Aws::String m_requestId;
183 Aws::Http::HttpResponseCode m_HttpResponseCode;
184 bool m_reportIdHasBeenSet = false;
185 bool m_reportDescriptionHasBeenSet = false;
186 bool m_reportFrequencyHasBeenSet = false;
187 bool m_formatHasBeenSet = false;
188 bool m_destinationS3LocationHasBeenSet = false;
189 bool m_createdAtHasBeenSet = false;
190 bool m_lastUpdatedHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace ApplicationCostProfiler
196} // namespace Aws
GetReportDefinitionResult & WithCreatedAt(CreatedAtT &&value)
GetReportDefinitionResult & WithReportFrequency(ReportFrequency value)
GetReportDefinitionResult & WithDestinationS3Location(DestinationS3LocationT &&value)
GetReportDefinitionResult & WithLastUpdated(LastUpdatedT &&value)
GetReportDefinitionResult & WithRequestId(RequestIdT &&value)
GetReportDefinitionResult & WithReportDescription(ReportDescriptionT &&value)
AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult()=default
AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue