AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsRedshiftClusterEndpoint.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
29 public:
30 AWS_SECURITYHUB_API AwsRedshiftClusterEndpoint() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAddress() const { return m_address; }
40 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
41 template <typename AddressT = Aws::String>
42 void SetAddress(AddressT&& value) {
43 m_addressHasBeenSet = true;
44 m_address = std::forward<AddressT>(value);
45 }
46 template <typename AddressT = Aws::String>
48 SetAddress(std::forward<AddressT>(value));
49 return *this;
50 }
52
54
57 inline int GetPort() const { return m_port; }
58 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
59 inline void SetPort(int value) {
60 m_portHasBeenSet = true;
61 m_port = value;
62 }
64 SetPort(value);
65 return *this;
66 }
68 private:
69 Aws::String m_address;
70
71 int m_port{0};
72 bool m_addressHasBeenSet = false;
73 bool m_portHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRedshiftClusterEndpoint & WithAddress(AddressT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRedshiftClusterEndpoint()=default
AWS_SECURITYHUB_API AwsRedshiftClusterEndpoint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue