7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetServerHostname(
const char* value) { m_serverHostnameHasBeenSet =
true; m_serverHostname.assign(value); }
62 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
68 bool m_serverHostnameHasBeenSet =
false;
71 bool m_serverPortHasBeenSet =
false;
DiscoveryServerConfiguration & WithServerHostname(const char *value)
DiscoveryServerConfiguration & WithServerPort(int value)
void SetServerHostname(const Aws::String &value)
bool ServerPortHasBeenSet() const
AWS_DATASYNC_API DiscoveryServerConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveryServerConfiguration & WithServerHostname(Aws::String &&value)
bool ServerHostnameHasBeenSet() const
AWS_DATASYNC_API DiscoveryServerConfiguration()
void SetServerHostname(const char *value)
const Aws::String & GetServerHostname() const
void SetServerHostname(Aws::String &&value)
void SetServerPort(int value)
int GetServerPort() const
AWS_DATASYNC_API DiscoveryServerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveryServerConfiguration & WithServerHostname(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue