AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMonitorRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace deadline
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DEADLINE_API UpdateMonitorRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitor"; }
31
32 AWS_DEADLINE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetMonitorId() const { return m_monitorId; }
40 inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; }
41 template<typename MonitorIdT = Aws::String>
42 void SetMonitorId(MonitorIdT&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::forward<MonitorIdT>(value); }
43 template<typename MonitorIdT = Aws::String>
44 UpdateMonitorRequest& WithMonitorId(MonitorIdT&& value) { SetMonitorId(std::forward<MonitorIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSubdomain() const { return m_subdomain; }
52 inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; }
53 template<typename SubdomainT = Aws::String>
54 void SetSubdomain(SubdomainT&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::forward<SubdomainT>(value); }
55 template<typename SubdomainT = Aws::String>
56 UpdateMonitorRequest& WithSubdomain(SubdomainT&& value) { SetSubdomain(std::forward<SubdomainT>(value)); return *this;}
58
60
66 inline const Aws::String& GetDisplayName() const { return m_displayName; }
67 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
68 template<typename DisplayNameT = Aws::String>
69 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
70 template<typename DisplayNameT = Aws::String>
71 UpdateMonitorRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
73
75
79 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
80 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
81 template<typename RoleArnT = Aws::String>
82 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
83 template<typename RoleArnT = Aws::String>
84 UpdateMonitorRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
86 private:
87
88 Aws::String m_monitorId;
89 bool m_monitorIdHasBeenSet = false;
90
91 Aws::String m_subdomain;
92 bool m_subdomainHasBeenSet = false;
93
94 Aws::String m_displayName;
95 bool m_displayNameHasBeenSet = false;
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace deadline
103} // 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