AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ByoipCidrEvent.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 GlobalAccelerator
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_GLOBALACCELERATOR_API ByoipCidrEvent() = default;
39 AWS_GLOBALACCELERATOR_API ByoipCidrEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLOBALACCELERATOR_API ByoipCidrEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetMessage() const { return m_message; }
51 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
52 template<typename MessageT = Aws::String>
53 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
54 template<typename MessageT = Aws::String>
55 ByoipCidrEvent& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
64 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
65 template<typename TimestampT = Aws::Utils::DateTime>
66 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
67 template<typename TimestampT = Aws::Utils::DateTime>
68 ByoipCidrEvent& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
70 private:
71
72 Aws::String m_message;
73 bool m_messageHasBeenSet = false;
74
75 Aws::Utils::DateTime m_timestamp{};
76 bool m_timestampHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GlobalAccelerator
81} // namespace Aws
AWS_GLOBALACCELERATOR_API ByoipCidrEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API ByoipCidrEvent()=default
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
ByoipCidrEvent & WithMessage(MessageT &&value)
AWS_GLOBALACCELERATOR_API ByoipCidrEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ByoipCidrEvent & WithTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue