7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/PacingStrategy.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace ConnectCampaignsV2 {
40 m_bandwidthAllocationHasBeenSet =
true;
41 m_bandwidthAllocation = value;
55 template <
typename PacingStrategiesT = Aws::Vector<PacingStrategy>>
57 m_pacingStrategiesHasBeenSet =
true;
58 m_pacingStrategies = std::forward<PacingStrategiesT>(value);
60 template <
typename PacingStrategiesT = Aws::Vector<PacingStrategy>>
65 template <
typename PacingStrategiesT = PacingStrategy>
67 m_pacingStrategiesHasBeenSet =
true;
68 m_pacingStrategies.emplace_back(std::forward<PacingStrategiesT>(value));
73 double m_bandwidthAllocation{0.0};
76 bool m_bandwidthAllocationHasBeenSet =
false;
77 bool m_pacingStrategiesHasBeenSet =
false;
const Aws::Vector< PacingStrategy > & GetPacingStrategies() const
bool PacingStrategiesHasBeenSet() const
PredictiveConfig & WithBandwidthAllocation(double value)
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBandwidthAllocation(double value)
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig()=default
void SetPacingStrategies(PacingStrategiesT &&value)
double GetBandwidthAllocation() const
bool BandwidthAllocationHasBeenSet() const
PredictiveConfig & WithPacingStrategies(PacingStrategiesT &&value)
PredictiveConfig & AddPacingStrategies(PacingStrategiesT &&value)
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue