AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
UpdateMetricMetadataRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Connect {
15namespace Model {
16
20 public:
21 AWS_CONNECT_API UpdateMetricMetadataRequest() = 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 "UpdateMetricMetadata"; }
28
29 AWS_CONNECT_API Aws::String SerializePayload() const override;
30
32
37 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
38 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
39 template <typename InstanceIdT = Aws::String>
40 void SetInstanceId(InstanceIdT&& value) {
41 m_instanceIdHasBeenSet = true;
42 m_instanceId = std::forward<InstanceIdT>(value);
43 }
44 template <typename InstanceIdT = Aws::String>
46 SetInstanceId(std::forward<InstanceIdT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::String& GetMetricId() const { return m_metricId; }
59 inline bool MetricIdHasBeenSet() const { return m_metricIdHasBeenSet; }
60 template <typename MetricIdT = Aws::String>
61 void SetMetricId(MetricIdT&& value) {
62 m_metricIdHasBeenSet = true;
63 m_metricId = std::forward<MetricIdT>(value);
64 }
65 template <typename MetricIdT = Aws::String>
67 SetMetricId(std::forward<MetricIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_instanceId;
109
110 Aws::String m_metricId;
111
112 Aws::String m_name;
113
114 Aws::String m_description;
115 bool m_instanceIdHasBeenSet = false;
116 bool m_metricIdHasBeenSet = false;
117 bool m_nameHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
UpdateMetricMetadataRequest & WithMetricId(MetricIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateMetricMetadataRequest & WithInstanceId(InstanceIdT &&value)
UpdateMetricMetadataRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API UpdateMetricMetadataRequest()=default
UpdateMetricMetadataRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String