AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; }
45 inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); }
46 inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); }
47 inline UpdateReportDefinitionRequest& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
48 inline UpdateReportDefinitionRequest& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
49 inline UpdateReportDefinitionRequest& WithReportId(const char* value) { SetReportId(value); return *this;}
51
53
56 inline const Aws::String& GetReportDescription() const{ return m_reportDescription; }
57 inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; }
58 inline void SetReportDescription(const Aws::String& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = value; }
59 inline void SetReportDescription(Aws::String&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::move(value); }
60 inline void SetReportDescription(const char* value) { m_reportDescriptionHasBeenSet = true; m_reportDescription.assign(value); }
62 inline UpdateReportDefinitionRequest& WithReportDescription(Aws::String&& value) { SetReportDescription(std::move(value)); return *this;}
63 inline UpdateReportDefinitionRequest& WithReportDescription(const char* value) { SetReportDescription(value); return *this;}
65
67
70 inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; }
71 inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; }
72 inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; }
73 inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); }
75 inline UpdateReportDefinitionRequest& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;}
77
79
82 inline const Format& GetFormat() const{ return m_format; }
83 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
84 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
85 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
86 inline UpdateReportDefinitionRequest& WithFormat(const Format& value) { SetFormat(value); return *this;}
87 inline UpdateReportDefinitionRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
89
91
95 inline const S3Location& GetDestinationS3Location() const{ return m_destinationS3Location; }
96 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
97 inline void SetDestinationS3Location(const S3Location& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = value; }
98 inline void SetDestinationS3Location(S3Location&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::move(value); }
102 private:
103
104 Aws::String m_reportId;
105 bool m_reportIdHasBeenSet = false;
106
107 Aws::String m_reportDescription;
108 bool m_reportDescriptionHasBeenSet = false;
109
110 ReportFrequency m_reportFrequency;
111 bool m_reportFrequencyHasBeenSet = false;
112
113 Format m_format;
114 bool m_formatHasBeenSet = false;
115
116 S3Location m_destinationS3Location;
117 bool m_destinationS3LocationHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ApplicationCostProfiler
122} // namespace Aws
UpdateReportDefinitionRequest & WithDestinationS3Location(S3Location &&value)
UpdateReportDefinitionRequest & WithReportDescription(Aws::String &&value)
UpdateReportDefinitionRequest & WithReportDescription(const Aws::String &value)
UpdateReportDefinitionRequest & WithReportId(Aws::String &&value)
UpdateReportDefinitionRequest & WithReportId(const Aws::String &value)
UpdateReportDefinitionRequest & WithReportFrequency(ReportFrequency &&value)
UpdateReportDefinitionRequest & WithReportFrequency(const ReportFrequency &value)
AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override
UpdateReportDefinitionRequest & WithDestinationS3Location(const S3Location &value)
UpdateReportDefinitionRequest & WithReportDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String