AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteProbeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmonitor/NetworkMonitorRequest.h>
9#include <aws/networkmonitor/NetworkMonitor_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace NetworkMonitor {
15namespace Model {
16
20 public:
21 AWS_NETWORKMONITOR_API DeleteProbeRequest() = 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 "DeleteProbe"; }
28
29 AWS_NETWORKMONITOR_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetMonitorName() const { return m_monitorName; }
36 inline bool MonitorNameHasBeenSet() const { return m_monitorNameHasBeenSet; }
37 template <typename MonitorNameT = Aws::String>
38 void SetMonitorName(MonitorNameT&& value) {
39 m_monitorNameHasBeenSet = true;
40 m_monitorName = std::forward<MonitorNameT>(value);
41 }
42 template <typename MonitorNameT = Aws::String>
43 DeleteProbeRequest& WithMonitorName(MonitorNameT&& value) {
44 SetMonitorName(std::forward<MonitorNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetProbeId() const { return m_probeId; }
54 inline bool ProbeIdHasBeenSet() const { return m_probeIdHasBeenSet; }
55 template <typename ProbeIdT = Aws::String>
56 void SetProbeId(ProbeIdT&& value) {
57 m_probeIdHasBeenSet = true;
58 m_probeId = std::forward<ProbeIdT>(value);
59 }
60 template <typename ProbeIdT = Aws::String>
61 DeleteProbeRequest& WithProbeId(ProbeIdT&& value) {
62 SetProbeId(std::forward<ProbeIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_monitorName;
68
69 Aws::String m_probeId;
70 bool m_monitorNameHasBeenSet = false;
71 bool m_probeIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace NetworkMonitor
76} // namespace Aws
DeleteProbeRequest & WithMonitorName(MonitorNameT &&value)
AWS_NETWORKMONITOR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_NETWORKMONITOR_API DeleteProbeRequest()=default
DeleteProbeRequest & WithProbeId(ProbeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String