AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetPlanResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
24 public:
25 AWS_GLUE_API GetPlanResult() = default;
28
30
33 inline const Aws::String& GetPythonScript() const { return m_pythonScript; }
34 template <typename PythonScriptT = Aws::String>
35 void SetPythonScript(PythonScriptT&& value) {
36 m_pythonScriptHasBeenSet = true;
37 m_pythonScript = std::forward<PythonScriptT>(value);
38 }
39 template <typename PythonScriptT = Aws::String>
40 GetPlanResult& WithPythonScript(PythonScriptT&& value) {
41 SetPythonScript(std::forward<PythonScriptT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetScalaCode() const { return m_scalaCode; }
51 template <typename ScalaCodeT = Aws::String>
52 void SetScalaCode(ScalaCodeT&& value) {
53 m_scalaCodeHasBeenSet = true;
54 m_scalaCode = std::forward<ScalaCodeT>(value);
55 }
56 template <typename ScalaCodeT = Aws::String>
57 GetPlanResult& WithScalaCode(ScalaCodeT&& value) {
58 SetScalaCode(std::forward<ScalaCodeT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 GetPlanResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_pythonScript;
79
80 Aws::String m_scalaCode;
81
82 Aws::String m_requestId;
83 bool m_pythonScriptHasBeenSet = false;
84 bool m_scalaCodeHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
void SetScalaCode(ScalaCodeT &&value)
AWS_GLUE_API GetPlanResult()=default
GetPlanResult & WithScalaCode(ScalaCodeT &&value)
GetPlanResult & WithPythonScript(PythonScriptT &&value)
GetPlanResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_GLUE_API GetPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetPythonScript() const
void SetRequestId(RequestIdT &&value)
void SetPythonScript(PythonScriptT &&value)
AWS_GLUE_API GetPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetScalaCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue