AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteRumMetricsDestinationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rum/CloudWatchRUMRequest.h>
9#include <aws/rum/CloudWatchRUM_EXPORTS.h>
10#include <aws/rum/model/MetricDestination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CloudWatchRUM {
19namespace Model {
20
24 public:
25 AWS_CLOUDWATCHRUM_API DeleteRumMetricsDestinationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteRumMetricsDestination"; }
32
33 AWS_CLOUDWATCHRUM_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDWATCHRUM_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetAppMonitorName() const { return m_appMonitorName; }
43 inline bool AppMonitorNameHasBeenSet() const { return m_appMonitorNameHasBeenSet; }
44 template <typename AppMonitorNameT = Aws::String>
45 void SetAppMonitorName(AppMonitorNameT&& value) {
46 m_appMonitorNameHasBeenSet = true;
47 m_appMonitorName = std::forward<AppMonitorNameT>(value);
48 }
49 template <typename AppMonitorNameT = Aws::String>
51 SetAppMonitorName(std::forward<AppMonitorNameT>(value));
52 return *this;
53 }
55
57
61 inline MetricDestination GetDestination() const { return m_destination; }
62 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
63 inline void SetDestination(MetricDestination value) {
64 m_destinationHasBeenSet = true;
65 m_destination = value;
66 }
72
74
80 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
81 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
82 template <typename DestinationArnT = Aws::String>
83 void SetDestinationArn(DestinationArnT&& value) {
84 m_destinationArnHasBeenSet = true;
85 m_destinationArn = std::forward<DestinationArnT>(value);
86 }
87 template <typename DestinationArnT = Aws::String>
89 SetDestinationArn(std::forward<DestinationArnT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_appMonitorName;
95
97
98 Aws::String m_destinationArn;
99 bool m_appMonitorNameHasBeenSet = false;
100 bool m_destinationHasBeenSet = false;
101 bool m_destinationArnHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace CloudWatchRUM
106} // namespace Aws
AWS_CLOUDWATCHRUM_API DeleteRumMetricsDestinationRequest()=default
DeleteRumMetricsDestinationRequest & WithDestinationArn(DestinationArnT &&value)
DeleteRumMetricsDestinationRequest & WithDestination(MetricDestination value)
AWS_CLOUDWATCHRUM_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CLOUDWATCHRUM_API Aws::String SerializePayload() const override
DeleteRumMetricsDestinationRequest & WithAppMonitorName(AppMonitorNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String