AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetEventIntegrationResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppIntegrationsService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPINTEGRATIONSSERVICE_API GetEventIntegrationResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 GetEventIntegrationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 GetEventIntegrationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetEventIntegrationArn() const { return m_eventIntegrationArn; }
64 template<typename EventIntegrationArnT = Aws::String>
65 void SetEventIntegrationArn(EventIntegrationArnT&& value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn = std::forward<EventIntegrationArnT>(value); }
66 template<typename EventIntegrationArnT = Aws::String>
67 GetEventIntegrationResult& WithEventIntegrationArn(EventIntegrationArnT&& value) { SetEventIntegrationArn(std::forward<EventIntegrationArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetEventBridgeBus() const { return m_eventBridgeBus; }
75 template<typename EventBridgeBusT = Aws::String>
76 void SetEventBridgeBus(EventBridgeBusT&& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = std::forward<EventBridgeBusT>(value); }
77 template<typename EventBridgeBusT = Aws::String>
78 GetEventIntegrationResult& WithEventBridgeBus(EventBridgeBusT&& value) { SetEventBridgeBus(std::forward<EventBridgeBusT>(value)); return *this;}
80
82
85 inline const EventFilter& GetEventFilter() const { return m_eventFilter; }
86 template<typename EventFilterT = EventFilter>
87 void SetEventFilter(EventFilterT&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::forward<EventFilterT>(value); }
88 template<typename EventFilterT = EventFilter>
89 GetEventIntegrationResult& WithEventFilter(EventFilterT&& value) { SetEventFilter(std::forward<EventFilterT>(value)); return *this;}
91
93
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
98 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
100 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 GetEventIntegrationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
102 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
103 GetEventIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
104 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template<typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
113 template<typename RequestIdT = Aws::String>
114 GetEventIntegrationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
116 private:
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_eventIntegrationArn;
125 bool m_eventIntegrationArnHasBeenSet = false;
126
127 Aws::String m_eventBridgeBus;
128 bool m_eventBridgeBusHasBeenSet = false;
129
130 EventFilter m_eventFilter;
131 bool m_eventFilterHasBeenSet = false;
132
134 bool m_tagsHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace AppIntegrationsService
142} // 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