AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetEventIntegrationResult.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/EventFilter.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppIntegrationsService {
25namespace Model {
27 public:
28 AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult() = default;
30 AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult& operator=(
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetEventIntegrationArn() const { return m_eventIntegrationArn; }
72 template <typename EventIntegrationArnT = Aws::String>
73 void SetEventIntegrationArn(EventIntegrationArnT&& value) {
74 m_eventIntegrationArnHasBeenSet = true;
75 m_eventIntegrationArn = std::forward<EventIntegrationArnT>(value);
76 }
77 template <typename EventIntegrationArnT = Aws::String>
78 GetEventIntegrationResult& WithEventIntegrationArn(EventIntegrationArnT&& value) {
79 SetEventIntegrationArn(std::forward<EventIntegrationArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetEventBridgeBus() const { return m_eventBridgeBus; }
89 template <typename EventBridgeBusT = Aws::String>
90 void SetEventBridgeBus(EventBridgeBusT&& value) {
91 m_eventBridgeBusHasBeenSet = true;
92 m_eventBridgeBus = std::forward<EventBridgeBusT>(value);
93 }
94 template <typename EventBridgeBusT = Aws::String>
96 SetEventBridgeBus(std::forward<EventBridgeBusT>(value));
97 return *this;
98 }
100
102
105 inline const EventFilter& GetEventFilter() const { return m_eventFilter; }
106 template <typename EventFilterT = EventFilter>
107 void SetEventFilter(EventFilterT&& value) {
108 m_eventFilterHasBeenSet = true;
109 m_eventFilter = std::forward<EventFilterT>(value);
110 }
111 template <typename EventFilterT = EventFilter>
113 SetEventFilter(std::forward<EventFilterT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) {
126 m_tagsHasBeenSet = true;
127 m_tags = std::forward<TagsT>(value);
128 }
129 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
132 return *this;
133 }
134 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
135 GetEventIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
138 return *this;
139 }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template <typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) {
147 m_requestIdHasBeenSet = true;
148 m_requestId = std::forward<RequestIdT>(value);
149 }
150 template <typename RequestIdT = Aws::String>
152 SetRequestId(std::forward<RequestIdT>(value));
153 return *this;
154 }
156 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
157
158 private:
159 Aws::String m_name;
160
161 Aws::String m_description;
162
163 Aws::String m_eventIntegrationArn;
164
165 Aws::String m_eventBridgeBus;
166
167 EventFilter m_eventFilter;
168
170
171 Aws::String m_requestId;
172 Aws::Http::HttpResponseCode m_HttpResponseCode;
173 bool m_nameHasBeenSet = false;
174 bool m_descriptionHasBeenSet = false;
175 bool m_eventIntegrationArnHasBeenSet = false;
176 bool m_eventBridgeBusHasBeenSet = false;
177 bool m_eventFilterHasBeenSet = false;
178 bool m_tagsHasBeenSet = false;
179 bool m_requestIdHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace AppIntegrationsService
184} // namespace Aws
GetEventIntegrationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetEventIntegrationResult & WithEventFilter(EventFilterT &&value)
GetEventIntegrationResult & WithDescription(DescriptionT &&value)
AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult()=default
GetEventIntegrationResult & WithRequestId(RequestIdT &&value)
AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventIntegrationResult & WithEventBridgeBus(EventBridgeBusT &&value)
GetEventIntegrationResult & WithEventIntegrationArn(EventIntegrationArnT &&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