AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEventIntegrationRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appintegrations/model/EventFilter.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace AppIntegrationsService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPINTEGRATIONSSERVICE_API CreateEventIntegrationRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateEventIntegration"; }
34
35 AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateEventIntegrationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateEventIntegrationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateEventIntegrationRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateEventIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateEventIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateEventIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const EventFilter& GetEventFilter() const{ return m_eventFilter; }
71 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
72 inline void SetEventFilter(const EventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; }
73 inline void SetEventFilter(EventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); }
74 inline CreateEventIntegrationRequest& WithEventFilter(const EventFilter& value) { SetEventFilter(value); return *this;}
75 inline CreateEventIntegrationRequest& WithEventFilter(EventFilter&& value) { SetEventFilter(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetEventBridgeBus() const{ return m_eventBridgeBus; }
83 inline bool EventBridgeBusHasBeenSet() const { return m_eventBridgeBusHasBeenSet; }
84 inline void SetEventBridgeBus(const Aws::String& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = value; }
85 inline void SetEventBridgeBus(Aws::String&& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = std::move(value); }
86 inline void SetEventBridgeBus(const char* value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus.assign(value); }
88 inline CreateEventIntegrationRequest& WithEventBridgeBus(Aws::String&& value) { SetEventBridgeBus(std::move(value)); return *this;}
89 inline CreateEventIntegrationRequest& WithEventBridgeBus(const char* value) { SetEventBridgeBus(value); return *this;}
91
93
100 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
101 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
102 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
103 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
104 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
105 inline CreateEventIntegrationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
106 inline CreateEventIntegrationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
107 inline CreateEventIntegrationRequest& WithClientToken(const char* value) { SetClientToken(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); }
120 inline CreateEventIntegrationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
121 inline CreateEventIntegrationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122 inline CreateEventIntegrationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CreateEventIntegrationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline CreateEventIntegrationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
125 inline CreateEventIntegrationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline CreateEventIntegrationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline CreateEventIntegrationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 EventFilter m_eventFilter;
138 bool m_eventFilterHasBeenSet = false;
139
140 Aws::String m_eventBridgeBus;
141 bool m_eventBridgeBusHasBeenSet = false;
142
143 Aws::String m_clientToken;
144 bool m_clientTokenHasBeenSet = false;
145
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace AppIntegrationsService
152} // namespace Aws
CreateEventIntegrationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateEventIntegrationRequest & WithEventFilter(EventFilter &&value)
CreateEventIntegrationRequest & WithClientToken(const Aws::String &value)
CreateEventIntegrationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateEventIntegrationRequest & AddTags(const char *key, const char *value)
CreateEventIntegrationRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
CreateEventIntegrationRequest & WithEventBridgeBus(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventIntegrationRequest & WithName(const Aws::String &value)
CreateEventIntegrationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEventIntegrationRequest & WithClientToken(Aws::String &&value)
CreateEventIntegrationRequest & WithEventBridgeBus(const Aws::String &value)
CreateEventIntegrationRequest & WithDescription(const Aws::String &value)
CreateEventIntegrationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEventIntegrationRequest & WithEventBridgeBus(Aws::String &&value)
CreateEventIntegrationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventIntegrationRequest & AddTags(Aws::String &&key, const char *value)
CreateEventIntegrationRequest & AddTags(const char *key, Aws::String &&value)
CreateEventIntegrationRequest & WithDescription(Aws::String &&value)
CreateEventIntegrationRequest & WithEventFilter(const EventFilter &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