AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
NotificationConfigurationStructure.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/notifications/model/NotificationConfigurationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/notifications/model/AggregationDuration.h>
12#include <aws/notifications/model/NotificationConfigurationSubtype.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Notifications
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_NOTIFICATIONS_API NotificationConfigurationStructure() = default;
42 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetArn() const { return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 NotificationConfigurationStructure& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 NotificationConfigurationStructure& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 NotificationConfigurationStructure& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(NotificationConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
101 template<typename CreationTimeT = Aws::Utils::DateTime>
102 NotificationConfigurationStructure& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
104
106
115 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
116 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
117 inline void SetAggregationDuration(AggregationDuration value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
120
122
125 inline NotificationConfigurationSubtype GetSubtype() const { return m_subtype; }
126 inline bool SubtypeHasBeenSet() const { return m_subtypeHasBeenSet; }
127 inline void SetSubtype(NotificationConfigurationSubtype value) { m_subtypeHasBeenSet = true; m_subtype = value; }
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_creationTime{};
145 bool m_creationTimeHasBeenSet = false;
146
148 bool m_aggregationDurationHasBeenSet = false;
149
151 bool m_subtypeHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Notifications
156} // namespace Aws
NotificationConfigurationStructure & WithStatus(NotificationConfigurationStatus value)
AWS_NOTIFICATIONS_API NotificationConfigurationStructure(Aws::Utils::Json::JsonView jsonValue)
NotificationConfigurationStructure & WithCreationTime(CreationTimeT &&value)
NotificationConfigurationStructure & WithDescription(DescriptionT &&value)
AWS_NOTIFICATIONS_API NotificationConfigurationStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API NotificationConfigurationStructure()=default
NotificationConfigurationStructure & WithSubtype(NotificationConfigurationSubtype value)
NotificationConfigurationStructure & WithAggregationDuration(AggregationDuration value)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue