AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Notifications
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_NOTIFICATIONS_API NotificationConfigurationStructure() = default;
41 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 NotificationConfigurationStructure& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 NotificationConfigurationStructure& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 NotificationConfigurationStructure& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
86 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(NotificationConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 NotificationConfigurationStructure& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
114 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
115 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
116 inline void SetAggregationDuration(AggregationDuration value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationTime{};
134 bool m_creationTimeHasBeenSet = false;
135
137 bool m_aggregationDurationHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Notifications
142} // 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 & 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