7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/events/model/Tag.h>
16namespace CloudWatchEvents
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename EventSourceNameT = Aws::String>
63 void SetEventSourceName(EventSourceNameT&& value) { m_eventSourceNameHasBeenSet =
true; m_eventSourceName = std::forward<EventSourceNameT>(value); }
64 template<
typename EventSourceNameT = Aws::String>
74 template<
typename TagsT = Aws::Vector<Tag>>
75 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
76 template<
typename TagsT = Aws::Vector<Tag>>
78 template<
typename TagsT = Tag>
84 bool m_nameHasBeenSet =
false;
87 bool m_eventSourceNameHasBeenSet =
false;
90 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
AWS_CLOUDWATCHEVENTS_API CreateEventBusRequest()=default
CreateEventBusRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
CreateEventBusRequest & WithName(NameT &&value)
CreateEventBusRequest & WithEventSourceName(EventSourceNameT &&value)
CreateEventBusRequest & AddTags(TagsT &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
void SetEventSourceName(EventSourceNameT &&value)
void SetName(NameT &&value)
bool EventSourceNameHasBeenSet() const
const Aws::String & GetEventSourceName() const
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
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