AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
Subscription.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppIntegrationsService {
20namespace Model {
21
29 public:
30 AWS_APPINTEGRATIONSSERVICE_API Subscription() = default;
31 AWS_APPINTEGRATIONSSERVICE_API Subscription(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPINTEGRATIONSSERVICE_API Subscription& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEvent() const { return m_event; }
40 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
41 template <typename EventT = Aws::String>
42 void SetEvent(EventT&& value) {
43 m_eventHasBeenSet = true;
44 m_event = std::forward<EventT>(value);
45 }
46 template <typename EventT = Aws::String>
47 Subscription& WithEvent(EventT&& value) {
48 SetEvent(std::forward<EventT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
65 Subscription& WithDescription(DescriptionT&& value) {
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_event;
72
73 Aws::String m_description;
74 bool m_eventHasBeenSet = false;
75 bool m_descriptionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AppIntegrationsService
80} // namespace Aws
Subscription & WithDescription(DescriptionT &&value)
AWS_APPINTEGRATIONSSERVICE_API Subscription()=default
Subscription & WithEvent(EventT &&value)
AWS_APPINTEGRATIONSSERVICE_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Subscription(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue