AWS SDK for C++  1.9.103
AWS SDK for C++
RDSDatabase.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetInstanceIdentifier() const{ return m_instanceIdentifier; }
44 
48  inline bool InstanceIdentifierHasBeenSet() const { return m_instanceIdentifierHasBeenSet; }
49 
53  inline void SetInstanceIdentifier(const Aws::String& value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier = value; }
54 
58  inline void SetInstanceIdentifier(Aws::String&& value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier = std::move(value); }
59 
63  inline void SetInstanceIdentifier(const char* value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier.assign(value); }
64 
68  inline RDSDatabase& WithInstanceIdentifier(const Aws::String& value) { SetInstanceIdentifier(value); return *this;}
69 
73  inline RDSDatabase& WithInstanceIdentifier(Aws::String&& value) { SetInstanceIdentifier(std::move(value)); return *this;}
74 
78  inline RDSDatabase& WithInstanceIdentifier(const char* value) { SetInstanceIdentifier(value); return *this;}
79 
80 
81 
82  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
83 
84 
85  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
86 
87 
88  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
89 
90 
91  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
92 
93 
94  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
95 
96 
97  inline RDSDatabase& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
98 
99 
100  inline RDSDatabase& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
101 
102 
103  inline RDSDatabase& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
104 
105  private:
106 
107  Aws::String m_instanceIdentifier;
108  bool m_instanceIdentifierHasBeenSet;
109 
110  Aws::String m_databaseName;
111  bool m_databaseNameHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace MachineLearning
116 } // namespace Aws
Aws::MachineLearning::Model::RDSDatabase::RDSDatabase
RDSDatabase()
Aws::MachineLearning::Model::RDSDatabase::InstanceIdentifierHasBeenSet
bool InstanceIdentifierHasBeenSet() const
Definition: RDSDatabase.h:48
Aws::MachineLearning::Model::RDSDatabase::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: RDSDatabase.h:91
Aws::MachineLearning::Model::RDSDatabase::WithDatabaseName
RDSDatabase & WithDatabaseName(Aws::String &&value)
Definition: RDSDatabase.h:100
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::RDSDatabase::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: RDSDatabase.h:88
Aws::MachineLearning::Model::RDSDatabase::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: RDSDatabase.h:82
Aws::MachineLearning::Model::RDSDatabase::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MachineLearning::Model::RDSDatabase::SetInstanceIdentifier
void SetInstanceIdentifier(const Aws::String &value)
Definition: RDSDatabase.h:53
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::RDSDatabase::SetInstanceIdentifier
void SetInstanceIdentifier(Aws::String &&value)
Definition: RDSDatabase.h:58
Aws::MachineLearning::Model::RDSDatabase::WithInstanceIdentifier
RDSDatabase & WithInstanceIdentifier(const char *value)
Definition: RDSDatabase.h:78
Aws::MachineLearning::Model::RDSDatabase::WithDatabaseName
RDSDatabase & WithDatabaseName(const char *value)
Definition: RDSDatabase.h:103
Aws::MachineLearning::Model::RDSDatabase
Definition: RDSDatabase.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MachineLearning::Model::RDSDatabase::WithInstanceIdentifier
RDSDatabase & WithInstanceIdentifier(const Aws::String &value)
Definition: RDSDatabase.h:68
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::RDSDatabase::SetInstanceIdentifier
void SetInstanceIdentifier(const char *value)
Definition: RDSDatabase.h:63
Aws::MachineLearning::Model::RDSDatabase::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: RDSDatabase.h:94
Aws::MachineLearning::Model::RDSDatabase::operator=
RDSDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RDSDatabase::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: RDSDatabase.h:85
Aws::MachineLearning::Model::RDSDatabase::WithInstanceIdentifier
RDSDatabase & WithInstanceIdentifier(Aws::String &&value)
Definition: RDSDatabase.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::RDSDatabase::RDSDatabase
RDSDatabase(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::RDSDatabase::WithDatabaseName
RDSDatabase & WithDatabaseName(const Aws::String &value)
Definition: RDSDatabase.h:97
Aws::MachineLearning::Model::RDSDatabase::GetInstanceIdentifier
const Aws::String & GetInstanceIdentifier() const
Definition: RDSDatabase.h:43