AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqlAlias.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API SqlAlias();
36 AWS_GLUE_API SqlAlias(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetFrom() const{ return m_from; }
46 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
47 inline void SetFrom(const Aws::String& value) { m_fromHasBeenSet = true; m_from = value; }
48 inline void SetFrom(Aws::String&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
49 inline void SetFrom(const char* value) { m_fromHasBeenSet = true; m_from.assign(value); }
50 inline SqlAlias& WithFrom(const Aws::String& value) { SetFrom(value); return *this;}
51 inline SqlAlias& WithFrom(Aws::String&& value) { SetFrom(std::move(value)); return *this;}
52 inline SqlAlias& WithFrom(const char* value) { SetFrom(value); return *this;}
54
56
59 inline const Aws::String& GetAlias() const{ return m_alias; }
60 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
61 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
62 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
63 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
64 inline SqlAlias& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
65 inline SqlAlias& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
66 inline SqlAlias& WithAlias(const char* value) { SetAlias(value); return *this;}
68 private:
69
70 Aws::String m_from;
71 bool m_fromHasBeenSet = false;
72
73 Aws::String m_alias;
74 bool m_aliasHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
void SetFrom(Aws::String &&value)
Definition SqlAlias.h:48
void SetAlias(const char *value)
Definition SqlAlias.h:63
const Aws::String & GetFrom() const
Definition SqlAlias.h:45
AWS_GLUE_API SqlAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlAlias & WithAlias(const char *value)
Definition SqlAlias.h:66
void SetFrom(const char *value)
Definition SqlAlias.h:49
SqlAlias & WithFrom(const char *value)
Definition SqlAlias.h:52
bool FromHasBeenSet() const
Definition SqlAlias.h:46
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API SqlAlias(Aws::Utils::Json::JsonView jsonValue)
SqlAlias & WithFrom(const Aws::String &value)
Definition SqlAlias.h:50
SqlAlias & WithAlias(const Aws::String &value)
Definition SqlAlias.h:64
const Aws::String & GetAlias() const
Definition SqlAlias.h:59
SqlAlias & WithAlias(Aws::String &&value)
Definition SqlAlias.h:65
SqlAlias & WithFrom(Aws::String &&value)
Definition SqlAlias.h:51
void SetFrom(const Aws::String &value)
Definition SqlAlias.h:47
void SetAlias(const Aws::String &value)
Definition SqlAlias.h:61
bool AliasHasBeenSet() const
Definition SqlAlias.h:60
void SetAlias(Aws::String &&value)
Definition SqlAlias.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue