AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbInstanceEndpoint.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint();
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAddress() const{ return m_address; }
45 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
46 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
47 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
48 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
49 inline AwsRdsDbInstanceEndpoint& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
50 inline AwsRdsDbInstanceEndpoint& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
51 inline AwsRdsDbInstanceEndpoint& WithAddress(const char* value) { SetAddress(value); return *this;}
53
55
58 inline int GetPort() const{ return m_port; }
59 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
60 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
61 inline AwsRdsDbInstanceEndpoint& WithPort(int value) { SetPort(value); return *this;}
63
65
69 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
70 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
71 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
72 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
73 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
74 inline AwsRdsDbInstanceEndpoint& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
75 inline AwsRdsDbInstanceEndpoint& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
76 inline AwsRdsDbInstanceEndpoint& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
78 private:
79
80 Aws::String m_address;
81 bool m_addressHasBeenSet = false;
82
83 int m_port;
84 bool m_portHasBeenSet = false;
85
86 Aws::String m_hostedZoneId;
87 bool m_hostedZoneIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SecurityHub
92} // namespace Aws
AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceEndpoint & WithHostedZoneId(Aws::String &&value)
AwsRdsDbInstanceEndpoint & WithAddress(const char *value)
AwsRdsDbInstanceEndpoint & WithAddress(Aws::String &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbInstanceEndpoint & WithAddress(const Aws::String &value)
AwsRdsDbInstanceEndpoint & WithHostedZoneId(const Aws::String &value)
AwsRdsDbInstanceEndpoint & WithHostedZoneId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue