AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetReportDefinitionResult.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/applicationcostprofiler/model/ReportFrequency.h>
10#include <aws/applicationcostprofiler/model/Format.h>
11#include <aws/applicationcostprofiler/model/S3Location.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ApplicationCostProfiler
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult() = default;
37
38
40
43 inline const Aws::String& GetReportId() const { return m_reportId; }
44 template<typename ReportIdT = Aws::String>
45 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet = true; m_reportId = std::forward<ReportIdT>(value); }
46 template<typename ReportIdT = Aws::String>
47 GetReportDefinitionResult& WithReportId(ReportIdT&& value) { SetReportId(std::forward<ReportIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
55 template<typename ReportDescriptionT = Aws::String>
56 void SetReportDescription(ReportDescriptionT&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::forward<ReportDescriptionT>(value); }
57 template<typename ReportDescriptionT = Aws::String>
58 GetReportDefinitionResult& WithReportDescription(ReportDescriptionT&& value) { SetReportDescription(std::forward<ReportDescriptionT>(value)); return *this;}
60
62
65 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
66 inline void SetReportFrequency(ReportFrequency value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
69
71
74 inline Format GetFormat() const { return m_format; }
75 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
76 inline GetReportDefinitionResult& WithFormat(Format value) { SetFormat(value); return *this;}
78
80
84 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
85 template<typename DestinationS3LocationT = S3Location>
86 void SetDestinationS3Location(DestinationS3LocationT&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::forward<DestinationS3LocationT>(value); }
87 template<typename DestinationS3LocationT = S3Location>
88 GetReportDefinitionResult& WithDestinationS3Location(DestinationS3LocationT&& value) { SetDestinationS3Location(std::forward<DestinationS3LocationT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 template<typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
98 template<typename CreatedAtT = Aws::Utils::DateTime>
99 GetReportDefinitionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
107 template<typename LastUpdatedT = Aws::Utils::DateTime>
108 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
109 template<typename LastUpdatedT = Aws::Utils::DateTime>
110 GetReportDefinitionResult& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template<typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
118 template<typename RequestIdT = Aws::String>
119 GetReportDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
121 private:
122
123 Aws::String m_reportId;
124 bool m_reportIdHasBeenSet = false;
125
126 Aws::String m_reportDescription;
127 bool m_reportDescriptionHasBeenSet = false;
128
129 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
130 bool m_reportFrequencyHasBeenSet = false;
131
132 Format m_format{Format::NOT_SET};
133 bool m_formatHasBeenSet = false;
134
135 S3Location m_destinationS3Location;
136 bool m_destinationS3LocationHasBeenSet = false;
137
138 Aws::Utils::DateTime m_createdAt{};
139 bool m_createdAtHasBeenSet = false;
140
141 Aws::Utils::DateTime m_lastUpdated{};
142 bool m_lastUpdatedHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ApplicationCostProfiler
150} // 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