AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Notifications
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NOTIFICATIONS_API GetNotificationConfigurationResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 GetNotificationConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 GetNotificationConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 GetNotificationConfigurationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
76 inline void SetStatus(NotificationConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
79
81
84 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 GetNotificationConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
101 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
102 inline void SetAggregationDuration(AggregationDuration value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 GetNotificationConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
126 bool m_statusHasBeenSet = false;
127
128 Aws::Utils::DateTime m_creationTime{};
129 bool m_creationTimeHasBeenSet = false;
130
132 bool m_aggregationDurationHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Notifications
140} // 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 & 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