AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateReportDefinitionRequest.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 UpdateReportDefinitionRequest() = 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 "UpdateReportDefinition"; }
31
32 AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetReportId() const { return m_reportId; }
39 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
40 template <typename ReportIdT = Aws::String>
41 void SetReportId(ReportIdT&& value) {
42 m_reportIdHasBeenSet = true;
43 m_reportId = std::forward<ReportIdT>(value);
44 }
45 template <typename ReportIdT = Aws::String>
47 SetReportId(std::forward<ReportIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
57 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
58 template <typename ReportDescriptionT = Aws::String>
59 void SetReportDescription(ReportDescriptionT&& value) {
60 m_reportDescriptionHasBeenSet = true;
61 m_reportDescription = std::forward<ReportDescriptionT>(value);
62 }
63 template <typename ReportDescriptionT = Aws::String>
65 SetReportDescription(std::forward<ReportDescriptionT>(value));
66 return *this;
67 }
69
71
74 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
75 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
77 m_reportFrequencyHasBeenSet = true;
78 m_reportFrequency = value;
79 }
81 SetReportFrequency(value);
82 return *this;
83 }
85
87
90 inline Format GetFormat() const { return m_format; }
91 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
92 inline void SetFormat(Format value) {
93 m_formatHasBeenSet = true;
94 m_format = value;
95 }
97 SetFormat(value);
98 return *this;
99 }
101
103
107 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
108 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
109 template <typename DestinationS3LocationT = S3Location>
110 void SetDestinationS3Location(DestinationS3LocationT&& value) {
111 m_destinationS3LocationHasBeenSet = true;
112 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
113 }
114 template <typename DestinationS3LocationT = S3Location>
116 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_reportId;
122
123 Aws::String m_reportDescription;
124
125 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
126
127 Format m_format{Format::NOT_SET};
128
129 S3Location m_destinationS3Location;
130 bool m_reportIdHasBeenSet = false;
131 bool m_reportDescriptionHasBeenSet = false;
132 bool m_reportFrequencyHasBeenSet = false;
133 bool m_formatHasBeenSet = false;
134 bool m_destinationS3LocationHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace ApplicationCostProfiler
139} // namespace Aws
UpdateReportDefinitionRequest & WithReportFrequency(ReportFrequency value)
AWS_APPLICATIONCOSTPROFILER_API UpdateReportDefinitionRequest()=default
UpdateReportDefinitionRequest & WithReportDescription(ReportDescriptionT &&value)
UpdateReportDefinitionRequest & WithDestinationS3Location(DestinationS3LocationT &&value)
AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String