AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PutReportDefinitionRequest.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfilerRequest.h>
8#include <aws/applicationcostprofiler/ApplicationCostProfiler_EXPORTS.h>
9#include <aws/applicationcostprofiler/model/Format.h>
10#include <aws/applicationcostprofiler/model/ReportFrequency.h>
11#include <aws/applicationcostprofiler/model/S3Location.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ApplicationCostProfiler {
18namespace Model {
19
23 public:
24 AWS_APPLICATIONCOSTPROFILER_API PutReportDefinitionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "PutReportDefinition"; }
31
32 AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetReportId() const { return m_reportId; }
40 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
41 template <typename ReportIdT = Aws::String>
42 void SetReportId(ReportIdT&& value) {
43 m_reportIdHasBeenSet = true;
44 m_reportId = std::forward<ReportIdT>(value);
45 }
46 template <typename ReportIdT = Aws::String>
48 SetReportId(std::forward<ReportIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
58 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
59 template <typename ReportDescriptionT = Aws::String>
60 void SetReportDescription(ReportDescriptionT&& value) {
61 m_reportDescriptionHasBeenSet = true;
62 m_reportDescription = std::forward<ReportDescriptionT>(value);
63 }
64 template <typename ReportDescriptionT = Aws::String>
66 SetReportDescription(std::forward<ReportDescriptionT>(value));
67 return *this;
68 }
70
72
75 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
76 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
78 m_reportFrequencyHasBeenSet = true;
79 m_reportFrequency = value;
80 }
82 SetReportFrequency(value);
83 return *this;
84 }
86
88
91 inline Format GetFormat() const { return m_format; }
92 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
93 inline void SetFormat(Format value) {
94 m_formatHasBeenSet = true;
95 m_format = value;
96 }
98 SetFormat(value);
99 return *this;
100 }
102
104
108 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
109 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
110 template <typename DestinationS3LocationT = S3Location>
111 void SetDestinationS3Location(DestinationS3LocationT&& value) {
112 m_destinationS3LocationHasBeenSet = true;
113 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
114 }
115 template <typename DestinationS3LocationT = S3Location>
116 PutReportDefinitionRequest& WithDestinationS3Location(DestinationS3LocationT&& value) {
117 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_reportId;
123
124 Aws::String m_reportDescription;
125
126 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
127
128 Format m_format{Format::NOT_SET};
129
130 S3Location m_destinationS3Location;
131 bool m_reportIdHasBeenSet = false;
132 bool m_reportDescriptionHasBeenSet = false;
133 bool m_reportFrequencyHasBeenSet = false;
134 bool m_formatHasBeenSet = false;
135 bool m_destinationS3LocationHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace ApplicationCostProfiler
140} // namespace Aws
PutReportDefinitionRequest & WithReportFrequency(ReportFrequency value)
PutReportDefinitionRequest & WithReportDescription(ReportDescriptionT &&value)
AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override
AWS_APPLICATIONCOSTPROFILER_API PutReportDefinitionRequest()=default
PutReportDefinitionRequest & WithDestinationS3Location(DestinationS3LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String