AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsRdsDbInstanceEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AwsRdsDbInstanceEndpoint() = default;
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAddress() const { return m_address; }
39 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
40 template <typename AddressT = Aws::String>
41 void SetAddress(AddressT&& value) {
42 m_addressHasBeenSet = true;
43 m_address = std::forward<AddressT>(value);
44 }
45 template <typename AddressT = Aws::String>
47 SetAddress(std::forward<AddressT>(value));
48 return *this;
49 }
51
53
56 inline int GetPort() const { return m_port; }
57 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
58 inline void SetPort(int value) {
59 m_portHasBeenSet = true;
60 m_port = value;
61 }
63 SetPort(value);
64 return *this;
65 }
67
69
73 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
74 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
75 template <typename HostedZoneIdT = Aws::String>
76 void SetHostedZoneId(HostedZoneIdT&& value) {
77 m_hostedZoneIdHasBeenSet = true;
78 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
79 }
80 template <typename HostedZoneIdT = Aws::String>
82 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_address;
88
89 int m_port{0};
90
91 Aws::String m_hostedZoneId;
92 bool m_addressHasBeenSet = false;
93 bool m_portHasBeenSet = false;
94 bool m_hostedZoneIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SecurityHub
99} // 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