AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DatabaseNameT = Aws::String>
46 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
47 template<typename DatabaseNameT = Aws::String>
48 RedshiftDatabase& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
50
52
53 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
54 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
55 template<typename ClusterIdentifierT = Aws::String>
56 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
57 template<typename ClusterIdentifierT = Aws::String>
58 RedshiftDatabase& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
60 private:
61
62 Aws::String m_databaseName;
63 bool m_databaseNameHasBeenSet = false;
64
65 Aws::String m_clusterIdentifier;
66 bool m_clusterIdentifierHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MachineLearning
71} // namespace Aws
RedshiftDatabase & WithDatabaseName(DatabaseNameT &&value)
AWS_MACHINELEARNING_API RedshiftDatabase(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClusterIdentifier() const
AWS_MACHINELEARNING_API RedshiftDatabase()=default
void SetClusterIdentifier(ClusterIdentifierT &&value)
AWS_MACHINELEARNING_API RedshiftDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatabase & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue