7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/ObservabilityAdminRequest.h>
10#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
11#include <aws/observabilityadmin/model/TelemetryRule.h>
16namespace ObservabilityAdmin {
39 template <
typename RuleNameT = Aws::String>
41 m_ruleNameHasBeenSet =
true;
42 m_ruleName = std::forward<RuleNameT>(value);
44 template <
typename RuleNameT = Aws::String>
59 template <
typename RuleT = TelemetryRule>
61 m_ruleHasBeenSet =
true;
62 m_rule = std::forward<RuleT>(value);
64 template <
typename RuleT = TelemetryRule>
66 SetRule(std::forward<RuleT>(value));
78 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 m_tagsHasBeenSet =
true;
81 m_tags = std::forward<TagsT>(value);
83 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 SetTags(std::forward<TagsT>(value));
88 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
90 m_tagsHasBeenSet =
true;
91 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
101 bool m_ruleNameHasBeenSet =
false;
102 bool m_ruleHasBeenSet =
false;
103 bool m_tagsHasBeenSet =
false;
CreateTelemetryRuleRequest & WithTags(TagsT &&value)
AWS_OBSERVABILITYADMIN_API CreateTelemetryRuleRequest()=default
bool RuleHasBeenSet() const
const Aws::String & GetRuleName() const
CreateTelemetryRuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const TelemetryRule & GetRule() const
bool RuleNameHasBeenSet() const
CreateTelemetryRuleRequest & WithRuleName(RuleNameT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateTelemetryRuleRequest & WithRule(RuleT &&value)
bool TagsHasBeenSet() const
void SetRule(RuleT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override
void SetRuleName(RuleNameT &&value)
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