AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetMetricWidgetImageRequest.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudWatch
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDWATCH_API GetMetricWidgetImageRequest() = 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 "GetMetricWidgetImage"; }
31
32 AWS_CLOUDWATCH_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
51 inline const Aws::String& GetMetricWidget() const { return m_metricWidget; }
52 inline bool MetricWidgetHasBeenSet() const { return m_metricWidgetHasBeenSet; }
53 template<typename MetricWidgetT = Aws::String>
54 void SetMetricWidget(MetricWidgetT&& value) { m_metricWidgetHasBeenSet = true; m_metricWidget = std::forward<MetricWidgetT>(value); }
55 template<typename MetricWidgetT = Aws::String>
56 GetMetricWidgetImageRequest& WithMetricWidget(MetricWidgetT&& value) { SetMetricWidget(std::forward<MetricWidgetT>(value)); return *this;}
58
60
81 inline const Aws::String& GetOutputFormat() const { return m_outputFormat; }
82 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
83 template<typename OutputFormatT = Aws::String>
84 void SetOutputFormat(OutputFormatT&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::forward<OutputFormatT>(value); }
85 template<typename OutputFormatT = Aws::String>
86 GetMetricWidgetImageRequest& WithOutputFormat(OutputFormatT&& value) { SetOutputFormat(std::forward<OutputFormatT>(value)); return *this;}
88 private:
89
90 Aws::String m_metricWidget;
91 bool m_metricWidgetHasBeenSet = false;
92
93 Aws::String m_outputFormat;
94 bool m_outputFormatHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudWatch
99} // namespace Aws
GetMetricWidgetImageRequest & WithMetricWidget(MetricWidgetT &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
GetMetricWidgetImageRequest & WithOutputFormat(OutputFormatT &&value)
AWS_CLOUDWATCH_API GetMetricWidgetImageRequest()=default
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String