AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNodeRole(const Aws::String& value) { m_nodeRoleHasBeenSet = true; m_nodeRole = value; }
47 inline void SetNodeRole(Aws::String&& value) { m_nodeRoleHasBeenSet = true; m_nodeRole = std::move(value); }
48 inline void SetNodeRole(const char* value) { m_nodeRoleHasBeenSet = true; m_nodeRole.assign(value); }
49 inline AwsRedshiftClusterClusterNode& WithNodeRole(const Aws::String& value) { SetNodeRole(value); return *this;}
50 inline AwsRedshiftClusterClusterNode& WithNodeRole(Aws::String&& value) { SetNodeRole(std::move(value)); return *this;}
51 inline AwsRedshiftClusterClusterNode& WithNodeRole(const char* value) { SetNodeRole(value); return *this;}
53
55
58 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
59 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
60 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
61 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
62 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
64 inline AwsRedshiftClusterClusterNode& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
65 inline AwsRedshiftClusterClusterNode& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
67
69
72 inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; }
73 inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
74 inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; }
75 inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); }
76 inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); }
78 inline AwsRedshiftClusterClusterNode& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;}
79 inline AwsRedshiftClusterClusterNode& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;}
81 private:
82
83 Aws::String m_nodeRole;
84 bool m_nodeRoleHasBeenSet = false;
85
86 Aws::String m_privateIpAddress;
87 bool m_privateIpAddressHasBeenSet = false;
88
89 Aws::String m_publicIpAddress;
90 bool m_publicIpAddressHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
AWS_SECURITYHUB_API AwsRedshiftClusterClusterNode(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterClusterNode & WithPublicIpAddress(Aws::String &&value)
AwsRedshiftClusterClusterNode & WithNodeRole(const Aws::String &value)
AwsRedshiftClusterClusterNode & WithPublicIpAddress(const Aws::String &value)
AwsRedshiftClusterClusterNode & WithPrivateIpAddress(const Aws::String &value)
AwsRedshiftClusterClusterNode & WithPrivateIpAddress(const char *value)
AwsRedshiftClusterClusterNode & WithNodeRole(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRedshiftClusterClusterNode & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterClusterNode & WithNodeRole(Aws::String &&value)
AwsRedshiftClusterClusterNode & WithPublicIpAddress(const char *value)
AwsRedshiftClusterClusterNode & WithPrivateIpAddress(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue