AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsRedshiftClusterClusterNode.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 AwsRedshiftClusterClusterNode() = default;
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetNodeRole() const { return m_nodeRole; }
39 inline bool NodeRoleHasBeenSet() const { return m_nodeRoleHasBeenSet; }
40 template <typename NodeRoleT = Aws::String>
41 void SetNodeRole(NodeRoleT&& value) {
42 m_nodeRoleHasBeenSet = true;
43 m_nodeRole = std::forward<NodeRoleT>(value);
44 }
45 template <typename NodeRoleT = Aws::String>
47 SetNodeRole(std::forward<NodeRoleT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPrivateIpAddress() const { return m_privateIpAddress; }
57 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
58 template <typename PrivateIpAddressT = Aws::String>
59 void SetPrivateIpAddress(PrivateIpAddressT&& value) {
60 m_privateIpAddressHasBeenSet = true;
61 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
62 }
63 template <typename PrivateIpAddressT = Aws::String>
65 SetPrivateIpAddress(std::forward<PrivateIpAddressT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPublicIpAddress() const { return m_publicIpAddress; }
75 inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
76 template <typename PublicIpAddressT = Aws::String>
77 void SetPublicIpAddress(PublicIpAddressT&& value) {
78 m_publicIpAddressHasBeenSet = true;
79 m_publicIpAddress = std::forward<PublicIpAddressT>(value);
80 }
81 template <typename PublicIpAddressT = Aws::String>
83 SetPublicIpAddress(std::forward<PublicIpAddressT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_nodeRole;
89
90 Aws::String m_privateIpAddress;
91
92 Aws::String m_publicIpAddress;
93 bool m_nodeRoleHasBeenSet = false;
94 bool m_privateIpAddressHasBeenSet = false;
95 bool m_publicIpAddressHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SecurityHub
100} // namespace Aws
AWS_SECURITYHUB_API AwsRedshiftClusterClusterNode(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterClusterNode & WithNodeRole(NodeRoleT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterClusterNode()=default
AwsRedshiftClusterClusterNode & WithPublicIpAddress(PublicIpAddressT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRedshiftClusterClusterNode & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterClusterNode & WithPrivateIpAddress(PrivateIpAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue