AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateMonitorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace deadline {
15namespace Model {
16
20 public:
21 AWS_DEADLINE_API UpdateMonitorRequest() = 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 "UpdateMonitor"; }
28
29 AWS_DEADLINE_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetMonitorId() const { return m_monitorId; }
36 inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; }
37 template <typename MonitorIdT = Aws::String>
38 void SetMonitorId(MonitorIdT&& value) {
39 m_monitorIdHasBeenSet = true;
40 m_monitorId = std::forward<MonitorIdT>(value);
41 }
42 template <typename MonitorIdT = Aws::String>
43 UpdateMonitorRequest& WithMonitorId(MonitorIdT&& value) {
44 SetMonitorId(std::forward<MonitorIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSubdomain() const { return m_subdomain; }
54 inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; }
55 template <typename SubdomainT = Aws::String>
56 void SetSubdomain(SubdomainT&& value) {
57 m_subdomainHasBeenSet = true;
58 m_subdomain = std::forward<SubdomainT>(value);
59 }
60 template <typename SubdomainT = Aws::String>
61 UpdateMonitorRequest& WithSubdomain(SubdomainT&& value) {
62 SetSubdomain(std::forward<SubdomainT>(value));
63 return *this;
64 }
66
68
74 inline const Aws::String& GetDisplayName() const { return m_displayName; }
75 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
76 template <typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) {
78 m_displayNameHasBeenSet = true;
79 m_displayName = std::forward<DisplayNameT>(value);
80 }
81 template <typename DisplayNameT = Aws::String>
82 UpdateMonitorRequest& WithDisplayName(DisplayNameT&& value) {
83 SetDisplayName(std::forward<DisplayNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
93 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
94 template <typename RoleArnT = Aws::String>
95 void SetRoleArn(RoleArnT&& value) {
96 m_roleArnHasBeenSet = true;
97 m_roleArn = std::forward<RoleArnT>(value);
98 }
99 template <typename RoleArnT = Aws::String>
101 SetRoleArn(std::forward<RoleArnT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_monitorId;
107
108 Aws::String m_subdomain;
109
110 Aws::String m_displayName;
111
112 Aws::String m_roleArn;
113 bool m_monitorIdHasBeenSet = false;
114 bool m_subdomainHasBeenSet = false;
115 bool m_displayNameHasBeenSet = false;
116 bool m_roleArnHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace deadline
121} // namespace Aws
AWS_DEADLINE_API UpdateMonitorRequest()=default
UpdateMonitorRequest & WithMonitorId(MonitorIdT &&value)
UpdateMonitorRequest & WithSubdomain(SubdomainT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateMonitorRequest & WithDisplayName(DisplayNameT &&value)
UpdateMonitorRequest & WithRoleArn(RoleArnT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String