AWS SDK for C++  1.8.129
AWS SDK for C++
GetWorkflowRunPropertiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glue
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "GetWorkflowRunProperties"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline GetWorkflowRunPropertiesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline GetWorkflowRunPropertiesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline GetWorkflowRunPropertiesRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
81  inline const Aws::String& GetRunId() const{ return m_runId; }
82 
86  inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
87 
91  inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
92 
96  inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
97 
101  inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
102 
106  inline GetWorkflowRunPropertiesRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
107 
111  inline GetWorkflowRunPropertiesRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
112 
116  inline GetWorkflowRunPropertiesRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_name;
121  bool m_nameHasBeenSet;
122 
123  Aws::String m_runId;
124  bool m_runIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace Glue
129 } // namespace Aws
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetName
void SetName(const char *value)
Definition: GetWorkflowRunPropertiesRequest.h:60
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithRunId
GetWorkflowRunPropertiesRequest & WithRunId(const Aws::String &value)
Definition: GetWorkflowRunPropertiesRequest.h:106
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetName
void SetName(Aws::String &&value)
Definition: GetWorkflowRunPropertiesRequest.h:55
Aws::Glue::Model::GetWorkflowRunPropertiesRequest
Definition: GetWorkflowRunPropertiesRequest.h:22
Glue_EXPORTS.h
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetWorkflowRunPropertiesRequest.h:45
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::RunIdHasBeenSet
bool RunIdHasBeenSet() const
Definition: GetWorkflowRunPropertiesRequest.h:86
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetWorkflowRunPropertiesRequest.h:30
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetRunId
void SetRunId(const char *value)
Definition: GetWorkflowRunPropertiesRequest.h:101
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetName
void SetName(const Aws::String &value)
Definition: GetWorkflowRunPropertiesRequest.h:50
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithName
GetWorkflowRunPropertiesRequest & WithName(Aws::String &&value)
Definition: GetWorkflowRunPropertiesRequest.h:70
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithName
GetWorkflowRunPropertiesRequest & WithName(const Aws::String &value)
Definition: GetWorkflowRunPropertiesRequest.h:65
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetRunId
void SetRunId(Aws::String &&value)
Definition: GetWorkflowRunPropertiesRequest.h:96
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithRunId
GetWorkflowRunPropertiesRequest & WithRunId(Aws::String &&value)
Definition: GetWorkflowRunPropertiesRequest.h:111
AWSString.h
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::SetRunId
void SetRunId(const Aws::String &value)
Definition: GetWorkflowRunPropertiesRequest.h:91
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithRunId
GetWorkflowRunPropertiesRequest & WithRunId(const char *value)
Definition: GetWorkflowRunPropertiesRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::WithName
GetWorkflowRunPropertiesRequest & WithName(const char *value)
Definition: GetWorkflowRunPropertiesRequest.h:75
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::GetName
const Aws::String & GetName() const
Definition: GetWorkflowRunPropertiesRequest.h:40
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::GetWorkflowRunPropertiesRequest
GetWorkflowRunPropertiesRequest()
Aws::Glue::Model::GetWorkflowRunPropertiesRequest::GetRunId
const Aws::String & GetRunId() const
Definition: GetWorkflowRunPropertiesRequest.h:81
GlueRequest.h