7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/SamplingRule.h>
11#include <aws/xray/model/Tag.h>
39 template <
typename SamplingRuleT = SamplingRule>
41 m_samplingRuleHasBeenSet =
true;
42 m_samplingRule = std::forward<SamplingRuleT>(value);
44 template <
typename SamplingRuleT = SamplingRule>
68 template <
typename TagsT = Aws::Vector<Tag>>
70 m_tagsHasBeenSet =
true;
71 m_tags = std::forward<TagsT>(value);
73 template <
typename TagsT = Aws::Vector<Tag>>
75 SetTags(std::forward<TagsT>(value));
78 template <
typename TagsT = Tag>
80 m_tagsHasBeenSet =
true;
81 m_tags.emplace_back(std::forward<TagsT>(value));
87 bool m_samplingRuleHasBeenSet =
false;
90 bool m_tagsHasBeenSet =
false;
const SamplingRule & GetSamplingRule() const
bool SamplingRuleHasBeenSet() const
CreateSamplingRuleRequest & WithSamplingRule(SamplingRuleT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
CreateSamplingRuleRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
AWS_XRAY_API Aws::String SerializePayload() const override
CreateSamplingRuleRequest & WithTags(TagsT &&value)
AWS_XRAY_API CreateSamplingRuleRequest()=default
void SetTags(TagsT &&value)
void SetSamplingRule(SamplingRuleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector