AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Connection.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
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API Connection();
37 AWS_DATABASEMIGRATIONSERVICE_API Connection(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Connection& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
47 inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
48 inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
49 inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
50 inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
51 inline Connection& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;}
52 inline Connection& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;}
53 inline Connection& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;}
55
57
60 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
61 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
62 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
63 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
64 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
65 inline Connection& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
66 inline Connection& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
67 inline Connection& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
69
71
77 inline const Aws::String& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
82 inline Connection& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
83 inline Connection& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
84 inline Connection& WithStatus(const char* value) { SetStatus(value); return *this;}
86
88
91 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
92 inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; }
93 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = value; }
94 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = std::move(value); }
95 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage.assign(value); }
96 inline Connection& WithLastFailureMessage(const Aws::String& value) { SetLastFailureMessage(value); return *this;}
97 inline Connection& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;}
98 inline Connection& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
100
102
107 inline const Aws::String& GetEndpointIdentifier() const{ return m_endpointIdentifier; }
108 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
109 inline void SetEndpointIdentifier(const Aws::String& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = value; }
110 inline void SetEndpointIdentifier(Aws::String&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::move(value); }
111 inline void SetEndpointIdentifier(const char* value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier.assign(value); }
112 inline Connection& WithEndpointIdentifier(const Aws::String& value) { SetEndpointIdentifier(value); return *this;}
113 inline Connection& WithEndpointIdentifier(Aws::String&& value) { SetEndpointIdentifier(std::move(value)); return *this;}
114 inline Connection& WithEndpointIdentifier(const char* value) { SetEndpointIdentifier(value); return *this;}
116
118
122 inline const Aws::String& GetReplicationInstanceIdentifier() const{ return m_replicationInstanceIdentifier; }
123 inline bool ReplicationInstanceIdentifierHasBeenSet() const { return m_replicationInstanceIdentifierHasBeenSet; }
124 inline void SetReplicationInstanceIdentifier(const Aws::String& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = value; }
125 inline void SetReplicationInstanceIdentifier(Aws::String&& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = std::move(value); }
126 inline void SetReplicationInstanceIdentifier(const char* value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier.assign(value); }
129 inline Connection& WithReplicationInstanceIdentifier(const char* value) { SetReplicationInstanceIdentifier(value); return *this;}
131 private:
132
133 Aws::String m_replicationInstanceArn;
134 bool m_replicationInstanceArnHasBeenSet = false;
135
136 Aws::String m_endpointArn;
137 bool m_endpointArnHasBeenSet = false;
138
139 Aws::String m_status;
140 bool m_statusHasBeenSet = false;
141
142 Aws::String m_lastFailureMessage;
143 bool m_lastFailureMessageHasBeenSet = false;
144
145 Aws::String m_endpointIdentifier;
146 bool m_endpointIdentifierHasBeenSet = false;
147
148 Aws::String m_replicationInstanceIdentifier;
149 bool m_replicationInstanceIdentifierHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DatabaseMigrationService
154} // namespace Aws
Connection & WithEndpointArn(Aws::String &&value)
Definition Connection.h:66
void SetEndpointIdentifier(const Aws::String &value)
Definition Connection.h:109
Connection & WithEndpointIdentifier(Aws::String &&value)
Definition Connection.h:113
void SetEndpointArn(const Aws::String &value)
Definition Connection.h:62
Connection & WithEndpointArn(const char *value)
Definition Connection.h:67
Connection & WithReplicationInstanceArn(Aws::String &&value)
Definition Connection.h:52
Connection & WithLastFailureMessage(const Aws::String &value)
Definition Connection.h:96
void SetReplicationInstanceArn(const Aws::String &value)
Definition Connection.h:48
Connection & WithStatus(Aws::String &&value)
Definition Connection.h:83
AWS_DATABASEMIGRATIONSERVICE_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & WithReplicationInstanceIdentifier(const Aws::String &value)
Definition Connection.h:127
void SetLastFailureMessage(Aws::String &&value)
Definition Connection.h:94
const Aws::String & GetEndpointArn() const
Definition Connection.h:60
Connection & WithLastFailureMessage(Aws::String &&value)
Definition Connection.h:97
const Aws::String & GetLastFailureMessage() const
Definition Connection.h:91
const Aws::String & GetEndpointIdentifier() const
Definition Connection.h:107
void SetStatus(const Aws::String &value)
Definition Connection.h:79
Connection & WithReplicationInstanceArn(const Aws::String &value)
Definition Connection.h:51
void SetLastFailureMessage(const Aws::String &value)
Definition Connection.h:93
Connection & WithReplicationInstanceIdentifier(const char *value)
Definition Connection.h:129
const Aws::String & GetReplicationInstanceIdentifier() const
Definition Connection.h:122
Connection & WithLastFailureMessage(const char *value)
Definition Connection.h:98
const Aws::String & GetReplicationInstanceArn() const
Definition Connection.h:46
void SetReplicationInstanceIdentifier(const char *value)
Definition Connection.h:126
Connection & WithEndpointArn(const Aws::String &value)
Definition Connection.h:65
void SetReplicationInstanceArn(Aws::String &&value)
Definition Connection.h:49
Connection & WithReplicationInstanceIdentifier(Aws::String &&value)
Definition Connection.h:128
void SetEndpointIdentifier(Aws::String &&value)
Definition Connection.h:110
AWS_DATABASEMIGRATIONSERVICE_API Connection()
Connection & WithReplicationInstanceArn(const char *value)
Definition Connection.h:53
Connection & WithStatus(const Aws::String &value)
Definition Connection.h:82
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithStatus(const char *value)
Definition Connection.h:84
void SetReplicationInstanceArn(const char *value)
Definition Connection.h:50
void SetReplicationInstanceIdentifier(Aws::String &&value)
Definition Connection.h:125
Connection & WithEndpointIdentifier(const char *value)
Definition Connection.h:114
Connection & WithEndpointIdentifier(const Aws::String &value)
Definition Connection.h:112
void SetReplicationInstanceIdentifier(const Aws::String &value)
Definition Connection.h:124
AWS_DATABASEMIGRATIONSERVICE_API Connection(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue