7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/DeadLetterConfig.h>
11#include <aws/eventbridge/model/LogConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/eventbridge/model/Tag.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
66 template<
typename EventSourceNameT = Aws::String>
67 void SetEventSourceName(EventSourceNameT&& value) { m_eventSourceNameHasBeenSet =
true; m_eventSourceName = std::forward<EventSourceNameT>(value); }
68 template<
typename EventSourceNameT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
115 template<
typename KmsKeyIdentifierT = Aws::String>
116 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
117 template<
typename KmsKeyIdentifierT = Aws::String>
125 template<
typename DeadLetterConfigT = DeadLetterConfig>
126 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet =
true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
127 template<
typename DeadLetterConfigT = DeadLetterConfig>
140 template<
typename LogConfigT = LogConfig>
141 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet =
true; m_logConfig = std::forward<LogConfigT>(value); }
142 template<
typename LogConfigT = LogConfig>
152 template<
typename TagsT = Aws::Vector<Tag>>
153 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
154 template<
typename TagsT = Aws::Vector<Tag>>
156 template<
typename TagsT = Tag>
162 bool m_nameHasBeenSet =
false;
165 bool m_eventSourceNameHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
171 bool m_kmsKeyIdentifierHasBeenSet =
false;
174 bool m_deadLetterConfigHasBeenSet =
false;
177 bool m_logConfigHasBeenSet =
false;
180 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