AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationCostProfiler {
26namespace Model {
28 public:
29 AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult() = default;
31 AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult& operator=(
33
35
38 inline const Aws::String& GetReportId() const { return m_reportId; }
39 template <typename ReportIdT = Aws::String>
40 void SetReportId(ReportIdT&& value) {
41 m_reportIdHasBeenSet = true;
42 m_reportId = std::forward<ReportIdT>(value);
43 }
44 template <typename ReportIdT = Aws::String>
46 SetReportId(std::forward<ReportIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
56 template <typename ReportDescriptionT = Aws::String>
57 void SetReportDescription(ReportDescriptionT&& value) {
58 m_reportDescriptionHasBeenSet = true;
59 m_reportDescription = std::forward<ReportDescriptionT>(value);
60 }
61 template <typename ReportDescriptionT = Aws::String>
62 GetReportDefinitionResult& WithReportDescription(ReportDescriptionT&& value) {
63 SetReportDescription(std::forward<ReportDescriptionT>(value));
64 return *this;
65 }
67
69
72 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
74 m_reportFrequencyHasBeenSet = true;
75 m_reportFrequency = value;
76 }
78 SetReportFrequency(value);
79 return *this;
80 }
82
84
87 inline Format GetFormat() const { return m_format; }
88 inline void SetFormat(Format value) {
89 m_formatHasBeenSet = true;
90 m_format = value;
91 }
93 SetFormat(value);
94 return *this;
95 }
97
99
103 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
104 template <typename DestinationS3LocationT = S3Location>
105 void SetDestinationS3Location(DestinationS3LocationT&& value) {
106 m_destinationS3LocationHasBeenSet = true;
107 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
108 }
109 template <typename DestinationS3LocationT = S3Location>
110 GetReportDefinitionResult& WithDestinationS3Location(DestinationS3LocationT&& value) {
111 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
121 template <typename CreatedAtT = Aws::Utils::DateTime>
122 void SetCreatedAt(CreatedAtT&& value) {
123 m_createdAtHasBeenSet = true;
124 m_createdAt = std::forward<CreatedAtT>(value);
125 }
126 template <typename CreatedAtT = Aws::Utils::DateTime>
128 SetCreatedAt(std::forward<CreatedAtT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
138 template <typename LastUpdatedT = Aws::Utils::DateTime>
139 void SetLastUpdated(LastUpdatedT&& value) {
140 m_lastUpdatedHasBeenSet = true;
141 m_lastUpdated = std::forward<LastUpdatedT>(value);
142 }
143 template <typename LastUpdatedT = Aws::Utils::DateTime>
145 SetLastUpdated(std::forward<LastUpdatedT>(value));
146 return *this;
147 }
149
151
152 inline const Aws::String& GetRequestId() const { return m_requestId; }
153 template <typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) {
155 m_requestIdHasBeenSet = true;
156 m_requestId = std::forward<RequestIdT>(value);
157 }
158 template <typename RequestIdT = Aws::String>
160 SetRequestId(std::forward<RequestIdT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_reportId;
166
167 Aws::String m_reportDescription;
168
169 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
170
171 Format m_format{Format::NOT_SET};
172
173 S3Location m_destinationS3Location;
174
175 Aws::Utils::DateTime m_createdAt{};
176
177 Aws::Utils::DateTime m_lastUpdated{};
178
179 Aws::String m_requestId;
180 bool m_reportIdHasBeenSet = false;
181 bool m_reportDescriptionHasBeenSet = false;
182 bool m_reportFrequencyHasBeenSet = false;
183 bool m_formatHasBeenSet = false;
184 bool m_destinationS3LocationHasBeenSet = false;
185 bool m_createdAtHasBeenSet = false;
186 bool m_lastUpdatedHasBeenSet = false;
187 bool m_requestIdHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace ApplicationCostProfiler
192} // 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