AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryNotificationDeliveryStatus.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/InventoryNotificationDeliveryStatusCode.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ACM {
22namespace Model {
23
31 public:
32 AWS_ACM_API InventoryNotificationDeliveryStatus() = default;
36
38
41 inline InventoryNotificationDeliveryStatusCode GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
44 m_statusHasBeenSet = true;
45 m_status = value;
46 }
52
54
57 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
58 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
59 template <typename UpdatedAtT = Aws::Utils::DateTime>
60 void SetUpdatedAt(UpdatedAtT&& value) {
61 m_updatedAtHasBeenSet = true;
62 m_updatedAt = std::forward<UpdatedAtT>(value);
63 }
64 template <typename UpdatedAtT = Aws::Utils::DateTime>
66 SetUpdatedAt(std::forward<UpdatedAtT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetMessage() const { return m_message; }
77 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
78 template <typename MessageT = Aws::String>
79 void SetMessage(MessageT&& value) {
80 m_messageHasBeenSet = true;
81 m_message = std::forward<MessageT>(value);
82 }
83 template <typename MessageT = Aws::String>
85 SetMessage(std::forward<MessageT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::Utils::DateTime m_updatedAt{};
93
94 Aws::String m_message;
95 bool m_statusHasBeenSet = false;
96 bool m_updatedAtHasBeenSet = false;
97 bool m_messageHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace ACM
102} // namespace Aws
InventoryNotificationDeliveryStatus & WithStatus(InventoryNotificationDeliveryStatusCode value)
InventoryNotificationDeliveryStatus & WithMessage(MessageT &&value)
void SetStatus(InventoryNotificationDeliveryStatusCode value)
AWS_ACM_API InventoryNotificationDeliveryStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryNotificationDeliveryStatus & WithUpdatedAt(UpdatedAtT &&value)
AWS_ACM_API InventoryNotificationDeliveryStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue