AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
GetResourceDashboardRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerlessRequest.h>
9#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
10#include <aws/emr-serverless/model/ResourceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace EMRServerless {
19namespace Model {
20
24 public:
25 AWS_EMRSERVERLESS_API GetResourceDashboardRequest() = 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 "GetResourceDashboard"; }
32
33 AWS_EMRSERVERLESS_API Aws::String SerializePayload() const override;
34
35 AWS_EMRSERVERLESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) {
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetResourceId() const { return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 template <typename ResourceIdT = Aws::String>
62 void SetResourceId(ResourceIdT&& value) {
63 m_resourceIdHasBeenSet = true;
64 m_resourceId = std::forward<ResourceIdT>(value);
65 }
66 template <typename ResourceIdT = Aws::String>
68 SetResourceId(std::forward<ResourceIdT>(value));
69 return *this;
70 }
72
74
78 inline ResourceType GetResourceType() const { return m_resourceType; }
79 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
80 inline void SetResourceType(ResourceType value) {
81 m_resourceTypeHasBeenSet = true;
82 m_resourceType = value;
83 }
85 SetResourceType(value);
86 return *this;
87 }
89
91
95 inline bool GetAccessSystemProfileLogs() const { return m_accessSystemProfileLogs; }
96 inline bool AccessSystemProfileLogsHasBeenSet() const { return m_accessSystemProfileLogsHasBeenSet; }
97 inline void SetAccessSystemProfileLogs(bool value) {
98 m_accessSystemProfileLogsHasBeenSet = true;
99 m_accessSystemProfileLogs = value;
100 }
103 return *this;
104 }
106 private:
107 Aws::String m_applicationId;
108
109 Aws::String m_resourceId;
110
111 ResourceType m_resourceType{ResourceType::NOT_SET};
112
113 bool m_accessSystemProfileLogs{false};
114 bool m_applicationIdHasBeenSet = false;
115 bool m_resourceIdHasBeenSet = false;
116 bool m_resourceTypeHasBeenSet = false;
117 bool m_accessSystemProfileLogsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace EMRServerless
122} // namespace Aws
GetResourceDashboardRequest & WithResourceType(ResourceType value)
AWS_EMRSERVERLESS_API Aws::String SerializePayload() const override
GetResourceDashboardRequest & WithResourceId(ResourceIdT &&value)
GetResourceDashboardRequest & WithApplicationId(ApplicationIdT &&value)
AWS_EMRSERVERLESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_EMRSERVERLESS_API GetResourceDashboardRequest()=default
GetResourceDashboardRequest & WithAccessSystemProfileLogs(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String