AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NtpStatus.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/NetworkConnectionStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API NtpStatus() = default;
36 AWS_PANORAMA_API NtpStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PANORAMA_API NtpStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline NetworkConnectionStatus GetConnectionStatus() const { return m_connectionStatus; }
46 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
47 inline void SetConnectionStatus(NetworkConnectionStatus value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
50
52
55 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
56 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
57 template<typename IpAddressT = Aws::String>
58 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
59 template<typename IpAddressT = Aws::String>
60 NtpStatus& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
62
64
67 inline const Aws::String& GetNtpServerName() const { return m_ntpServerName; }
68 inline bool NtpServerNameHasBeenSet() const { return m_ntpServerNameHasBeenSet; }
69 template<typename NtpServerNameT = Aws::String>
70 void SetNtpServerName(NtpServerNameT&& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = std::forward<NtpServerNameT>(value); }
71 template<typename NtpServerNameT = Aws::String>
72 NtpStatus& WithNtpServerName(NtpServerNameT&& value) { SetNtpServerName(std::forward<NtpServerNameT>(value)); return *this;}
74 private:
75
77 bool m_connectionStatusHasBeenSet = false;
78
79 Aws::String m_ipAddress;
80 bool m_ipAddressHasBeenSet = false;
81
82 Aws::String m_ntpServerName;
83 bool m_ntpServerNameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Panorama
88} // namespace Aws
bool ConnectionStatusHasBeenSet() const
Definition NtpStatus.h:46
NtpStatus & WithNtpServerName(NtpServerNameT &&value)
Definition NtpStatus.h:72
const Aws::String & GetNtpServerName() const
Definition NtpStatus.h:67
void SetConnectionStatus(NetworkConnectionStatus value)
Definition NtpStatus.h:47
const Aws::String & GetIpAddress() const
Definition NtpStatus.h:55
bool NtpServerNameHasBeenSet() const
Definition NtpStatus.h:68
AWS_PANORAMA_API NtpStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddress(IpAddressT &&value)
Definition NtpStatus.h:58
void SetNtpServerName(NtpServerNameT &&value)
Definition NtpStatus.h:70
NtpStatus & WithConnectionStatus(NetworkConnectionStatus value)
Definition NtpStatus.h:48
NetworkConnectionStatus GetConnectionStatus() const
Definition NtpStatus.h:45
AWS_PANORAMA_API NtpStatus(Aws::Utils::Json::JsonView jsonValue)
NtpStatus & WithIpAddress(IpAddressT &&value)
Definition NtpStatus.h:60
AWS_PANORAMA_API NtpStatus()=default
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue