7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/xray/model/SamplingRule.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/model/Tag.h>
43 template<
typename SamplingRuleT = SamplingRule>
44 void SetSamplingRule(SamplingRuleT&& value) { m_samplingRuleHasBeenSet =
true; m_samplingRule = std::forward<SamplingRuleT>(value); }
45 template<
typename SamplingRuleT = SamplingRule>
66 template<
typename TagsT = Aws::Vector<Tag>>
67 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
68 template<
typename TagsT = Aws::Vector<Tag>>
70 template<
typename TagsT = Tag>
76 bool m_samplingRuleHasBeenSet =
false;
79 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