AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RedshiftDatabase.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MachineLearning {
20namespace Model {
21
29 public:
30 AWS_MACHINELEARNING_API RedshiftDatabase() = default;
31 AWS_MACHINELEARNING_API RedshiftDatabase(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MACHINELEARNING_API RedshiftDatabase& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
38 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
39 template <typename DatabaseNameT = Aws::String>
40 void SetDatabaseName(DatabaseNameT&& value) {
41 m_databaseNameHasBeenSet = true;
42 m_databaseName = std::forward<DatabaseNameT>(value);
43 }
44 template <typename DatabaseNameT = Aws::String>
45 RedshiftDatabase& WithDatabaseName(DatabaseNameT&& value) {
46 SetDatabaseName(std::forward<DatabaseNameT>(value));
47 return *this;
48 }
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) {
57 m_clusterIdentifierHasBeenSet = true;
58 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
59 }
60 template <typename ClusterIdentifierT = Aws::String>
61 RedshiftDatabase& WithClusterIdentifier(ClusterIdentifierT&& value) {
62 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_databaseName;
68
69 Aws::String m_clusterIdentifier;
70 bool m_databaseNameHasBeenSet = false;
71 bool m_clusterIdentifierHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace MachineLearning
76} // 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