AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AmazonRedshiftSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/AmazonRedshiftNodeData.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API AmazonRedshiftSource() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 AmazonRedshiftSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const AmazonRedshiftNodeData& GetData() const { return m_data; }
58 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
59 template<typename DataT = AmazonRedshiftNodeData>
60 void SetData(DataT&& value) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
61 template<typename DataT = AmazonRedshiftNodeData>
62 AmazonRedshiftSource& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
64 private:
65
66 Aws::String m_name;
67 bool m_nameHasBeenSet = false;
68
70 bool m_dataHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API AmazonRedshiftSource(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AmazonRedshiftSource()=default
AWS_GLUE_API AmazonRedshiftSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftSource & WithData(DataT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonRedshiftSource & WithName(NameT &&value)
const AmazonRedshiftNodeData & GetData() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue