AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const NetworkConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
46 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
47 inline void SetConnectionStatus(const NetworkConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
48 inline void SetConnectionStatus(NetworkConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
49 inline NtpStatus& WithConnectionStatus(const NetworkConnectionStatus& value) { SetConnectionStatus(value); return *this;}
50 inline NtpStatus& WithConnectionStatus(NetworkConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
58 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
59 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
60 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
61 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
62 inline NtpStatus& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
63 inline NtpStatus& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
64 inline NtpStatus& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
66
68
71 inline const Aws::String& GetNtpServerName() const{ return m_ntpServerName; }
72 inline bool NtpServerNameHasBeenSet() const { return m_ntpServerNameHasBeenSet; }
73 inline void SetNtpServerName(const Aws::String& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = value; }
74 inline void SetNtpServerName(Aws::String&& value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName = std::move(value); }
75 inline void SetNtpServerName(const char* value) { m_ntpServerNameHasBeenSet = true; m_ntpServerName.assign(value); }
76 inline NtpStatus& WithNtpServerName(const Aws::String& value) { SetNtpServerName(value); return *this;}
77 inline NtpStatus& WithNtpServerName(Aws::String&& value) { SetNtpServerName(std::move(value)); return *this;}
78 inline NtpStatus& WithNtpServerName(const char* value) { SetNtpServerName(value); return *this;}
80 private:
81
82 NetworkConnectionStatus m_connectionStatus;
83 bool m_connectionStatusHasBeenSet = false;
84
85 Aws::String m_ipAddress;
86 bool m_ipAddressHasBeenSet = false;
87
88 Aws::String m_ntpServerName;
89 bool m_ntpServerNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Panorama
94} // namespace Aws
bool ConnectionStatusHasBeenSet() const
Definition NtpStatus.h:46
NtpStatus & WithConnectionStatus(NetworkConnectionStatus &&value)
Definition NtpStatus.h:50
void SetNtpServerName(const Aws::String &value)
Definition NtpStatus.h:73
void SetIpAddress(Aws::String &&value)
Definition NtpStatus.h:60
AWS_PANORAMA_API NtpStatus()
void SetConnectionStatus(NetworkConnectionStatus &&value)
Definition NtpStatus.h:48
const Aws::String & GetNtpServerName() const
Definition NtpStatus.h:71
void SetConnectionStatus(const NetworkConnectionStatus &value)
Definition NtpStatus.h:47
const Aws::String & GetIpAddress() const
Definition NtpStatus.h:57
NtpStatus & WithIpAddress(const Aws::String &value)
Definition NtpStatus.h:62
void SetNtpServerName(const char *value)
Definition NtpStatus.h:75
bool NtpServerNameHasBeenSet() const
Definition NtpStatus.h:72
AWS_PANORAMA_API NtpStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
NtpStatus & WithNtpServerName(const char *value)
Definition NtpStatus.h:78
NtpStatus & WithNtpServerName(Aws::String &&value)
Definition NtpStatus.h:77
const NetworkConnectionStatus & GetConnectionStatus() const
Definition NtpStatus.h:45
NtpStatus & WithIpAddress(Aws::String &&value)
Definition NtpStatus.h:63
NtpStatus & WithNtpServerName(const Aws::String &value)
Definition NtpStatus.h:76
void SetIpAddress(const Aws::String &value)
Definition NtpStatus.h:59
void SetNtpServerName(Aws::String &&value)
Definition NtpStatus.h:74
AWS_PANORAMA_API NtpStatus(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddress(const char *value)
Definition NtpStatus.h:61
NtpStatus & WithConnectionStatus(const NetworkConnectionStatus &value)
Definition NtpStatus.h:49
NtpStatus & WithIpAddress(const char *value)
Definition NtpStatus.h:64
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