AWS SDK for C++  1.8.129
AWS SDK for C++
GetWorkflowRunRequest.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 "GetWorkflowRun"; }
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 GetWorkflowRunRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline GetWorkflowRunRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline GetWorkflowRunRequest& 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 GetWorkflowRunRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
107 
111  inline GetWorkflowRunRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
112 
116  inline GetWorkflowRunRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
117 
118 
122  inline bool GetIncludeGraph() const{ return m_includeGraph; }
123 
127  inline bool IncludeGraphHasBeenSet() const { return m_includeGraphHasBeenSet; }
128 
132  inline void SetIncludeGraph(bool value) { m_includeGraphHasBeenSet = true; m_includeGraph = value; }
133 
137  inline GetWorkflowRunRequest& WithIncludeGraph(bool value) { SetIncludeGraph(value); return *this;}
138 
139  private:
140 
141  Aws::String m_name;
142  bool m_nameHasBeenSet;
143 
144  Aws::String m_runId;
145  bool m_runIdHasBeenSet;
146 
147  bool m_includeGraph;
148  bool m_includeGraphHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace Glue
153 } // namespace Aws
Aws::Glue::Model::GetWorkflowRunRequest::SetName
void SetName(const Aws::String &value)
Definition: GetWorkflowRunRequest.h:50
Aws::Glue::Model::GetWorkflowRunRequest::GetName
const Aws::String & GetName() const
Definition: GetWorkflowRunRequest.h:40
Aws::Glue::Model::GetWorkflowRunRequest::GetWorkflowRunRequest
GetWorkflowRunRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Glue_EXPORTS.h
Aws::Glue::Model::GetWorkflowRunRequest::SetName
void SetName(Aws::String &&value)
Definition: GetWorkflowRunRequest.h:55
Aws::Glue::Model::GetWorkflowRunRequest::WithRunId
GetWorkflowRunRequest & WithRunId(const Aws::String &value)
Definition: GetWorkflowRunRequest.h:106
Aws::Glue::Model::GetWorkflowRunRequest::IncludeGraphHasBeenSet
bool IncludeGraphHasBeenSet() const
Definition: GetWorkflowRunRequest.h:127
Aws::Glue::Model::GetWorkflowRunRequest::GetIncludeGraph
bool GetIncludeGraph() const
Definition: GetWorkflowRunRequest.h:122
Aws::Glue::Model::GetWorkflowRunRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetWorkflowRunRequest.h:30
Aws::Glue::Model::GetWorkflowRunRequest::WithRunId
GetWorkflowRunRequest & WithRunId(Aws::String &&value)
Definition: GetWorkflowRunRequest.h:111
Aws::Glue::Model::GetWorkflowRunRequest
Definition: GetWorkflowRunRequest.h:22
Aws::Glue::Model::GetWorkflowRunRequest::SetRunId
void SetRunId(Aws::String &&value)
Definition: GetWorkflowRunRequest.h:96
Aws::Glue::Model::GetWorkflowRunRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::GetWorkflowRunRequest::WithName
GetWorkflowRunRequest & WithName(Aws::String &&value)
Definition: GetWorkflowRunRequest.h:70
Aws::Glue::Model::GetWorkflowRunRequest::WithRunId
GetWorkflowRunRequest & WithRunId(const char *value)
Definition: GetWorkflowRunRequest.h:116
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetWorkflowRunRequest::WithName
GetWorkflowRunRequest & WithName(const Aws::String &value)
Definition: GetWorkflowRunRequest.h:65
Aws::Glue::Model::GetWorkflowRunRequest::SetRunId
void SetRunId(const Aws::String &value)
Definition: GetWorkflowRunRequest.h:91
AWSString.h
Aws::Glue::Model::GetWorkflowRunRequest::GetRunId
const Aws::String & GetRunId() const
Definition: GetWorkflowRunRequest.h:81
Aws::Glue::Model::GetWorkflowRunRequest::WithName
GetWorkflowRunRequest & WithName(const char *value)
Definition: GetWorkflowRunRequest.h:75
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::GetWorkflowRunRequest::RunIdHasBeenSet
bool RunIdHasBeenSet() const
Definition: GetWorkflowRunRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetWorkflowRunRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::GetWorkflowRunRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetWorkflowRunRequest.h:45
Aws::Glue::Model::GetWorkflowRunRequest::SetName
void SetName(const char *value)
Definition: GetWorkflowRunRequest.h:60
Aws::Glue::Model::GetWorkflowRunRequest::SetRunId
void SetRunId(const char *value)
Definition: GetWorkflowRunRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetWorkflowRunRequest::SetIncludeGraph
void SetIncludeGraph(bool value)
Definition: GetWorkflowRunRequest.h:132
Aws::Glue::Model::GetWorkflowRunRequest::WithIncludeGraph
GetWorkflowRunRequest & WithIncludeGraph(bool value)
Definition: GetWorkflowRunRequest.h:137
GlueRequest.h