AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutReportDefinitionRequest.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfiler_EXPORTS.h>
8#include <aws/applicationcostprofiler/ApplicationCostProfilerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/applicationcostprofiler/model/ReportFrequency.h>
11#include <aws/applicationcostprofiler/model/Format.h>
12#include <aws/applicationcostprofiler/model/S3Location.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ApplicationCostProfiler
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPLICATIONCOSTPROFILER_API PutReportDefinitionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PutReportDefinition"; }
34
35 AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetReportId() const { return m_reportId; }
44 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
45 template<typename ReportIdT = Aws::String>
46 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet = true; m_reportId = std::forward<ReportIdT>(value); }
47 template<typename ReportIdT = Aws::String>
48 PutReportDefinitionRequest& WithReportId(ReportIdT&& value) { SetReportId(std::forward<ReportIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
56 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
57 template<typename ReportDescriptionT = Aws::String>
58 void SetReportDescription(ReportDescriptionT&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::forward<ReportDescriptionT>(value); }
59 template<typename ReportDescriptionT = Aws::String>
60 PutReportDefinitionRequest& WithReportDescription(ReportDescriptionT&& value) { SetReportDescription(std::forward<ReportDescriptionT>(value)); return *this;}
62
64
67 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
68 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
69 inline void SetReportFrequency(ReportFrequency value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
72
74
77 inline Format GetFormat() const { return m_format; }
78 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
79 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
80 inline PutReportDefinitionRequest& WithFormat(Format value) { SetFormat(value); return *this;}
82
84
88 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
89 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
90 template<typename DestinationS3LocationT = S3Location>
91 void SetDestinationS3Location(DestinationS3LocationT&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::forward<DestinationS3LocationT>(value); }
92 template<typename DestinationS3LocationT = S3Location>
93 PutReportDefinitionRequest& WithDestinationS3Location(DestinationS3LocationT&& value) { SetDestinationS3Location(std::forward<DestinationS3LocationT>(value)); return *this;}
95 private:
96
97 Aws::String m_reportId;
98 bool m_reportIdHasBeenSet = false;
99
100 Aws::String m_reportDescription;
101 bool m_reportDescriptionHasBeenSet = false;
102
103 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
104 bool m_reportFrequencyHasBeenSet = false;
105
106 Format m_format{Format::NOT_SET};
107 bool m_formatHasBeenSet = false;
108
109 S3Location m_destinationS3Location;
110 bool m_destinationS3LocationHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ApplicationCostProfiler
115} // 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