AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateMetricConfigurationRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWirelessRequest.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/SummaryMetricConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoTWireless {
15namespace Model {
16
20 public:
21 AWS_IOTWIRELESS_API UpdateMetricConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateMetricConfiguration"; }
28
29 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
30
32
35 inline const SummaryMetricConfiguration& GetSummaryMetric() const { return m_summaryMetric; }
36 inline bool SummaryMetricHasBeenSet() const { return m_summaryMetricHasBeenSet; }
37 template <typename SummaryMetricT = SummaryMetricConfiguration>
38 void SetSummaryMetric(SummaryMetricT&& value) {
39 m_summaryMetricHasBeenSet = true;
40 m_summaryMetric = std::forward<SummaryMetricT>(value);
41 }
42 template <typename SummaryMetricT = SummaryMetricConfiguration>
44 SetSummaryMetric(std::forward<SummaryMetricT>(value));
45 return *this;
46 }
48 private:
49 SummaryMetricConfiguration m_summaryMetric;
50 bool m_summaryMetricHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace IoTWireless
55} // namespace Aws
AWS_IOTWIRELESS_API UpdateMetricConfigurationRequest()=default
UpdateMetricConfigurationRequest & WithSummaryMetric(SummaryMetricT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String