AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRedshiftClusterClusterNode.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 AwsRedshiftClusterClusterNode() = default;
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetNodeRole() const { return m_nodeRole; }
45 inline bool NodeRoleHasBeenSet() const { return m_nodeRoleHasBeenSet; }
46 template<typename NodeRoleT = Aws::String>
47 void SetNodeRole(NodeRoleT&& value) { m_nodeRoleHasBeenSet = true; m_nodeRole = std::forward<NodeRoleT>(value); }
48 template<typename NodeRoleT = Aws::String>
49 AwsRedshiftClusterClusterNode& WithNodeRole(NodeRoleT&& value) { SetNodeRole(std::forward<NodeRoleT>(value)); return *this;}
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) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
60 template<typename PrivateIpAddressT = Aws::String>
61 AwsRedshiftClusterClusterNode& WithPrivateIpAddress(PrivateIpAddressT&& value) { SetPrivateIpAddress(std::forward<PrivateIpAddressT>(value)); return *this;}
63
65
68 inline const Aws::String& GetPublicIpAddress() const { return m_publicIpAddress; }
69 inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
70 template<typename PublicIpAddressT = Aws::String>
71 void SetPublicIpAddress(PublicIpAddressT&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::forward<PublicIpAddressT>(value); }
72 template<typename PublicIpAddressT = Aws::String>
73 AwsRedshiftClusterClusterNode& WithPublicIpAddress(PublicIpAddressT&& value) { SetPublicIpAddress(std::forward<PublicIpAddressT>(value)); return *this;}
75 private:
76
77 Aws::String m_nodeRole;
78 bool m_nodeRoleHasBeenSet = false;
79
80 Aws::String m_privateIpAddress;
81 bool m_privateIpAddressHasBeenSet = false;
82
83 Aws::String m_publicIpAddress;
84 bool m_publicIpAddressHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SecurityHub
89} // 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