AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline AmazonRedshiftSource& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline AmazonRedshiftSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline AmazonRedshiftSource& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const AmazonRedshiftNodeData& GetData() const{ return m_data; }
60 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
61 inline void SetData(const AmazonRedshiftNodeData& value) { m_dataHasBeenSet = true; m_data = value; }
62 inline void SetData(AmazonRedshiftNodeData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
63 inline AmazonRedshiftSource& WithData(const AmazonRedshiftNodeData& value) { SetData(value); return *this;}
64 inline AmazonRedshiftSource& WithData(AmazonRedshiftNodeData&& value) { SetData(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
72 bool m_dataHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
AWS_GLUE_API AmazonRedshiftSource(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftSource & WithData(const AmazonRedshiftNodeData &value)
void SetData(const AmazonRedshiftNodeData &value)
AmazonRedshiftSource & WithData(AmazonRedshiftNodeData &&value)
AmazonRedshiftSource & WithName(const char *value)
void SetName(const Aws::String &value)
void SetData(AmazonRedshiftNodeData &&value)
AWS_GLUE_API AmazonRedshiftSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftSource & WithName(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonRedshiftSource & WithName(Aws::String &&value)
const AmazonRedshiftNodeData & GetData() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue