7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
55 inline void SetHostname(
const char* value) { m_hostnameHasBeenSet =
true; m_hostname.assign(value); }
65 inline int GetPort()
const{
return m_port; }
67 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
73 bool m_hostnameHasBeenSet =
false;
76 bool m_portHasBeenSet =
false;
HdfsNameNode & WithHostname(Aws::String &&value)
bool PortHasBeenSet() const
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)
AWS_DATASYNC_API HdfsNameNode()
const Aws::String & GetHostname() const
bool HostnameHasBeenSet() 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