AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NtpPayload.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
35 {
36 public:
41
42
46 inline const Aws::Vector<Aws::String>& GetNtpServers() const{ return m_ntpServers; }
47
51 inline bool NtpServersHasBeenSet() const { return m_ntpServersHasBeenSet; }
52
56 inline void SetNtpServers(const Aws::Vector<Aws::String>& value) { m_ntpServersHasBeenSet = true; m_ntpServers = value; }
57
61 inline void SetNtpServers(Aws::Vector<Aws::String>&& value) { m_ntpServersHasBeenSet = true; m_ntpServers = std::move(value); }
62
66 inline NtpPayload& WithNtpServers(const Aws::Vector<Aws::String>& value) { SetNtpServers(value); return *this;}
67
71 inline NtpPayload& WithNtpServers(Aws::Vector<Aws::String>&& value) { SetNtpServers(std::move(value)); return *this;}
72
76 inline NtpPayload& AddNtpServers(const Aws::String& value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(value); return *this; }
77
81 inline NtpPayload& AddNtpServers(Aws::String&& value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(std::move(value)); return *this; }
82
86 inline NtpPayload& AddNtpServers(const char* value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(value); return *this; }
87
88 private:
89
90 Aws::Vector<Aws::String> m_ntpServers;
91 bool m_ntpServersHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Panorama
96} // namespace Aws
#define AWS_PANORAMA_API
void SetNtpServers(const Aws::Vector< Aws::String > &value)
Definition: NtpPayload.h:56
NtpPayload & AddNtpServers(const Aws::String &value)
Definition: NtpPayload.h:76
NtpPayload & AddNtpServers(const char *value)
Definition: NtpPayload.h:86
NtpPayload & WithNtpServers(const Aws::Vector< Aws::String > &value)
Definition: NtpPayload.h:66
NtpPayload & AddNtpServers(Aws::String &&value)
Definition: NtpPayload.h:81
const Aws::Vector< Aws::String > & GetNtpServers() const
Definition: NtpPayload.h:46
AWS_PANORAMA_API NtpPayload(Aws::Utils::Json::JsonView jsonValue)
void SetNtpServers(Aws::Vector< Aws::String > &&value)
Definition: NtpPayload.h:61
NtpPayload & WithNtpServers(Aws::Vector< Aws::String > &&value)
Definition: NtpPayload.h:71
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API NtpPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector