/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about an NTP server connection.See Also:
AWS
* API Reference
The connection's status.
*/ inline const NetworkConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; } /** *The connection's status.
*/ inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; } /** *The connection's status.
*/ inline void SetConnectionStatus(const NetworkConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; } /** *The connection's status.
*/ inline void SetConnectionStatus(NetworkConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); } /** *The connection's status.
*/ inline NtpStatus& WithConnectionStatus(const NetworkConnectionStatus& value) { SetConnectionStatus(value); return *this;} /** *The connection's status.
*/ inline NtpStatus& WithConnectionStatus(NetworkConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;} /** *The IP address of the server.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The IP address of the server.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The IP address of the server.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The IP address of the server.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The IP address of the server.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The IP address of the server.
*/ inline NtpStatus& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The IP address of the server.
*/ inline NtpStatus& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The IP address of the server.
*/ inline NtpStatus& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *The domain name of the server.
*/ inline const Aws::String& GetNtpServerName() const{ return m_ntpServerName; } /** *The domain name of the server.
*/ inline bool NtpServerNameHasBeenSet() const { return m_ntpServerNameHasBeenSet; } /** *The domain name of the server.
*/ inline void SetNtpServerName(const Aws::String& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = value; } /** *The domain name of the server.
*/ inline void SetNtpServerName(Aws::String&& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = std::move(value); } /** *The domain name of the server.
*/ inline void SetNtpServerName(const char* value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName.assign(value); } /** *The domain name of the server.
*/ inline NtpStatus& WithNtpServerName(const Aws::String& value) { SetNtpServerName(value); return *this;} /** *The domain name of the server.
*/ inline NtpStatus& WithNtpServerName(Aws::String&& value) { SetNtpServerName(std::move(value)); return *this;} /** *The domain name of the server.
*/ inline NtpStatus& WithNtpServerName(const char* value) { SetNtpServerName(value); return *this;} private: NetworkConnectionStatus m_connectionStatus; bool m_connectionStatusHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_ntpServerName; bool m_ntpServerNameHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws