AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ContainerServiceLogEvent.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lightsail {
21namespace Model {
22
30 public:
31 AWS_LIGHTSAIL_API ContainerServiceLogEvent() = default;
34 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
41 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
42 template <typename CreatedAtT = Aws::Utils::DateTime>
43 void SetCreatedAt(CreatedAtT&& value) {
44 m_createdAtHasBeenSet = true;
45 m_createdAt = std::forward<CreatedAtT>(value);
46 }
47 template <typename CreatedAtT = Aws::Utils::DateTime>
49 SetCreatedAt(std::forward<CreatedAtT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template <typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) {
62 m_messageHasBeenSet = true;
63 m_message = std::forward<MessageT>(value);
64 }
65 template <typename MessageT = Aws::String>
67 SetMessage(std::forward<MessageT>(value));
68 return *this;
69 }
71 private:
72 Aws::Utils::DateTime m_createdAt{};
73
74 Aws::String m_message;
75 bool m_createdAtHasBeenSet = false;
76 bool m_messageHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Lightsail
81} // namespace Aws
ContainerServiceLogEvent & WithCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API ContainerServiceLogEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceLogEvent & WithMessage(MessageT &&value)
AWS_LIGHTSAIL_API ContainerServiceLogEvent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API ContainerServiceLogEvent()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue