AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
CreateNotificationConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/Notifications_EXPORTS.h>
9#include <aws/notifications/model/NotificationConfigurationStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Notifications {
23namespace Model {
25 public:
26 AWS_NOTIFICATIONS_API CreateNotificationConfigurationResult() = default;
30
32
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_arn;
80
82
83 Aws::String m_requestId;
84 bool m_arnHasBeenSet = false;
85 bool m_statusHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Notifications
91} // namespace Aws
CreateNotificationConfigurationResult & WithStatus(NotificationConfigurationStatus value)
AWS_NOTIFICATIONS_API CreateNotificationConfigurationResult()=default
CreateNotificationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_NOTIFICATIONS_API CreateNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API CreateNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue