AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDagNodes(const Aws::Vector<CodeGenNode>& value) { m_dagNodesHasBeenSet = true; m_dagNodes = value; }
47 inline void SetDagNodes(Aws::Vector<CodeGenNode>&& value) { m_dagNodesHasBeenSet = true; m_dagNodes = std::move(value); }
48 inline CreateScriptRequest& WithDagNodes(const Aws::Vector<CodeGenNode>& value) { SetDagNodes(value); return *this;}
49 inline CreateScriptRequest& WithDagNodes(Aws::Vector<CodeGenNode>&& value) { SetDagNodes(std::move(value)); return *this;}
50 inline CreateScriptRequest& AddDagNodes(const CodeGenNode& value) { m_dagNodesHasBeenSet = true; m_dagNodes.push_back(value); return *this; }
51 inline CreateScriptRequest& AddDagNodes(CodeGenNode&& value) { m_dagNodesHasBeenSet = true; m_dagNodes.push_back(std::move(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 inline void SetDagEdges(const Aws::Vector<CodeGenEdge>& value) { m_dagEdgesHasBeenSet = true; m_dagEdges = value; }
61 inline void SetDagEdges(Aws::Vector<CodeGenEdge>&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges = std::move(value); }
62 inline CreateScriptRequest& WithDagEdges(const Aws::Vector<CodeGenEdge>& value) { SetDagEdges(value); return *this;}
63 inline CreateScriptRequest& WithDagEdges(Aws::Vector<CodeGenEdge>&& value) { SetDagEdges(std::move(value)); return *this;}
64 inline CreateScriptRequest& AddDagEdges(const CodeGenEdge& value) { m_dagEdgesHasBeenSet = true; m_dagEdges.push_back(value); return *this; }
65 inline CreateScriptRequest& AddDagEdges(CodeGenEdge&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges.push_back(std::move(value)); return *this; }
67
69
72 inline const Language& GetLanguage() const{ return m_language; }
73 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
74 inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; }
75 inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
76 inline CreateScriptRequest& WithLanguage(const Language& value) { SetLanguage(value); return *this;}
77 inline CreateScriptRequest& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;}
79 private:
80
81 Aws::Vector<CodeGenNode> m_dagNodes;
82 bool m_dagNodesHasBeenSet = false;
83
84 Aws::Vector<CodeGenEdge> m_dagEdges;
85 bool m_dagEdgesHasBeenSet = false;
86
87 Language m_language;
88 bool m_languageHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Glue
93} // namespace Aws
CreateScriptRequest & AddDagEdges(const CodeGenEdge &value)
const Aws::Vector< CodeGenEdge > & GetDagEdges() const
void SetDagEdges(Aws::Vector< CodeGenEdge > &&value)
CreateScriptRequest & WithLanguage(Language &&value)
void SetDagNodes(const Aws::Vector< CodeGenNode > &value)
CreateScriptRequest & AddDagNodes(CodeGenNode &&value)
const Aws::Vector< CodeGenNode > & GetDagNodes() const
virtual const char * GetServiceRequestName() const override
CreateScriptRequest & WithDagEdges(const Aws::Vector< CodeGenEdge > &value)
CreateScriptRequest & AddDagNodes(const CodeGenNode &value)
void SetDagEdges(const Aws::Vector< CodeGenEdge > &value)
CreateScriptRequest & AddDagEdges(CodeGenEdge &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDagNodes(Aws::Vector< CodeGenNode > &&value)
CreateScriptRequest & WithLanguage(const Language &value)
CreateScriptRequest & WithDagNodes(Aws::Vector< CodeGenNode > &&value)
CreateScriptRequest & WithDagEdges(Aws::Vector< CodeGenEdge > &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetLanguage(const Language &value)
CreateScriptRequest & WithDagNodes(const Aws::Vector< CodeGenNode > &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