AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatabaseShortInfoResponse.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_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 DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse();
36 AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
46 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
47 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
48 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
49 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
50 inline DatabaseShortInfoResponse& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
51 inline DatabaseShortInfoResponse& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
52 inline DatabaseShortInfoResponse& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
54
56
59 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
62 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
63 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
64 inline DatabaseShortInfoResponse& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
65 inline DatabaseShortInfoResponse& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
66 inline DatabaseShortInfoResponse& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
68
70
73 inline const Aws::String& GetDatabaseIpAddress() const{ return m_databaseIpAddress; }
74 inline bool DatabaseIpAddressHasBeenSet() const { return m_databaseIpAddressHasBeenSet; }
75 inline void SetDatabaseIpAddress(const Aws::String& value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress = value; }
76 inline void SetDatabaseIpAddress(Aws::String&& value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress = std::move(value); }
77 inline void SetDatabaseIpAddress(const char* value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress.assign(value); }
79 inline DatabaseShortInfoResponse& WithDatabaseIpAddress(Aws::String&& value) { SetDatabaseIpAddress(std::move(value)); return *this;}
80 inline DatabaseShortInfoResponse& WithDatabaseIpAddress(const char* value) { SetDatabaseIpAddress(value); return *this;}
82
84
88 inline const Aws::String& GetDatabaseEngine() const{ return m_databaseEngine; }
89 inline bool DatabaseEngineHasBeenSet() const { return m_databaseEngineHasBeenSet; }
90 inline void SetDatabaseEngine(const Aws::String& value) { m_databaseEngineHasBeenSet = true; m_databaseEngine = value; }
91 inline void SetDatabaseEngine(Aws::String&& value) { m_databaseEngineHasBeenSet = true; m_databaseEngine = std::move(value); }
92 inline void SetDatabaseEngine(const char* value) { m_databaseEngineHasBeenSet = true; m_databaseEngine.assign(value); }
93 inline DatabaseShortInfoResponse& WithDatabaseEngine(const Aws::String& value) { SetDatabaseEngine(value); return *this;}
94 inline DatabaseShortInfoResponse& WithDatabaseEngine(Aws::String&& value) { SetDatabaseEngine(std::move(value)); return *this;}
95 inline DatabaseShortInfoResponse& WithDatabaseEngine(const char* value) { SetDatabaseEngine(value); return *this;}
97 private:
98
99 Aws::String m_databaseId;
100 bool m_databaseIdHasBeenSet = false;
101
102 Aws::String m_databaseName;
103 bool m_databaseNameHasBeenSet = false;
104
105 Aws::String m_databaseIpAddress;
106 bool m_databaseIpAddressHasBeenSet = false;
107
108 Aws::String m_databaseEngine;
109 bool m_databaseEngineHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace DatabaseMigrationService
114} // namespace Aws
DatabaseShortInfoResponse & WithDatabaseEngine(const char *value)
DatabaseShortInfoResponse & WithDatabaseEngine(Aws::String &&value)
DatabaseShortInfoResponse & WithDatabaseName(const Aws::String &value)
DatabaseShortInfoResponse & WithDatabaseId(const Aws::String &value)
DatabaseShortInfoResponse & WithDatabaseIpAddress(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse()
DatabaseShortInfoResponse & WithDatabaseIpAddress(Aws::String &&value)
DatabaseShortInfoResponse & WithDatabaseName(const char *value)
DatabaseShortInfoResponse & WithDatabaseId(Aws::String &&value)
DatabaseShortInfoResponse & WithDatabaseName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
DatabaseShortInfoResponse & WithDatabaseEngine(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DatabaseShortInfoResponse(Aws::Utils::Json::JsonView jsonValue)
DatabaseShortInfoResponse & WithDatabaseIpAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue