AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventIntegration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appintegrations/model/EventFilter.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppIntegrationsService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APPINTEGRATIONSSERVICE_API EventIntegration();
37 AWS_APPINTEGRATIONSSERVICE_API EventIntegration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API EventIntegration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEventIntegrationArn() const{ return m_eventIntegrationArn; }
47 inline bool EventIntegrationArnHasBeenSet() const { return m_eventIntegrationArnHasBeenSet; }
48 inline void SetEventIntegrationArn(const Aws::String& value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn = value; }
49 inline void SetEventIntegrationArn(Aws::String&& value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn = std::move(value); }
50 inline void SetEventIntegrationArn(const char* value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn.assign(value); }
51 inline EventIntegration& WithEventIntegrationArn(const Aws::String& value) { SetEventIntegrationArn(value); return *this;}
52 inline EventIntegration& WithEventIntegrationArn(Aws::String&& value) { SetEventIntegrationArn(std::move(value)); return *this;}
53 inline EventIntegration& WithEventIntegrationArn(const char* value) { SetEventIntegrationArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline EventIntegration& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline EventIntegration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline EventIntegration& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline EventIntegration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline EventIntegration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline EventIntegration& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const EventFilter& GetEventFilter() const{ return m_eventFilter; }
89 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
90 inline void SetEventFilter(const EventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; }
91 inline void SetEventFilter(EventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); }
92 inline EventIntegration& WithEventFilter(const EventFilter& value) { SetEventFilter(value); return *this;}
93 inline EventIntegration& WithEventFilter(EventFilter&& value) { SetEventFilter(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetEventBridgeBus() const{ return m_eventBridgeBus; }
101 inline bool EventBridgeBusHasBeenSet() const { return m_eventBridgeBusHasBeenSet; }
102 inline void SetEventBridgeBus(const Aws::String& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = value; }
103 inline void SetEventBridgeBus(Aws::String&& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = std::move(value); }
104 inline void SetEventBridgeBus(const char* value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus.assign(value); }
105 inline EventIntegration& WithEventBridgeBus(const Aws::String& value) { SetEventBridgeBus(value); return *this;}
106 inline EventIntegration& WithEventBridgeBus(Aws::String&& value) { SetEventBridgeBus(std::move(value)); return *this;}
107 inline EventIntegration& WithEventBridgeBus(const char* value) { SetEventBridgeBus(value); return *this;}
109
111
115 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
118 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline EventIntegration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
120 inline EventIntegration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
121 inline EventIntegration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122 inline EventIntegration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline EventIntegration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline EventIntegration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
125 inline EventIntegration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline EventIntegration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline EventIntegration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
129 private:
130
131 Aws::String m_eventIntegrationArn;
132 bool m_eventIntegrationArnHasBeenSet = false;
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 EventFilter m_eventFilter;
141 bool m_eventFilterHasBeenSet = false;
142
143 Aws::String m_eventBridgeBus;
144 bool m_eventBridgeBusHasBeenSet = false;
145
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace AppIntegrationsService
152} // namespace Aws
EventIntegration & AddTags(Aws::String &&key, const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API EventIntegration(Aws::Utils::Json::JsonView jsonValue)
EventIntegration & WithEventIntegrationArn(const Aws::String &value)
EventIntegration & WithEventBridgeBus(Aws::String &&value)
EventIntegration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
EventIntegration & WithName(const Aws::String &value)
EventIntegration & WithEventFilter(EventFilter &&value)
EventIntegration & WithEventIntegrationArn(Aws::String &&value)
EventIntegration & WithName(Aws::String &&value)
EventIntegration & WithName(const char *value)
AWS_APPINTEGRATIONSSERVICE_API EventIntegration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EventIntegration & WithEventBridgeBus(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API EventIntegration()
EventIntegration & AddTags(const Aws::String &key, const Aws::String &value)
EventIntegration & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EventIntegration & AddTags(Aws::String &&key, const char *value)
EventIntegration & WithDescription(Aws::String &&value)
EventIntegration & AddTags(const Aws::String &key, Aws::String &&value)
EventIntegration & AddTags(const char *key, const char *value)
EventIntegration & WithDescription(const char *value)
EventIntegration & AddTags(Aws::String &&key, Aws::String &&value)
EventIntegration & WithEventBridgeBus(const char *value)
EventIntegration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
EventIntegration & WithEventFilter(const EventFilter &value)
EventIntegration & WithEventIntegrationArn(const char *value)
EventIntegration & WithDescription(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue