AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMetricWidget(const Aws::String& value) { m_metricWidgetHasBeenSet = true; m_metricWidget = value; }
54 inline void SetMetricWidget(Aws::String&& value) { m_metricWidgetHasBeenSet = true; m_metricWidget = std::move(value); }
55 inline void SetMetricWidget(const char* value) { m_metricWidgetHasBeenSet = true; m_metricWidget.assign(value); }
56 inline GetMetricWidgetImageRequest& WithMetricWidget(const Aws::String& value) { SetMetricWidget(value); return *this;}
57 inline GetMetricWidgetImageRequest& WithMetricWidget(Aws::String&& value) { SetMetricWidget(std::move(value)); return *this;}
58 inline GetMetricWidgetImageRequest& WithMetricWidget(const char* value) { SetMetricWidget(value); return *this;}
60
62
83 inline const Aws::String& GetOutputFormat() const{ return m_outputFormat; }
84 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
85 inline void SetOutputFormat(const Aws::String& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
86 inline void SetOutputFormat(Aws::String&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
87 inline void SetOutputFormat(const char* value) { m_outputFormatHasBeenSet = true; m_outputFormat.assign(value); }
88 inline GetMetricWidgetImageRequest& WithOutputFormat(const Aws::String& value) { SetOutputFormat(value); return *this;}
89 inline GetMetricWidgetImageRequest& WithOutputFormat(Aws::String&& value) { SetOutputFormat(std::move(value)); return *this;}
90 inline GetMetricWidgetImageRequest& WithOutputFormat(const char* value) { SetOutputFormat(value); return *this;}
92 private:
93
94 Aws::String m_metricWidget;
95 bool m_metricWidgetHasBeenSet = false;
96
97 Aws::String m_outputFormat;
98 bool m_outputFormatHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CloudWatch
103} // namespace Aws
GetMetricWidgetImageRequest & WithMetricWidget(const char *value)
GetMetricWidgetImageRequest & WithMetricWidget(Aws::String &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
GetMetricWidgetImageRequest & WithOutputFormat(Aws::String &&value)
GetMetricWidgetImageRequest & WithMetricWidget(const Aws::String &value)
GetMetricWidgetImageRequest & WithOutputFormat(const char *value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetMetricWidgetImageRequest & WithOutputFormat(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String