AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NtpPayload.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
35 {
36 public:
37 AWS_PANORAMA_API NtpPayload();
38 AWS_PANORAMA_API NtpPayload(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API NtpPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetNtpServers() const{ return m_ntpServers; }
48 inline bool NtpServersHasBeenSet() const { return m_ntpServersHasBeenSet; }
49 inline void SetNtpServers(const Aws::Vector<Aws::String>& value) { m_ntpServersHasBeenSet = true; m_ntpServers = value; }
50 inline void SetNtpServers(Aws::Vector<Aws::String>&& value) { m_ntpServersHasBeenSet = true; m_ntpServers = std::move(value); }
51 inline NtpPayload& WithNtpServers(const Aws::Vector<Aws::String>& value) { SetNtpServers(value); return *this;}
52 inline NtpPayload& WithNtpServers(Aws::Vector<Aws::String>&& value) { SetNtpServers(std::move(value)); return *this;}
53 inline NtpPayload& AddNtpServers(const Aws::String& value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(value); return *this; }
54 inline NtpPayload& AddNtpServers(Aws::String&& value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(std::move(value)); return *this; }
55 inline NtpPayload& AddNtpServers(const char* value) { m_ntpServersHasBeenSet = true; m_ntpServers.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_ntpServers;
60 bool m_ntpServersHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Panorama
65} // namespace Aws
void SetNtpServers(const Aws::Vector< Aws::String > &value)
Definition NtpPayload.h:49
NtpPayload & AddNtpServers(const Aws::String &value)
Definition NtpPayload.h:53
NtpPayload & AddNtpServers(const char *value)
Definition NtpPayload.h:55
NtpPayload & WithNtpServers(const Aws::Vector< Aws::String > &value)
Definition NtpPayload.h:51
NtpPayload & AddNtpServers(Aws::String &&value)
Definition NtpPayload.h:54
const Aws::Vector< Aws::String > & GetNtpServers() const
Definition NtpPayload.h:47
AWS_PANORAMA_API NtpPayload(Aws::Utils::Json::JsonView jsonValue)
void SetNtpServers(Aws::Vector< Aws::String > &&value)
Definition NtpPayload.h:50
NtpPayload & WithNtpServers(Aws::Vector< Aws::String > &&value)
Definition NtpPayload.h:52
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
Aws::Utils::Json::JsonValue JsonValue