AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; }
42 inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); }
43 inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); }
44 inline UpdateMonitorRequest& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;}
45 inline UpdateMonitorRequest& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;}
46 inline UpdateMonitorRequest& WithMonitorId(const char* value) { SetMonitorId(value); return *this;}
48
50
53 inline const Aws::String& GetSubdomain() const{ return m_subdomain; }
54 inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; }
55 inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; }
56 inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); }
57 inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); }
58 inline UpdateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;}
59 inline UpdateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;}
60 inline UpdateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;}
62
64
70 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
71 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
72 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
73 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
74 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
75 inline UpdateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
76 inline UpdateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
77 inline UpdateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
79
81
85 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
86 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
87 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
88 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
89 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
90 inline UpdateMonitorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
91 inline UpdateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
92 inline UpdateMonitorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
94 private:
95
96 Aws::String m_monitorId;
97 bool m_monitorIdHasBeenSet = false;
98
99 Aws::String m_subdomain;
100 bool m_subdomainHasBeenSet = false;
101
102 Aws::String m_displayName;
103 bool m_displayNameHasBeenSet = false;
104
105 Aws::String m_roleArn;
106 bool m_roleArnHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
UpdateMonitorRequest & WithMonitorId(const char *value)
UpdateMonitorRequest & WithSubdomain(Aws::String &&value)
UpdateMonitorRequest & WithDisplayName(const Aws::String &value)
void SetDisplayName(const Aws::String &value)
UpdateMonitorRequest & WithMonitorId(const Aws::String &value)
UpdateMonitorRequest & WithRoleArn(Aws::String &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetSubdomain(const Aws::String &value)
UpdateMonitorRequest & WithMonitorId(Aws::String &&value)
void SetMonitorId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateMonitorRequest & WithRoleArn(const char *value)
UpdateMonitorRequest & WithDisplayName(const char *value)
UpdateMonitorRequest & WithSubdomain(const char *value)
UpdateMonitorRequest & WithSubdomain(const Aws::String &value)
UpdateMonitorRequest & WithRoleArn(const Aws::String &value)
UpdateMonitorRequest & WithDisplayName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String