AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerShortInfoResponse.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 ServerShortInfoResponse();
36 AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetServerId() const{ return m_serverId; }
46 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
47 inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; }
48 inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); }
49 inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); }
50 inline ServerShortInfoResponse& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
51 inline ServerShortInfoResponse& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
52 inline ServerShortInfoResponse& WithServerId(const char* value) { SetServerId(value); return *this;}
54
56
59 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
60 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
61 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
62 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
63 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
64 inline ServerShortInfoResponse& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
65 inline ServerShortInfoResponse& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
66 inline ServerShortInfoResponse& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
68
70
73 inline const Aws::String& GetServerName() const{ return m_serverName; }
74 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
75 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
76 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
77 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
78 inline ServerShortInfoResponse& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
79 inline ServerShortInfoResponse& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
80 inline ServerShortInfoResponse& WithServerName(const char* value) { SetServerName(value); return *this;}
82 private:
83
84 Aws::String m_serverId;
85 bool m_serverIdHasBeenSet = false;
86
87 Aws::String m_ipAddress;
88 bool m_ipAddressHasBeenSet = false;
89
90 Aws::String m_serverName;
91 bool m_serverNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DatabaseMigrationService
96} // namespace Aws
ServerShortInfoResponse & WithServerId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse()
ServerShortInfoResponse & WithServerId(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServerShortInfoResponse & WithIpAddress(Aws::String &&value)
ServerShortInfoResponse & WithIpAddress(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse(Aws::Utils::Json::JsonView jsonValue)
ServerShortInfoResponse & WithServerName(Aws::String &&value)
ServerShortInfoResponse & WithServerName(const char *value)
ServerShortInfoResponse & WithServerName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue