7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/ExperimentRunEventType.h>
9#include <aws/appconfig/model/TreatmentOverrides.h>
10#include <aws/appconfig/model/TriggeredBy.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
64 template <
typename AssociatedDeploymentT = Aws::String>
66 m_associatedDeploymentHasBeenSet =
true;
67 m_associatedDeployment = std::forward<AssociatedDeploymentT>(value);
69 template <
typename AssociatedDeploymentT = Aws::String>
85 m_eventTypeHasBeenSet =
true;
100 template <
typename OccurredAtT = Aws::Utils::DateTime>
102 m_occurredAtHasBeenSet =
true;
103 m_occurredAt = std::forward<OccurredAtT>(value);
105 template <
typename OccurredAtT = Aws::Utils::DateTime>
119 m_triggeredByHasBeenSet =
true;
120 m_triggeredBy = value;
135 m_exposurePercentageHasBeenSet =
true;
136 m_exposurePercentage = value;
150 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
152 m_treatmentOverridesHasBeenSet =
true;
153 m_treatmentOverrides = std::forward<TreatmentOverridesT>(value);
155 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
172 double m_exposurePercentage{0.0};
174 TreatmentOverrides m_treatmentOverrides;
175 bool m_descriptionHasBeenSet =
false;
176 bool m_associatedDeploymentHasBeenSet =
false;
177 bool m_eventTypeHasBeenSet =
false;
178 bool m_occurredAtHasBeenSet =
false;
179 bool m_triggeredByHasBeenSet =
false;
180 bool m_exposurePercentageHasBeenSet =
false;
181 bool m_treatmentOverridesHasBeenSet =
false;
double GetExposurePercentage() const
void SetTreatmentOverrides(TreatmentOverridesT &&value)
void SetAssociatedDeployment(AssociatedDeploymentT &&value)
ExperimentRunEvent & WithOccurredAt(OccurredAtT &&value)
void SetTriggeredBy(TriggeredBy value)
ExperimentRunEvent & WithDescription(DescriptionT &&value)
AWS_APPCONFIG_API ExperimentRunEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API ExperimentRunEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentRunEvent & WithEventType(ExperimentRunEventType value)
ExperimentRunEventType GetEventType() const
bool AssociatedDeploymentHasBeenSet() const
bool EventTypeHasBeenSet() const
AWS_APPCONFIG_API ExperimentRunEvent()=default
void SetOccurredAt(OccurredAtT &&value)
const Aws::String & GetDescription() const
ExperimentRunEvent & WithTreatmentOverrides(TreatmentOverridesT &&value)
bool TriggeredByHasBeenSet() const
const TreatmentOverrides & GetTreatmentOverrides() const
ExperimentRunEvent & WithExposurePercentage(double value)
bool DescriptionHasBeenSet() const
const Aws::String & GetAssociatedDeployment() const
TriggeredBy GetTriggeredBy() const
const Aws::Utils::DateTime & GetOccurredAt() const
ExperimentRunEvent & WithAssociatedDeployment(AssociatedDeploymentT &&value)
bool OccurredAtHasBeenSet() const
void SetExposurePercentage(double value)
ExperimentRunEvent & WithTriggeredBy(TriggeredBy value)
void SetEventType(ExperimentRunEventType value)
void SetDescription(DescriptionT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
bool TreatmentOverridesHasBeenSet() const
bool ExposurePercentageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue