AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; }
46 inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); }
47 inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); }
48 inline PutReportDefinitionRequest& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
49 inline PutReportDefinitionRequest& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
50 inline PutReportDefinitionRequest& WithReportId(const char* value) { SetReportId(value); return *this;}
52
54
57 inline const Aws::String& GetReportDescription() const{ return m_reportDescription; }
58 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
59 inline void SetReportDescription(const Aws::String& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = value; }
60 inline void SetReportDescription(Aws::String&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::move(value); }
61 inline void SetReportDescription(const char* value) { m_reportDescriptionHasBeenSet = true; m_reportDescription.assign(value); }
63 inline PutReportDefinitionRequest& WithReportDescription(Aws::String&& value) { SetReportDescription(std::move(value)); return *this;}
64 inline PutReportDefinitionRequest& WithReportDescription(const char* value) { SetReportDescription(value); return *this;}
66
68
71 inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; }
72 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
73 inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
74 inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); }
76 inline PutReportDefinitionRequest& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;}
78
80
83 inline const Format& GetFormat() const{ return m_format; }
84 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
85 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
86 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
87 inline PutReportDefinitionRequest& WithFormat(const Format& value) { SetFormat(value); return *this;}
88 inline PutReportDefinitionRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
90
92
96 inline const S3Location& GetDestinationS3Location() const{ return m_destinationS3Location; }
97 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
98 inline void SetDestinationS3Location(const S3Location& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = value; }
99 inline void SetDestinationS3Location(S3Location&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::move(value); }
103 private:
104
105 Aws::String m_reportId;
106 bool m_reportIdHasBeenSet = false;
107
108 Aws::String m_reportDescription;
109 bool m_reportDescriptionHasBeenSet = false;
110
111 ReportFrequency m_reportFrequency;
112 bool m_reportFrequencyHasBeenSet = false;
113
114 Format m_format;
115 bool m_formatHasBeenSet = false;
116
117 S3Location m_destinationS3Location;
118 bool m_destinationS3LocationHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace ApplicationCostProfiler
123} // namespace Aws
PutReportDefinitionRequest & WithReportFrequency(const ReportFrequency &value)
PutReportDefinitionRequest & WithReportFrequency(ReportFrequency &&value)
PutReportDefinitionRequest & WithReportDescription(const Aws::String &value)
PutReportDefinitionRequest & WithReportDescription(const char *value)
PutReportDefinitionRequest & WithFormat(const Format &value)
AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override
PutReportDefinitionRequest & WithReportId(Aws::String &&value)
PutReportDefinitionRequest & WithDestinationS3Location(S3Location &&value)
PutReportDefinitionRequest & WithDestinationS3Location(const S3Location &value)
PutReportDefinitionRequest & WithReportId(const Aws::String &value)
PutReportDefinitionRequest & WithReportDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String