7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/ConnectionStartPoint.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ConnectCampaignsV2 {
41 m_targetRateHasBeenSet =
true;
57 m_connectionStartPointHasBeenSet =
true;
58 m_connectionStartPoint = value;
73 m_connectionThresholdSecondsHasBeenSet =
true;
74 m_connectionThresholdSeconds = value;
88 template <
typename EvaluationWindowT = Aws::String>
90 m_evaluationWindowHasBeenSet =
true;
91 m_evaluationWindow = std::forward<EvaluationWindowT>(value);
93 template <
typename EvaluationWindowT = Aws::String>
100 double m_targetRate{0.0};
104 int m_connectionThresholdSeconds{0};
107 bool m_targetRateHasBeenSet =
false;
108 bool m_connectionStartPointHasBeenSet =
false;
109 bool m_connectionThresholdSecondsHasBeenSet =
false;
110 bool m_evaluationWindowHasBeenSet =
false;
void SetEvaluationWindow(EvaluationWindowT &&value)
void SetTargetRate(double value)
bool ConnectionStartPointHasBeenSet() const
AbandonmentRatePacingConfig & WithTargetRate(double value)
AWS_CONNECTCAMPAIGNSV2_API AbandonmentRatePacingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AbandonmentRatePacingConfig & WithEvaluationWindow(EvaluationWindowT &&value)
void SetConnectionStartPoint(ConnectionStartPoint value)
ConnectionStartPoint GetConnectionStartPoint() const
void SetConnectionThresholdSeconds(int value)
bool EvaluationWindowHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API AbandonmentRatePacingConfig()=default
double GetTargetRate() const
int GetConnectionThresholdSeconds() const
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEvaluationWindow() const
AbandonmentRatePacingConfig & WithConnectionStartPoint(ConnectionStartPoint value)
bool TargetRateHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API AbandonmentRatePacingConfig(Aws::Utils::Json::JsonView jsonValue)
AbandonmentRatePacingConfig & WithConnectionThresholdSeconds(int value)
bool ConnectionThresholdSecondsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue