AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HdfsNameNode.h
1
6#pragma once
7#include <aws/datasync/DataSync_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 DataSync
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_DATASYNC_API HdfsNameNode();
39 AWS_DATASYNC_API HdfsNameNode(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetHostname() const{ return m_hostname; }
52 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
53 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
54 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
55 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
56 inline HdfsNameNode& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
57 inline HdfsNameNode& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
58 inline HdfsNameNode& WithHostname(const char* value) { SetHostname(value); return *this;}
60
62
65 inline int GetPort() const{ return m_port; }
66 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
67 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
68 inline HdfsNameNode& WithPort(int value) { SetPort(value); return *this;}
70 private:
71
72 Aws::String m_hostname;
73 bool m_hostnameHasBeenSet = false;
74
75 int m_port;
76 bool m_portHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataSync
81} // namespace Aws
HdfsNameNode & WithHostname(Aws::String &&value)
void SetHostname(const Aws::String &value)
void SetHostname(const char *value)
AWS_DATASYNC_API HdfsNameNode & operator=(Aws::Utils::Json::JsonView jsonValue)
HdfsNameNode & WithPort(int value)
AWS_DATASYNC_API HdfsNameNode(Aws::Utils::Json::JsonView jsonValue)
HdfsNameNode & WithHostname(const char *value)
HdfsNameNode & WithHostname(const Aws::String &value)
const Aws::String & GetHostname() const
void SetHostname(Aws::String &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue