7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/SamplingRule.h>
9#include <aws/core/utils/DateTime.h>
49 template<
typename SamplingRuleT = SamplingRule>
50 void SetSamplingRule(SamplingRuleT&& value) { m_samplingRuleHasBeenSet =
true; m_samplingRule = std::forward<SamplingRuleT>(value); }
51 template<
typename SamplingRuleT = SamplingRule>
61 template<
typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
73 template<
typename ModifiedAtT = Aws::Utils::DateTime>
74 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
75 template<
typename ModifiedAtT = Aws::Utils::DateTime>
81 bool m_samplingRuleHasBeenSet =
false;
84 bool m_createdAtHasBeenSet =
false;
87 bool m_modifiedAtHasBeenSet =
false;
SamplingRuleRecord & WithModifiedAt(ModifiedAtT &&value)
SamplingRuleRecord & WithCreatedAt(CreatedAtT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool SamplingRuleHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
bool ModifiedAtHasBeenSet() const
AWS_XRAY_API SamplingRuleRecord()=default
AWS_XRAY_API SamplingRuleRecord(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
SamplingRuleRecord & WithSamplingRule(SamplingRuleT &&value)
bool CreatedAtHasBeenSet() const
const SamplingRule & GetSamplingRule() const
AWS_XRAY_API SamplingRuleRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSamplingRule(SamplingRuleT &&value)
void SetModifiedAt(ModifiedAtT &&value)
Aws::Utils::Json::JsonValue JsonValue