AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftMetadata.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/model/RedshiftDatabase.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MachineLearning
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MACHINELEARNING_API RedshiftMetadata();
37 AWS_MACHINELEARNING_API RedshiftMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACHINELEARNING_API RedshiftMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const RedshiftDatabase& GetRedshiftDatabase() const{ return m_redshiftDatabase; }
45 inline bool RedshiftDatabaseHasBeenSet() const { return m_redshiftDatabaseHasBeenSet; }
46 inline void SetRedshiftDatabase(const RedshiftDatabase& value) { m_redshiftDatabaseHasBeenSet = true; m_redshiftDatabase = value; }
47 inline void SetRedshiftDatabase(RedshiftDatabase&& value) { m_redshiftDatabaseHasBeenSet = true; m_redshiftDatabase = std::move(value); }
48 inline RedshiftMetadata& WithRedshiftDatabase(const RedshiftDatabase& value) { SetRedshiftDatabase(value); return *this;}
49 inline RedshiftMetadata& WithRedshiftDatabase(RedshiftDatabase&& value) { SetRedshiftDatabase(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetDatabaseUserName() const{ return m_databaseUserName; }
55 inline bool DatabaseUserNameHasBeenSet() const { return m_databaseUserNameHasBeenSet; }
56 inline void SetDatabaseUserName(const Aws::String& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = value; }
57 inline void SetDatabaseUserName(Aws::String&& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = std::move(value); }
58 inline void SetDatabaseUserName(const char* value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName.assign(value); }
59 inline RedshiftMetadata& WithDatabaseUserName(const Aws::String& value) { SetDatabaseUserName(value); return *this;}
60 inline RedshiftMetadata& WithDatabaseUserName(Aws::String&& value) { SetDatabaseUserName(std::move(value)); return *this;}
61 inline RedshiftMetadata& WithDatabaseUserName(const char* value) { SetDatabaseUserName(value); return *this;}
63
65
69 inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
70 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
71 inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
72 inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
73 inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
74 inline RedshiftMetadata& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
75 inline RedshiftMetadata& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
76 inline RedshiftMetadata& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
78 private:
79
80 RedshiftDatabase m_redshiftDatabase;
81 bool m_redshiftDatabaseHasBeenSet = false;
82
83 Aws::String m_databaseUserName;
84 bool m_databaseUserNameHasBeenSet = false;
85
86 Aws::String m_selectSqlQuery;
87 bool m_selectSqlQueryHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MachineLearning
92} // namespace Aws
RedshiftMetadata & WithRedshiftDatabase(RedshiftDatabase &&value)
RedshiftMetadata & WithDatabaseUserName(Aws::String &&value)
void SetRedshiftDatabase(const RedshiftDatabase &value)
const RedshiftDatabase & GetRedshiftDatabase() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftMetadata & WithSelectSqlQuery(Aws::String &&value)
RedshiftMetadata & WithDatabaseUserName(const char *value)
AWS_MACHINELEARNING_API RedshiftMetadata()
RedshiftMetadata & WithDatabaseUserName(const Aws::String &value)
RedshiftMetadata & WithSelectSqlQuery(const Aws::String &value)
void SetSelectSqlQuery(const Aws::String &value)
RedshiftMetadata & WithRedshiftDatabase(const RedshiftDatabase &value)
const Aws::String & GetDatabaseUserName() const
AWS_MACHINELEARNING_API RedshiftMetadata(Aws::Utils::Json::JsonView jsonValue)
RedshiftMetadata & WithSelectSqlQuery(const char *value)
void SetRedshiftDatabase(RedshiftDatabase &&value)
AWS_MACHINELEARNING_API RedshiftMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseUserName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue