AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Publication.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 Publication() = default;
31 AWS_APPINTEGRATIONSSERVICE_API Publication(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPINTEGRATIONSSERVICE_API Publication& 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 Publication& WithEvent(EventT&& value) {
48 SetEvent(std::forward<EventT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSchema() const { return m_schema; }
58 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
59 template <typename SchemaT = Aws::String>
60 void SetSchema(SchemaT&& value) {
61 m_schemaHasBeenSet = true;
62 m_schema = std::forward<SchemaT>(value);
63 }
64 template <typename SchemaT = Aws::String>
65 Publication& WithSchema(SchemaT&& value) {
66 SetSchema(std::forward<SchemaT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 Publication& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_event;
90
91 Aws::String m_schema;
92
93 Aws::String m_description;
94 bool m_eventHasBeenSet = false;
95 bool m_schemaHasBeenSet = false;
96 bool m_descriptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace AppIntegrationsService
101} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API Publication()=default
const Aws::String & GetDescription() const
Definition Publication.h:75
AWS_APPINTEGRATIONSSERVICE_API Publication(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Publication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Publication & WithDescription(DescriptionT &&value)
Definition Publication.h:83
Publication & WithEvent(EventT &&value)
Definition Publication.h:47
Publication & WithSchema(SchemaT &&value)
Definition Publication.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue