AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaShortInfoResponse.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 SchemaShortInfoResponse();
36 AWS_DATABASEMIGRATIONSERVICE_API SchemaShortInfoResponse(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API SchemaShortInfoResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSchemaId() const{ return m_schemaId; }
46 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
47 inline void SetSchemaId(const Aws::String& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
48 inline void SetSchemaId(Aws::String&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
49 inline void SetSchemaId(const char* value) { m_schemaIdHasBeenSet = true; m_schemaId.assign(value); }
50 inline SchemaShortInfoResponse& WithSchemaId(const Aws::String& value) { SetSchemaId(value); return *this;}
51 inline SchemaShortInfoResponse& WithSchemaId(Aws::String&& value) { SetSchemaId(std::move(value)); return *this;}
52 inline SchemaShortInfoResponse& WithSchemaId(const char* value) { SetSchemaId(value); return *this;}
54
56
59 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
60 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
61 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
62 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
63 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
64 inline SchemaShortInfoResponse& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
65 inline SchemaShortInfoResponse& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
66 inline SchemaShortInfoResponse& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
68
70
73 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
74 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
75 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
76 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
77 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
78 inline SchemaShortInfoResponse& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
79 inline SchemaShortInfoResponse& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
80 inline SchemaShortInfoResponse& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
82
84
87 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
88 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
89 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
90 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
91 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
92 inline SchemaShortInfoResponse& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
93 inline SchemaShortInfoResponse& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
94 inline SchemaShortInfoResponse& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
96
98
101 inline const Aws::String& GetDatabaseIpAddress() const{ return m_databaseIpAddress; }
102 inline bool DatabaseIpAddressHasBeenSet() const { return m_databaseIpAddressHasBeenSet; }
103 inline void SetDatabaseIpAddress(const Aws::String& value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress = value; }
104 inline void SetDatabaseIpAddress(Aws::String&& value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress = std::move(value); }
105 inline void SetDatabaseIpAddress(const char* value) { m_databaseIpAddressHasBeenSet = true; m_databaseIpAddress.assign(value); }
107 inline SchemaShortInfoResponse& WithDatabaseIpAddress(Aws::String&& value) { SetDatabaseIpAddress(std::move(value)); return *this;}
108 inline SchemaShortInfoResponse& WithDatabaseIpAddress(const char* value) { SetDatabaseIpAddress(value); return *this;}
110 private:
111
112 Aws::String m_schemaId;
113 bool m_schemaIdHasBeenSet = false;
114
115 Aws::String m_schemaName;
116 bool m_schemaNameHasBeenSet = false;
117
118 Aws::String m_databaseId;
119 bool m_databaseIdHasBeenSet = false;
120
121 Aws::String m_databaseName;
122 bool m_databaseNameHasBeenSet = false;
123
124 Aws::String m_databaseIpAddress;
125 bool m_databaseIpAddressHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace DatabaseMigrationService
130} // namespace Aws
SchemaShortInfoResponse & WithSchemaName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaShortInfoResponse(Aws::Utils::Json::JsonView jsonValue)
SchemaShortInfoResponse & WithSchemaName(const Aws::String &value)
SchemaShortInfoResponse & WithDatabaseId(const char *value)
SchemaShortInfoResponse & WithDatabaseIpAddress(const char *value)
SchemaShortInfoResponse & WithSchemaId(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaShortInfoResponse & WithDatabaseId(const Aws::String &value)
SchemaShortInfoResponse & WithSchemaName(const char *value)
SchemaShortInfoResponse & WithDatabaseIpAddress(Aws::String &&value)
SchemaShortInfoResponse & WithSchemaId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaShortInfoResponse()
SchemaShortInfoResponse & WithDatabaseName(const char *value)
SchemaShortInfoResponse & WithDatabaseIpAddress(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaShortInfoResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaShortInfoResponse & WithDatabaseName(Aws::String &&value)
SchemaShortInfoResponse & WithDatabaseId(Aws::String &&value)
SchemaShortInfoResponse & WithDatabaseName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue