AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabaseEndpoint.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_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 Lightsail
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LIGHTSAIL_API RelationalDatabaseEndpoint();
37 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetPort() const{ return m_port; }
45 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
46 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
47 inline RelationalDatabaseEndpoint& WithPort(int value) { SetPort(value); return *this;}
49
51
54 inline const Aws::String& GetAddress() const{ return m_address; }
55 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
56 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
57 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
58 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
59 inline RelationalDatabaseEndpoint& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
60 inline RelationalDatabaseEndpoint& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
61 inline RelationalDatabaseEndpoint& WithAddress(const char* value) { SetAddress(value); return *this;}
63 private:
64
65 int m_port;
66 bool m_portHasBeenSet = false;
67
68 Aws::String m_address;
69 bool m_addressHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Lightsail
74} // namespace Aws
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseEndpoint & WithAddress(const Aws::String &value)
RelationalDatabaseEndpoint & WithAddress(const char *value)
RelationalDatabaseEndpoint & WithAddress(Aws::String &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue