AWS SDK for C++  1.9.104
AWS SDK for C++
EngineVersion.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Athena
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const Aws::String& GetSelectedEngineVersion() const{ return m_selectedEngineVersion; }
46 
52  inline bool SelectedEngineVersionHasBeenSet() const { return m_selectedEngineVersionHasBeenSet; }
53 
59  inline void SetSelectedEngineVersion(const Aws::String& value) { m_selectedEngineVersionHasBeenSet = true; m_selectedEngineVersion = value; }
60 
66  inline void SetSelectedEngineVersion(Aws::String&& value) { m_selectedEngineVersionHasBeenSet = true; m_selectedEngineVersion = std::move(value); }
67 
73  inline void SetSelectedEngineVersion(const char* value) { m_selectedEngineVersionHasBeenSet = true; m_selectedEngineVersion.assign(value); }
74 
80  inline EngineVersion& WithSelectedEngineVersion(const Aws::String& value) { SetSelectedEngineVersion(value); return *this;}
81 
87  inline EngineVersion& WithSelectedEngineVersion(Aws::String&& value) { SetSelectedEngineVersion(std::move(value)); return *this;}
88 
94  inline EngineVersion& WithSelectedEngineVersion(const char* value) { SetSelectedEngineVersion(value); return *this;}
95 
96 
106  inline const Aws::String& GetEffectiveEngineVersion() const{ return m_effectiveEngineVersion; }
107 
117  inline bool EffectiveEngineVersionHasBeenSet() const { return m_effectiveEngineVersionHasBeenSet; }
118 
128  inline void SetEffectiveEngineVersion(const Aws::String& value) { m_effectiveEngineVersionHasBeenSet = true; m_effectiveEngineVersion = value; }
129 
139  inline void SetEffectiveEngineVersion(Aws::String&& value) { m_effectiveEngineVersionHasBeenSet = true; m_effectiveEngineVersion = std::move(value); }
140 
150  inline void SetEffectiveEngineVersion(const char* value) { m_effectiveEngineVersionHasBeenSet = true; m_effectiveEngineVersion.assign(value); }
151 
161  inline EngineVersion& WithEffectiveEngineVersion(const Aws::String& value) { SetEffectiveEngineVersion(value); return *this;}
162 
172  inline EngineVersion& WithEffectiveEngineVersion(Aws::String&& value) { SetEffectiveEngineVersion(std::move(value)); return *this;}
173 
183  inline EngineVersion& WithEffectiveEngineVersion(const char* value) { SetEffectiveEngineVersion(value); return *this;}
184 
185  private:
186 
187  Aws::String m_selectedEngineVersion;
188  bool m_selectedEngineVersionHasBeenSet;
189 
190  Aws::String m_effectiveEngineVersion;
191  bool m_effectiveEngineVersionHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace Athena
196 } // namespace Aws
Aws::Athena::Model::EngineVersion::operator=
EngineVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::EngineVersion::WithSelectedEngineVersion
EngineVersion & WithSelectedEngineVersion(const char *value)
Definition: EngineVersion.h:94
Aws::Athena::Model::EngineVersion::WithSelectedEngineVersion
EngineVersion & WithSelectedEngineVersion(const Aws::String &value)
Definition: EngineVersion.h:80
Aws::Athena::Model::EngineVersion::WithEffectiveEngineVersion
EngineVersion & WithEffectiveEngineVersion(const char *value)
Definition: EngineVersion.h:183
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::EngineVersion::GetEffectiveEngineVersion
const Aws::String & GetEffectiveEngineVersion() const
Definition: EngineVersion.h:106
Aws::Athena::Model::EngineVersion
Definition: EngineVersion.h:32
Aws::Athena::Model::EngineVersion::SelectedEngineVersionHasBeenSet
bool SelectedEngineVersionHasBeenSet() const
Definition: EngineVersion.h:52
Aws::Athena::Model::EngineVersion::SetEffectiveEngineVersion
void SetEffectiveEngineVersion(const char *value)
Definition: EngineVersion.h:150
Aws::Athena::Model::EngineVersion::SetEffectiveEngineVersion
void SetEffectiveEngineVersion(const Aws::String &value)
Definition: EngineVersion.h:128
Aws::Athena::Model::EngineVersion::WithEffectiveEngineVersion
EngineVersion & WithEffectiveEngineVersion(Aws::String &&value)
Definition: EngineVersion.h:172
Aws::Athena::Model::EngineVersion::SetSelectedEngineVersion
void SetSelectedEngineVersion(const Aws::String &value)
Definition: EngineVersion.h:59
Aws::Athena::Model::EngineVersion::WithEffectiveEngineVersion
EngineVersion & WithEffectiveEngineVersion(const Aws::String &value)
Definition: EngineVersion.h:161
Aws::Athena::Model::EngineVersion::EngineVersion
EngineVersion()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::EngineVersion::SetEffectiveEngineVersion
void SetEffectiveEngineVersion(Aws::String &&value)
Definition: EngineVersion.h:139
Aws::Athena::Model::EngineVersion::GetSelectedEngineVersion
const Aws::String & GetSelectedEngineVersion() const
Definition: EngineVersion.h:45
Aws::Athena::Model::EngineVersion::SetSelectedEngineVersion
void SetSelectedEngineVersion(Aws::String &&value)
Definition: EngineVersion.h:66
Aws::Athena::Model::EngineVersion::EffectiveEngineVersionHasBeenSet
bool EffectiveEngineVersionHasBeenSet() const
Definition: EngineVersion.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::EngineVersion::EngineVersion
EngineVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::EngineVersion::WithSelectedEngineVersion
EngineVersion & WithSelectedEngineVersion(Aws::String &&value)
Definition: EngineVersion.h:87
Aws::Athena::Model::EngineVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::EngineVersion::SetSelectedEngineVersion
void SetSelectedEngineVersion(const char *value)
Definition: EngineVersion.h:73