AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AddressT = Aws::String>
47 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
48 template<typename AddressT = Aws::String>
49 AwsRdsDbInstanceEndpoint& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
51
53
56 inline int GetPort() const { return m_port; }
57 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
58 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
59 inline AwsRdsDbInstanceEndpoint& WithPort(int value) { SetPort(value); return *this;}
61
63
67 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
68 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
69 template<typename HostedZoneIdT = Aws::String>
70 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
71 template<typename HostedZoneIdT = Aws::String>
72 AwsRdsDbInstanceEndpoint& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
74 private:
75
76 Aws::String m_address;
77 bool m_addressHasBeenSet = false;
78
79 int m_port{0};
80 bool m_portHasBeenSet = false;
81
82 Aws::String m_hostedZoneId;
83 bool m_hostedZoneIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceEndpoint & WithAddress(AddressT &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceEndpoint & WithHostedZoneId(HostedZoneIdT &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue