AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
GetNotificationConfigurationResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Notifications
28{
29namespace Model
30{
32 {
33 public:
34 AWS_NOTIFICATIONS_API GetNotificationConfigurationResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetNotificationConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 GetNotificationConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 GetNotificationConfigurationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
76 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
77 inline void SetStatus(NotificationConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
80
82
85 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 GetNotificationConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
91
93
102 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
103 inline void SetAggregationDuration(AggregationDuration value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
106
108
111 inline NotificationConfigurationSubtype GetSubtype() const { return m_subtype; }
112 inline void SetSubtype(NotificationConfigurationSubtype value) { m_subtypeHasBeenSet = true; m_subtype = value; }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template<typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
121 template<typename RequestIdT = Aws::String>
122 GetNotificationConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
124 private:
125
126 Aws::String m_arn;
127 bool m_arnHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
136 bool m_statusHasBeenSet = false;
137
138 Aws::Utils::DateTime m_creationTime{};
139 bool m_creationTimeHasBeenSet = false;
140
142 bool m_aggregationDurationHasBeenSet = false;
143
145 bool m_subtypeHasBeenSet = false;
146
147 Aws::String m_requestId;
148 bool m_requestIdHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Notifications
153} // namespace Aws
GetNotificationConfigurationResult & WithStatus(NotificationConfigurationStatus value)
GetNotificationConfigurationResult & WithAggregationDuration(AggregationDuration value)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult()=default
GetNotificationConfigurationResult & WithSubtype(NotificationConfigurationSubtype value)
GetNotificationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNotificationConfigurationResult & WithDescription(DescriptionT &&value)
GetNotificationConfigurationResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue