AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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