AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EngineVersion.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Athena {
20namespace Model {
21
29 public:
30 AWS_ATHENA_API EngineVersion() = default;
31 AWS_ATHENA_API EngineVersion(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetSelectedEngineVersion() const { return m_selectedEngineVersion; }
42 inline bool SelectedEngineVersionHasBeenSet() const { return m_selectedEngineVersionHasBeenSet; }
43 template <typename SelectedEngineVersionT = Aws::String>
44 void SetSelectedEngineVersion(SelectedEngineVersionT&& value) {
45 m_selectedEngineVersionHasBeenSet = true;
46 m_selectedEngineVersion = std::forward<SelectedEngineVersionT>(value);
47 }
48 template <typename SelectedEngineVersionT = Aws::String>
49 EngineVersion& WithSelectedEngineVersion(SelectedEngineVersionT&& value) {
50 SetSelectedEngineVersion(std::forward<SelectedEngineVersionT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::String& GetEffectiveEngineVersion() const { return m_effectiveEngineVersion; }
66 inline bool EffectiveEngineVersionHasBeenSet() const { return m_effectiveEngineVersionHasBeenSet; }
67 template <typename EffectiveEngineVersionT = Aws::String>
68 void SetEffectiveEngineVersion(EffectiveEngineVersionT&& value) {
69 m_effectiveEngineVersionHasBeenSet = true;
70 m_effectiveEngineVersion = std::forward<EffectiveEngineVersionT>(value);
71 }
72 template <typename EffectiveEngineVersionT = Aws::String>
73 EngineVersion& WithEffectiveEngineVersion(EffectiveEngineVersionT&& value) {
74 SetEffectiveEngineVersion(std::forward<EffectiveEngineVersionT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_selectedEngineVersion;
80
81 Aws::String m_effectiveEngineVersion;
82 bool m_selectedEngineVersionHasBeenSet = false;
83 bool m_effectiveEngineVersionHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Athena
88} // namespace Aws
const Aws::String & GetEffectiveEngineVersion() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEffectiveEngineVersion(EffectiveEngineVersionT &&value)
AWS_ATHENA_API EngineVersion()=default
const Aws::String & GetSelectedEngineVersion() const
EngineVersion & WithEffectiveEngineVersion(EffectiveEngineVersionT &&value)
void SetSelectedEngineVersion(SelectedEngineVersionT &&value)
AWS_ATHENA_API EngineVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API EngineVersion(Aws::Utils::Json::JsonView jsonValue)
EngineVersion & WithSelectedEngineVersion(SelectedEngineVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue