AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SessionCommand.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API SessionCommand() = default;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 SessionCommand& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetPythonVersion() const { return m_pythonVersion; }
60 inline bool PythonVersionHasBeenSet() const { return m_pythonVersionHasBeenSet; }
61 template <typename PythonVersionT = Aws::String>
62 void SetPythonVersion(PythonVersionT&& value) {
63 m_pythonVersionHasBeenSet = true;
64 m_pythonVersion = std::forward<PythonVersionT>(value);
65 }
66 template <typename PythonVersionT = Aws::String>
67 SessionCommand& WithPythonVersion(PythonVersionT&& value) {
68 SetPythonVersion(std::forward<PythonVersionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_name;
74
75 Aws::String m_pythonVersion;
76 bool m_nameHasBeenSet = false;
77 bool m_pythonVersionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
AWS_GLUE_API SessionCommand(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetPythonVersion() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API SessionCommand & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionCommand & WithPythonVersion(PythonVersionT &&value)
void SetPythonVersion(PythonVersionT &&value)
SessionCommand & WithName(NameT &&value)
AWS_GLUE_API SessionCommand()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue