AWS SDK for C++  1.9.109
AWS SDK for C++
RedshiftDatabase.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MachineLearning
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
43 
44 
45  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
46 
47 
48  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
49 
50 
51  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
52 
53 
54  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
55 
56 
57  inline RedshiftDatabase& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
58 
59 
60  inline RedshiftDatabase& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
61 
62 
63  inline RedshiftDatabase& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
64 
65 
66 
67  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
68 
69 
70  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
71 
72 
73  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
74 
75 
76  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
77 
78 
79  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
80 
81 
82  inline RedshiftDatabase& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
83 
84 
85  inline RedshiftDatabase& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
86 
87 
88  inline RedshiftDatabase& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
89 
90  private:
91 
92  Aws::String m_databaseName;
93  bool m_databaseNameHasBeenSet;
94 
95  Aws::String m_clusterIdentifier;
96  bool m_clusterIdentifierHasBeenSet;
97  };
98 
99 } // namespace Model
100 } // namespace MachineLearning
101 } // namespace Aws
Aws::MachineLearning::Model::RedshiftDatabase::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: RedshiftDatabase.h:73
Aws::MachineLearning::Model::RedshiftDatabase::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: RedshiftDatabase.h:48
Aws::MachineLearning::Model::RedshiftDatabase::WithClusterIdentifier
RedshiftDatabase & WithClusterIdentifier(const char *value)
Definition: RedshiftDatabase.h:88
Aws::MachineLearning::Model::RedshiftDatabase::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: RedshiftDatabase.h:51
Aws::MachineLearning::Model::RedshiftDatabase::RedshiftDatabase
RedshiftDatabase(Aws::Utils::Json::JsonView jsonValue)
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::RedshiftDatabase::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MachineLearning::Model::RedshiftDatabase::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: RedshiftDatabase.h:79
Aws::MachineLearning::Model::RedshiftDatabase::operator=
RedshiftDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RedshiftDatabase::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: RedshiftDatabase.h:42
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::RedshiftDatabase::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: RedshiftDatabase.h:76
Aws::MachineLearning::Model::RedshiftDatabase::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: RedshiftDatabase.h:45
Aws::MachineLearning::Model::RedshiftDatabase::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: RedshiftDatabase.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::RedshiftDatabase::WithClusterIdentifier
RedshiftDatabase & WithClusterIdentifier(Aws::String &&value)
Definition: RedshiftDatabase.h:85
Aws::MachineLearning::Model::RedshiftDatabase::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: RedshiftDatabase.h:70
Aws::MachineLearning::Model::RedshiftDatabase::WithDatabaseName
RedshiftDatabase & WithDatabaseName(const Aws::String &value)
Definition: RedshiftDatabase.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::RedshiftDatabase::RedshiftDatabase
RedshiftDatabase()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::RedshiftDatabase::WithClusterIdentifier
RedshiftDatabase & WithClusterIdentifier(const Aws::String &value)
Definition: RedshiftDatabase.h:82
Aws::MachineLearning::Model::RedshiftDatabase::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: RedshiftDatabase.h:54
Aws::MachineLearning::Model::RedshiftDatabase
Definition: RedshiftDatabase.h:33
Aws::MachineLearning::Model::RedshiftDatabase::WithDatabaseName
RedshiftDatabase & WithDatabaseName(const char *value)
Definition: RedshiftDatabase.h:63
Aws::MachineLearning::Model::RedshiftDatabase::WithDatabaseName
RedshiftDatabase & WithDatabaseName(Aws::String &&value)
Definition: RedshiftDatabase.h:60