AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReportDefinition.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationCostProfiler
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition() = default;
40 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPLICATIONCOSTPROFILER_API ReportDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetReportId() const { return m_reportId; }
50 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
51 template<typename ReportIdT = Aws::String>
52 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet = true; m_reportId = std::forward<ReportIdT>(value); }
53 template<typename ReportIdT = Aws::String>
54 ReportDefinition& WithReportId(ReportIdT&& value) { SetReportId(std::forward<ReportIdT>(value)); return *this;}
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) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::forward<ReportDescriptionT>(value); }
65 template<typename ReportDescriptionT = Aws::String>
66 ReportDefinition& WithReportDescription(ReportDescriptionT&& value) { SetReportDescription(std::forward<ReportDescriptionT>(value)); return *this;}
68
70
73 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
74 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
75 inline void SetReportFrequency(ReportFrequency value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
78
80
83 inline Format GetFormat() const { return m_format; }
84 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
85 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
86 inline ReportDefinition& WithFormat(Format value) { SetFormat(value); return *this;}
88
90
94 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
95 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
96 template<typename DestinationS3LocationT = S3Location>
97 void SetDestinationS3Location(DestinationS3LocationT&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::forward<DestinationS3LocationT>(value); }
98 template<typename DestinationS3LocationT = S3Location>
99 ReportDefinition& WithDestinationS3Location(DestinationS3LocationT&& value) { SetDestinationS3Location(std::forward<DestinationS3LocationT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
108 template<typename CreatedAtT = Aws::Utils::DateTime>
109 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
110 template<typename CreatedAtT = Aws::Utils::DateTime>
111 ReportDefinition& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
119 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
120 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
121 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
122 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
123 ReportDefinition& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
125 private:
126
127 Aws::String m_reportId;
128 bool m_reportIdHasBeenSet = false;
129
130 Aws::String m_reportDescription;
131 bool m_reportDescriptionHasBeenSet = false;
132
133 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
134 bool m_reportFrequencyHasBeenSet = false;
135
136 Format m_format{Format::NOT_SET};
137 bool m_formatHasBeenSet = false;
138
139 S3Location m_destinationS3Location;
140 bool m_destinationS3LocationHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAt{};
143 bool m_createdAtHasBeenSet = false;
144
145 Aws::Utils::DateTime m_lastUpdatedAt{};
146 bool m_lastUpdatedAtHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace ApplicationCostProfiler
151} // 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