AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDatabase.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_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 MachineLearning
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MACHINELEARNING_API RedshiftDatabase();
36 AWS_MACHINELEARNING_API RedshiftDatabase(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MACHINELEARNING_API RedshiftDatabase& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
44 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
45 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
46 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
47 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
48 inline RedshiftDatabase& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
49 inline RedshiftDatabase& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
50 inline RedshiftDatabase& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
52
54
55 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
56 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
57 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
58 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
59 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
60 inline RedshiftDatabase& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
61 inline RedshiftDatabase& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
62 inline RedshiftDatabase& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
64 private:
65
66 Aws::String m_databaseName;
67 bool m_databaseNameHasBeenSet = false;
68
69 Aws::String m_clusterIdentifier;
70 bool m_clusterIdentifierHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MachineLearning
75} // namespace Aws
RedshiftDatabase & WithClusterIdentifier(Aws::String &&value)
AWS_MACHINELEARNING_API RedshiftDatabase(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClusterIdentifier() const
AWS_MACHINELEARNING_API RedshiftDatabase()
RedshiftDatabase & WithDatabaseName(const char *value)
RedshiftDatabase & WithClusterIdentifier(const char *value)
RedshiftDatabase & WithDatabaseName(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
AWS_MACHINELEARNING_API RedshiftDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClusterIdentifier(const Aws::String &value)
RedshiftDatabase & WithClusterIdentifier(const Aws::String &value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDatabase & WithDatabaseName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue