7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/events/CloudWatchEventsRequest.h>
10#include <aws/events/CloudWatchEvents_EXPORTS.h>
11#include <aws/events/model/Tag.h>
16namespace CloudWatchEvents {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename EventSourceNameT = Aws::String>
66 m_eventSourceNameHasBeenSet =
true;
67 m_eventSourceName = std::forward<EventSourceNameT>(value);
69 template <
typename EventSourceNameT = Aws::String>
82 template <
typename TagsT = Aws::Vector<Tag>>
84 m_tagsHasBeenSet =
true;
85 m_tags = std::forward<TagsT>(value);
87 template <
typename TagsT = Aws::Vector<Tag>>
89 SetTags(std::forward<TagsT>(value));
92 template <
typename TagsT = Tag>
94 m_tagsHasBeenSet =
true;
95 m_tags.emplace_back(std::forward<TagsT>(value));
105 bool m_nameHasBeenSet =
false;
106 bool m_eventSourceNameHasBeenSet =
false;
107 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