AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDSDatabase.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
32 {
33 public:
34 AWS_MACHINELEARNING_API RDSDatabase();
35 AWS_MACHINELEARNING_API RDSDatabase(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MACHINELEARNING_API RDSDatabase& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetInstanceIdentifier() const{ return m_instanceIdentifier; }
45 inline bool InstanceIdentifierHasBeenSet() const { return m_instanceIdentifierHasBeenSet; }
46 inline void SetInstanceIdentifier(const Aws::String& value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier = value; }
47 inline void SetInstanceIdentifier(Aws::String&& value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier = std::move(value); }
48 inline void SetInstanceIdentifier(const char* value) { m_instanceIdentifierHasBeenSet = true; m_instanceIdentifier.assign(value); }
49 inline RDSDatabase& WithInstanceIdentifier(const Aws::String& value) { SetInstanceIdentifier(value); return *this;}
50 inline RDSDatabase& WithInstanceIdentifier(Aws::String&& value) { SetInstanceIdentifier(std::move(value)); return *this;}
51 inline RDSDatabase& WithInstanceIdentifier(const char* value) { SetInstanceIdentifier(value); return *this;}
53
55
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline RDSDatabase& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline RDSDatabase& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline RDSDatabase& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65 private:
66
67 Aws::String m_instanceIdentifier;
68 bool m_instanceIdentifierHasBeenSet = false;
69
70 Aws::String m_databaseName;
71 bool m_databaseNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MachineLearning
76} // namespace Aws
RDSDatabase & WithInstanceIdentifier(const char *value)
Definition RDSDatabase.h:51
RDSDatabase & WithInstanceIdentifier(const Aws::String &value)
Definition RDSDatabase.h:49
void SetInstanceIdentifier(const char *value)
Definition RDSDatabase.h:48
const Aws::String & GetInstanceIdentifier() const
Definition RDSDatabase.h:44
RDSDatabase & WithDatabaseName(Aws::String &&value)
Definition RDSDatabase.h:62
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatabaseName(const Aws::String &value)
Definition RDSDatabase.h:58
RDSDatabase & WithDatabaseName(const char *value)
Definition RDSDatabase.h:63
RDSDatabase & WithInstanceIdentifier(Aws::String &&value)
Definition RDSDatabase.h:50
void SetDatabaseName(Aws::String &&value)
Definition RDSDatabase.h:59
AWS_MACHINELEARNING_API RDSDatabase()
void SetInstanceIdentifier(const Aws::String &value)
Definition RDSDatabase.h:46
AWS_MACHINELEARNING_API RDSDatabase(Aws::Utils::Json::JsonView jsonValue)
RDSDatabase & WithDatabaseName(const Aws::String &value)
Definition RDSDatabase.h:61
AWS_MACHINELEARNING_API RDSDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(const char *value)
Definition RDSDatabase.h:60
const Aws::String & GetDatabaseName() const
Definition RDSDatabase.h:56
void SetInstanceIdentifier(Aws::String &&value)
Definition RDSDatabase.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue