7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridgeRequest.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/DeadLetterConfig.h>
12#include <aws/eventbridge/model/LogConfig.h>
13#include <aws/eventbridge/model/Tag.h>
18namespace EventBridge {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
68 template <
typename EventSourceNameT = Aws::String>
70 m_eventSourceNameHasBeenSet =
true;
71 m_eventSourceName = std::forward<EventSourceNameT>(value);
73 template <
typename EventSourceNameT = Aws::String>
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
129 template <
typename KmsKeyIdentifierT = Aws::String>
131 m_kmsKeyIdentifierHasBeenSet =
true;
132 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
134 template <
typename KmsKeyIdentifierT = Aws::String>
145 template <
typename DeadLetterConfigT = DeadLetterConfig>
147 m_deadLetterConfigHasBeenSet =
true;
148 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
150 template <
typename DeadLetterConfigT = DeadLetterConfig>
166 template <
typename LogConfigT = LogConfig>
168 m_logConfigHasBeenSet =
true;
169 m_logConfig = std::forward<LogConfigT>(value);
171 template <
typename LogConfigT = LogConfig>
184 template <
typename TagsT = Aws::Vector<Tag>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Vector<Tag>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsT = Tag>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace_back(std::forward<TagsT>(value));
215 bool m_nameHasBeenSet =
false;
216 bool m_eventSourceNameHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
218 bool m_kmsKeyIdentifierHasBeenSet =
false;
219 bool m_deadLetterConfigHasBeenSet =
false;
220 bool m_logConfigHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
CreateEventBusRequest & WithLogConfig(LogConfigT &&value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
bool EventSourceNameHasBeenSet() const
void SetEventSourceName(EventSourceNameT &&value)
AWS_EVENTBRIDGE_API CreateEventBusRequest()=default
bool KmsKeyIdentifierHasBeenSet() const
CreateEventBusRequest & WithEventSourceName(EventSourceNameT &&value)
void SetLogConfig(LogConfigT &&value)
void SetName(NameT &&value)
CreateEventBusRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateEventBusRequest & WithDeadLetterConfig(DeadLetterConfigT &&value)
const LogConfig & GetLogConfig() const
bool DeadLetterConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetKmsKeyIdentifier() const
void SetDescription(DescriptionT &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEventBusRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
CreateEventBusRequest & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
CreateEventBusRequest & WithName(NameT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
bool LogConfigHasBeenSet() const
const Aws::String & GetEventSourceName() const
CreateEventBusRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector