AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ServerIdT = Aws::String>
48 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet = true; m_serverId = std::forward<ServerIdT>(value); }
49 template<typename ServerIdT = Aws::String>
50 ServerShortInfoResponse& WithServerId(ServerIdT&& value) { SetServerId(std::forward<ServerIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
58 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
59 template<typename IpAddressT = Aws::String>
60 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
61 template<typename IpAddressT = Aws::String>
62 ServerShortInfoResponse& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
64
66
69 inline const Aws::String& GetServerName() const { return m_serverName; }
70 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
71 template<typename ServerNameT = Aws::String>
72 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
73 template<typename ServerNameT = Aws::String>
74 ServerShortInfoResponse& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
76 private:
77
78 Aws::String m_serverId;
79 bool m_serverIdHasBeenSet = false;
80
81 Aws::String m_ipAddress;
82 bool m_ipAddressHasBeenSet = false;
83
84 Aws::String m_serverName;
85 bool m_serverNameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DatabaseMigrationService
90} // namespace Aws
ServerShortInfoResponse & WithIpAddress(IpAddressT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ServerShortInfoResponse()=default
ServerShortInfoResponse & WithServerName(ServerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue