AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NtpStatus.h
Go to the documentation of this file.
1
6#pragma once
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:
39
40
44 inline const NetworkConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
45
49 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
50
54 inline void SetConnectionStatus(const NetworkConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
55
59 inline void SetConnectionStatus(NetworkConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
60
64 inline NtpStatus& WithConnectionStatus(const NetworkConnectionStatus& value) { SetConnectionStatus(value); return *this;}
65
69 inline NtpStatus& WithConnectionStatus(NetworkConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
70
71
75 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
76
80 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
81
85 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
86
90 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
91
95 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
96
100 inline NtpStatus& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
101
105 inline NtpStatus& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
106
110 inline NtpStatus& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
111
112
116 inline const Aws::String& GetNtpServerName() const{ return m_ntpServerName; }
117
121 inline bool NtpServerNameHasBeenSet() const { return m_ntpServerNameHasBeenSet; }
122
126 inline void SetNtpServerName(const Aws::String& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = value; }
127
131 inline void SetNtpServerName(Aws::String&& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = std::move(value); }
132
136 inline void SetNtpServerName(const char* value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName.assign(value); }
137
141 inline NtpStatus& WithNtpServerName(const Aws::String& value) { SetNtpServerName(value); return *this;}
142
146 inline NtpStatus& WithNtpServerName(Aws::String&& value) { SetNtpServerName(std::move(value)); return *this;}
147
151 inline NtpStatus& WithNtpServerName(const char* value) { SetNtpServerName(value); return *this;}
152
153 private:
154
155 NetworkConnectionStatus m_connectionStatus;
156 bool m_connectionStatusHasBeenSet = false;
157
158 Aws::String m_ipAddress;
159 bool m_ipAddressHasBeenSet = false;
160
161 Aws::String m_ntpServerName;
162 bool m_ntpServerNameHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Panorama
167} // namespace Aws
#define AWS_PANORAMA_API
bool ConnectionStatusHasBeenSet() const
Definition: NtpStatus.h:49
NtpStatus & WithConnectionStatus(NetworkConnectionStatus &&value)
Definition: NtpStatus.h:69
void SetNtpServerName(const Aws::String &value)
Definition: NtpStatus.h:126
void SetIpAddress(Aws::String &&value)
Definition: NtpStatus.h:90
AWS_PANORAMA_API NtpStatus()
void SetConnectionStatus(NetworkConnectionStatus &&value)
Definition: NtpStatus.h:59
const Aws::String & GetNtpServerName() const
Definition: NtpStatus.h:116
void SetConnectionStatus(const NetworkConnectionStatus &value)
Definition: NtpStatus.h:54
const Aws::String & GetIpAddress() const
Definition: NtpStatus.h:75
NtpStatus & WithIpAddress(const Aws::String &value)
Definition: NtpStatus.h:100
void SetNtpServerName(const char *value)
Definition: NtpStatus.h:136
bool NtpServerNameHasBeenSet() const
Definition: NtpStatus.h:121
AWS_PANORAMA_API NtpStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
NtpStatus & WithNtpServerName(const char *value)
Definition: NtpStatus.h:151
NtpStatus & WithNtpServerName(Aws::String &&value)
Definition: NtpStatus.h:146
const NetworkConnectionStatus & GetConnectionStatus() const
Definition: NtpStatus.h:44
NtpStatus & WithIpAddress(Aws::String &&value)
Definition: NtpStatus.h:105
NtpStatus & WithNtpServerName(const Aws::String &value)
Definition: NtpStatus.h:141
void SetIpAddress(const Aws::String &value)
Definition: NtpStatus.h:85
void SetNtpServerName(Aws::String &&value)
Definition: NtpStatus.h:131
AWS_PANORAMA_API NtpStatus(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddress(const char *value)
Definition: NtpStatus.h:95
bool IpAddressHasBeenSet() const
Definition: NtpStatus.h:80
NtpStatus & WithConnectionStatus(const NetworkConnectionStatus &value)
Definition: NtpStatus.h:64
NtpStatus & WithIpAddress(const char *value)
Definition: NtpStatus.h:110
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String