AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateScriptRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/Language.h>
11#include <aws/glue/model/CodeGenNode.h>
12#include <aws/glue/model/CodeGenEdge.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUE_API CreateScriptRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateScript"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::Vector<CodeGenNode>& GetDagNodes() const { return m_dagNodes; }
45 inline bool DagNodesHasBeenSet() const { return m_dagNodesHasBeenSet; }
46 template<typename DagNodesT = Aws::Vector<CodeGenNode>>
47 void SetDagNodes(DagNodesT&& value) { m_dagNodesHasBeenSet = true; m_dagNodes = std::forward<DagNodesT>(value); }
48 template<typename DagNodesT = Aws::Vector<CodeGenNode>>
49 CreateScriptRequest& WithDagNodes(DagNodesT&& value) { SetDagNodes(std::forward<DagNodesT>(value)); return *this;}
50 template<typename DagNodesT = CodeGenNode>
51 CreateScriptRequest& AddDagNodes(DagNodesT&& value) { m_dagNodesHasBeenSet = true; m_dagNodes.emplace_back(std::forward<DagNodesT>(value)); return *this; }
53
55
58 inline const Aws::Vector<CodeGenEdge>& GetDagEdges() const { return m_dagEdges; }
59 inline bool DagEdgesHasBeenSet() const { return m_dagEdgesHasBeenSet; }
60 template<typename DagEdgesT = Aws::Vector<CodeGenEdge>>
61 void SetDagEdges(DagEdgesT&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges = std::forward<DagEdgesT>(value); }
62 template<typename DagEdgesT = Aws::Vector<CodeGenEdge>>
63 CreateScriptRequest& WithDagEdges(DagEdgesT&& value) { SetDagEdges(std::forward<DagEdgesT>(value)); return *this;}
64 template<typename DagEdgesT = CodeGenEdge>
65 CreateScriptRequest& AddDagEdges(DagEdgesT&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges.emplace_back(std::forward<DagEdgesT>(value)); return *this; }
67
69
72 inline Language GetLanguage() const { return m_language; }
73 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
74 inline void SetLanguage(Language value) { m_languageHasBeenSet = true; m_language = value; }
75 inline CreateScriptRequest& WithLanguage(Language value) { SetLanguage(value); return *this;}
77 private:
78
79 Aws::Vector<CodeGenNode> m_dagNodes;
80 bool m_dagNodesHasBeenSet = false;
81
82 Aws::Vector<CodeGenEdge> m_dagEdges;
83 bool m_dagEdgesHasBeenSet = false;
84
85 Language m_language{Language::NOT_SET};
86 bool m_languageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // namespace Aws
const Aws::Vector< CodeGenEdge > & GetDagEdges() const
CreateScriptRequest & WithLanguage(Language value)
const Aws::Vector< CodeGenNode > & GetDagNodes() const
AWS_GLUE_API CreateScriptRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateScriptRequest & AddDagNodes(DagNodesT &&value)
CreateScriptRequest & AddDagEdges(DagEdgesT &&value)
CreateScriptRequest & WithDagNodes(DagNodesT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateScriptRequest & WithDagEdges(DagEdgesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector