AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; }
52 inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); }
53 inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); }
54 inline ReportDefinition& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
55 inline ReportDefinition& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
56 inline ReportDefinition& WithReportId(const char* value) { SetReportId(value); return *this;}
58
60
63 inline const Aws::String& GetReportDescription() const{ return m_reportDescription; }
64 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
65 inline void SetReportDescription(const Aws::String& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = value; }
66 inline void SetReportDescription(Aws::String&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::move(value); }
67 inline void SetReportDescription(const char* value) { m_reportDescriptionHasBeenSet = true; m_reportDescription.assign(value); }
68 inline ReportDefinition& WithReportDescription(const Aws::String& value) { SetReportDescription(value); return *this;}
69 inline ReportDefinition& WithReportDescription(Aws::String&& value) { SetReportDescription(std::move(value)); return *this;}
70 inline ReportDefinition& WithReportDescription(const char* value) { SetReportDescription(value); return *this;}
72
74
77 inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; }
78 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
79 inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
80 inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); }
81 inline ReportDefinition& WithReportFrequency(const ReportFrequency& value) { SetReportFrequency(value); return *this;}
82 inline ReportDefinition& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;}
84
86
89 inline const Format& GetFormat() const{ return m_format; }
90 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
91 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
92 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
93 inline ReportDefinition& WithFormat(const Format& value) { SetFormat(value); return *this;}
94 inline ReportDefinition& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
96
98
102 inline const S3Location& GetDestinationS3Location() const{ return m_destinationS3Location; }
103 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
104 inline void SetDestinationS3Location(const S3Location& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = value; }
105 inline void SetDestinationS3Location(S3Location&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::move(value); }
107 inline ReportDefinition& WithDestinationS3Location(S3Location&& value) { SetDestinationS3Location(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
117 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
118 inline ReportDefinition& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
119 inline ReportDefinition& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
127 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
128 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
129 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
130 inline ReportDefinition& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
131 inline ReportDefinition& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_reportId;
136 bool m_reportIdHasBeenSet = false;
137
138 Aws::String m_reportDescription;
139 bool m_reportDescriptionHasBeenSet = false;
140
141 ReportFrequency m_reportFrequency;
142 bool m_reportFrequencyHasBeenSet = false;
143
144 Format m_format;
145 bool m_formatHasBeenSet = false;
146
147 S3Location m_destinationS3Location;
148 bool m_destinationS3LocationHasBeenSet = false;
149
150 Aws::Utils::DateTime m_createdAt;
151 bool m_createdAtHasBeenSet = false;
152
153 Aws::Utils::DateTime m_lastUpdatedAt;
154 bool m_lastUpdatedAtHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace ApplicationCostProfiler
159} // namespace Aws
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
ReportDefinition & WithFormat(const Format &value)
ReportDefinition & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ReportDefinition & WithReportFrequency(ReportFrequency &&value)
AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
ReportDefinition & WithCreatedAt(const Aws::Utils::DateTime &value)
ReportDefinition & WithReportDescription(Aws::String &&value)
ReportDefinition & WithReportId(Aws::String &&value)
ReportDefinition & WithReportDescription(const Aws::String &value)
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportDefinition & WithDestinationS3Location(S3Location &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
ReportDefinition & WithReportId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ReportDefinition & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ReportDefinition & WithDestinationS3Location(const S3Location &value)
ReportDefinition & WithReportDescription(const char *value)
ReportDefinition & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ReportDefinition & WithReportFrequency(const ReportFrequency &value)
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition()
void SetReportFrequency(const ReportFrequency &value)
AWS_APPLICATIONCOSTPROFILER_API ReportDefinition(Aws::Utils::Json::JsonView jsonValue)
ReportDefinition & WithReportId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue