AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 CreateMonitorRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 template<typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<typename DisplayNameT = Aws::String>
63 CreateMonitorRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetIdentityCenterInstanceArn() const { return m_identityCenterInstanceArn; }
72 inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; }
73 template<typename IdentityCenterInstanceArnT = Aws::String>
74 void SetIdentityCenterInstanceArn(IdentityCenterInstanceArnT&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::forward<IdentityCenterInstanceArnT>(value); }
75 template<typename IdentityCenterInstanceArnT = Aws::String>
76 CreateMonitorRequest& WithIdentityCenterInstanceArn(IdentityCenterInstanceArnT&& value) { SetIdentityCenterInstanceArn(std::forward<IdentityCenterInstanceArnT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSubdomain() const { return m_subdomain; }
85 inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; }
86 template<typename SubdomainT = Aws::String>
87 void SetSubdomain(SubdomainT&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::forward<SubdomainT>(value); }
88 template<typename SubdomainT = Aws::String>
89 CreateMonitorRequest& WithSubdomain(SubdomainT&& value) { SetSubdomain(std::forward<SubdomainT>(value)); return *this;}
91
93
98 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
99 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
100 template<typename RoleArnT = Aws::String>
101 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
102 template<typename RoleArnT = Aws::String>
103 CreateMonitorRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
105 private:
106
108 bool m_clientTokenHasBeenSet = true;
109
110 Aws::String m_displayName;
111 bool m_displayNameHasBeenSet = false;
112
113 Aws::String m_identityCenterInstanceArn;
114 bool m_identityCenterInstanceArnHasBeenSet = false;
115
116 Aws::String m_subdomain;
117 bool m_subdomainHasBeenSet = false;
118
119 Aws::String m_roleArn;
120 bool m_roleArnHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace deadline
125} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateMonitorRequest & WithRoleArn(RoleArnT &&value)
CreateMonitorRequest & WithSubdomain(SubdomainT &&value)
CreateMonitorRequest & WithDisplayName(DisplayNameT &&value)
CreateMonitorRequest & WithClientToken(ClientTokenT &&value)
void SetIdentityCenterInstanceArn(IdentityCenterInstanceArnT &&value)
AWS_DEADLINE_API CreateMonitorRequest()=default
CreateMonitorRequest & WithIdentityCenterInstanceArn(IdentityCenterInstanceArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIdentityCenterInstanceArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String