AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmazonRedshiftTarget.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API AmazonRedshiftTarget();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AmazonRedshiftTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AmazonRedshiftTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AmazonRedshiftTarget& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const AmazonRedshiftNodeData& GetData() const{ return m_data; }
61 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
62 inline void SetData(const AmazonRedshiftNodeData& value) { m_dataHasBeenSet = true; m_data = value; }
63 inline void SetData(AmazonRedshiftNodeData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
64 inline AmazonRedshiftTarget& WithData(const AmazonRedshiftNodeData& value) { SetData(value); return *this;}
65 inline AmazonRedshiftTarget& WithData(AmazonRedshiftNodeData&& value) { SetData(std::move(value)); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
73 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
74 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
75 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
76 inline AmazonRedshiftTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
77 inline AmazonRedshiftTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
78 inline AmazonRedshiftTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
79 inline AmazonRedshiftTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
80 inline AmazonRedshiftTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
88 bool m_dataHasBeenSet = false;
89
91 bool m_inputsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
AmazonRedshiftTarget & AddInputs(Aws::String &&value)
AmazonRedshiftTarget & WithData(const AmazonRedshiftNodeData &value)
AWS_GLUE_API AmazonRedshiftTarget(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(const Aws::Vector< Aws::String > &value)
AmazonRedshiftTarget & AddInputs(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
const AmazonRedshiftNodeData & GetData() const
const Aws::Vector< Aws::String > & GetInputs() const
AWS_GLUE_API AmazonRedshiftTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftTarget & WithName(const Aws::String &value)
void SetData(AmazonRedshiftNodeData &&value)
AmazonRedshiftTarget & WithInputs(Aws::Vector< Aws::String > &&value)
void SetName(const Aws::String &value)
void SetData(const AmazonRedshiftNodeData &value)
AmazonRedshiftTarget & WithName(Aws::String &&value)
AmazonRedshiftTarget & WithName(const char *value)
AmazonRedshiftTarget & AddInputs(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonRedshiftTarget & WithData(AmazonRedshiftNodeData &&value)
AmazonRedshiftTarget & WithInputs(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue