AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateReportDefinitionRequest.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 UpdateReportDefinitionRequest() = 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 "UpdateReportDefinition"; }
34
35 AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetReportId() const { return m_reportId; }
43 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
44 template<typename ReportIdT = Aws::String>
45 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet = true; m_reportId = std::forward<ReportIdT>(value); }
46 template<typename ReportIdT = Aws::String>
47 UpdateReportDefinitionRequest& WithReportId(ReportIdT&& value) { SetReportId(std::forward<ReportIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetReportDescription() const { return m_reportDescription; }
55 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
56 template<typename ReportDescriptionT = Aws::String>
57 void SetReportDescription(ReportDescriptionT&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::forward<ReportDescriptionT>(value); }
58 template<typename ReportDescriptionT = Aws::String>
59 UpdateReportDefinitionRequest& WithReportDescription(ReportDescriptionT&& value) { SetReportDescription(std::forward<ReportDescriptionT>(value)); return *this;}
61
63
66 inline ReportFrequency GetReportFrequency() const { return m_reportFrequency; }
67 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
68 inline void SetReportFrequency(ReportFrequency value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
71
73
76 inline Format GetFormat() const { return m_format; }
77 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
78 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
79 inline UpdateReportDefinitionRequest& WithFormat(Format value) { SetFormat(value); return *this;}
81
83
87 inline const S3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
88 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
89 template<typename DestinationS3LocationT = S3Location>
90 void SetDestinationS3Location(DestinationS3LocationT&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::forward<DestinationS3LocationT>(value); }
91 template<typename DestinationS3LocationT = S3Location>
92 UpdateReportDefinitionRequest& WithDestinationS3Location(DestinationS3LocationT&& value) { SetDestinationS3Location(std::forward<DestinationS3LocationT>(value)); return *this;}
94 private:
95
96 Aws::String m_reportId;
97 bool m_reportIdHasBeenSet = false;
98
99 Aws::String m_reportDescription;
100 bool m_reportDescriptionHasBeenSet = false;
101
102 ReportFrequency m_reportFrequency{ReportFrequency::NOT_SET};
103 bool m_reportFrequencyHasBeenSet = false;
104
105 Format m_format{Format::NOT_SET};
106 bool m_formatHasBeenSet = false;
107
108 S3Location m_destinationS3Location;
109 bool m_destinationS3LocationHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ApplicationCostProfiler
114} // 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