7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
15namespace CloudWatchEvidently
42 template<
typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
44 template<
typename DescriptionT = Aws::String>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
69 template<
typename PatternT = Aws::String>
70 void SetPattern(PatternT&& value) { m_patternHasBeenSet =
true; m_pattern = std::forward<PatternT>(value); }
71 template<
typename PatternT = Aws::String>
89 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
91 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
95 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
101 bool m_descriptionHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
107 bool m_patternHasBeenSet =
false;
110 bool m_tagsHasBeenSet =
false;
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
AWS_CLOUDWATCHEVIDENTLY_API CreateSegmentRequest()=default
CreateSegmentRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSegmentRequest & WithDescription(DescriptionT &&value)
CreateSegmentRequest & WithPattern(PatternT &&value)
bool NameHasBeenSet() const
bool PatternHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetPattern() const
CreateSegmentRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
void SetPattern(PatternT &&value)
CreateSegmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
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