AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline const Aws::String& GetPythonScript() const{ return m_pythonScript; }
40 inline void SetPythonScript(const Aws::String& value) { m_pythonScript = value; }
41 inline void SetPythonScript(Aws::String&& value) { m_pythonScript = std::move(value); }
42 inline void SetPythonScript(const char* value) { m_pythonScript.assign(value); }
43 inline CreateScriptResult& WithPythonScript(const Aws::String& value) { SetPythonScript(value); return *this;}
44 inline CreateScriptResult& WithPythonScript(Aws::String&& value) { SetPythonScript(std::move(value)); return *this;}
45 inline CreateScriptResult& WithPythonScript(const char* value) { SetPythonScript(value); return *this;}
47
49
52 inline const Aws::String& GetScalaCode() const{ return m_scalaCode; }
53 inline void SetScalaCode(const Aws::String& value) { m_scalaCode = value; }
54 inline void SetScalaCode(Aws::String&& value) { m_scalaCode = std::move(value); }
55 inline void SetScalaCode(const char* value) { m_scalaCode.assign(value); }
56 inline CreateScriptResult& WithScalaCode(const Aws::String& value) { SetScalaCode(value); return *this;}
57 inline CreateScriptResult& WithScalaCode(Aws::String&& value) { SetScalaCode(std::move(value)); return *this;}
58 inline CreateScriptResult& WithScalaCode(const char* value) { SetScalaCode(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline CreateScriptResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline CreateScriptResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline CreateScriptResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_pythonScript;
74
75 Aws::String m_scalaCode;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
void SetRequestId(Aws::String &&value)
void SetScalaCode(Aws::String &&value)
CreateScriptResult & WithRequestId(Aws::String &&value)
CreateScriptResult & WithScalaCode(const char *value)
CreateScriptResult & WithPythonScript(const char *value)
AWS_GLUE_API CreateScriptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScriptResult & WithPythonScript(Aws::String &&value)
CreateScriptResult & WithScalaCode(const Aws::String &value)
void SetPythonScript(const Aws::String &value)
CreateScriptResult & WithPythonScript(const Aws::String &value)
void SetScalaCode(const Aws::String &value)
AWS_GLUE_API CreateScriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScriptResult & WithRequestId(const char *value)
void SetPythonScript(Aws::String &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetScalaCode() const
void SetRequestId(const Aws::String &value)
const Aws::String & GetPythonScript() const
CreateScriptResult & WithRequestId(const Aws::String &value)
CreateScriptResult & WithScalaCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue