AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMonitorRequest.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#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace deadline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEADLINE_API CreateMonitorRequest();
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 "CreateMonitor"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline CreateMonitorRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline CreateMonitorRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline CreateMonitorRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
60 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
61 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
62 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
63 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
64 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
65 inline CreateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
66 inline CreateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
67 inline CreateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
69
71
75 inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; }
76 inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; }
77 inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = value; }
78 inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::move(value); }
79 inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn.assign(value); }
82 inline CreateMonitorRequest& WithIdentityCenterInstanceArn(const char* value) { SetIdentityCenterInstanceArn(value); return *this;}
84
86
90 inline const Aws::String& GetSubdomain() const{ return m_subdomain; }
91 inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; }
92 inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; }
93 inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); }
94 inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); }
95 inline CreateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;}
96 inline CreateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;}
97 inline CreateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;}
99
101
106 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
107 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
108 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
109 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
110 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
111 inline CreateMonitorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
112 inline CreateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
113 inline CreateMonitorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
115 private:
116
117 Aws::String m_clientToken;
118 bool m_clientTokenHasBeenSet = false;
119
120 Aws::String m_displayName;
121 bool m_displayNameHasBeenSet = false;
122
123 Aws::String m_identityCenterInstanceArn;
124 bool m_identityCenterInstanceArnHasBeenSet = false;
125
126 Aws::String m_subdomain;
127 bool m_subdomainHasBeenSet = false;
128
129 Aws::String m_roleArn;
130 bool m_roleArnHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace deadline
135} // namespace Aws
void SetIdentityCenterInstanceArn(Aws::String &&value)
void SetIdentityCenterInstanceArn(const Aws::String &value)
CreateMonitorRequest & WithDisplayName(Aws::String &&value)
CreateMonitorRequest & WithClientToken(const char *value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMonitorRequest & WithIdentityCenterInstanceArn(const Aws::String &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateMonitorRequest & WithClientToken(Aws::String &&value)
CreateMonitorRequest & WithClientToken(const Aws::String &value)
CreateMonitorRequest & WithDisplayName(const Aws::String &value)
CreateMonitorRequest & WithRoleArn(const char *value)
void SetDisplayName(const Aws::String &value)
CreateMonitorRequest & WithSubdomain(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateMonitorRequest & WithDisplayName(const char *value)
CreateMonitorRequest & WithIdentityCenterInstanceArn(const char *value)
void SetSubdomain(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateMonitorRequest & WithSubdomain(const Aws::String &value)
CreateMonitorRequest & WithIdentityCenterInstanceArn(Aws::String &&value)
const Aws::String & GetIdentityCenterInstanceArn() const
CreateMonitorRequest & WithRoleArn(const Aws::String &value)
CreateMonitorRequest & WithRoleArn(Aws::String &&value)
CreateMonitorRequest & WithSubdomain(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String