AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
GetDashboardUrlRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/GlueResourceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetDashboardUrlRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetDashboardUrl"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetResourceId() const { return m_resourceId; }
40 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
41 template <typename ResourceIdT = Aws::String>
42 void SetResourceId(ResourceIdT&& value) {
43 m_resourceIdHasBeenSet = true;
44 m_resourceId = std::forward<ResourceIdT>(value);
45 }
46 template <typename ResourceIdT = Aws::String>
47 GetDashboardUrlRequest& WithResourceId(ResourceIdT&& value) {
48 SetResourceId(std::forward<ResourceIdT>(value));
49 return *this;
50 }
52
54
58 inline GlueResourceType GetResourceType() const { return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
60 inline void SetResourceType(GlueResourceType value) {
61 m_resourceTypeHasBeenSet = true;
62 m_resourceType = value;
63 }
65 SetResourceType(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetRequestOrigin() const { return m_requestOrigin; }
75 inline bool RequestOriginHasBeenSet() const { return m_requestOriginHasBeenSet; }
76 template <typename RequestOriginT = Aws::String>
77 void SetRequestOrigin(RequestOriginT&& value) {
78 m_requestOriginHasBeenSet = true;
79 m_requestOrigin = std::forward<RequestOriginT>(value);
80 }
81 template <typename RequestOriginT = Aws::String>
82 GetDashboardUrlRequest& WithRequestOrigin(RequestOriginT&& value) {
83 SetRequestOrigin(std::forward<RequestOriginT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_resourceId;
89
91
92 Aws::String m_requestOrigin;
93 bool m_resourceIdHasBeenSet = false;
94 bool m_resourceTypeHasBeenSet = false;
95 bool m_requestOriginHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetDashboardUrlRequest & WithResourceType(GlueResourceType value)
AWS_GLUE_API GetDashboardUrlRequest()=default
GetDashboardUrlRequest & WithResourceId(ResourceIdT &&value)
GetDashboardUrlRequest & WithRequestOrigin(RequestOriginT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String