AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
PredictiveConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ConnectCampaignsV2 {
17namespace Model {
18
25 public:
26 AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig() = default;
27 AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig(Aws::Utils::Json::JsonView jsonValue);
28 AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
33 inline double GetBandwidthAllocation() const { return m_bandwidthAllocation; }
34 inline bool BandwidthAllocationHasBeenSet() const { return m_bandwidthAllocationHasBeenSet; }
35 inline void SetBandwidthAllocation(double value) {
36 m_bandwidthAllocationHasBeenSet = true;
37 m_bandwidthAllocation = value;
38 }
41 return *this;
42 }
44 private:
45 double m_bandwidthAllocation{0.0};
46 bool m_bandwidthAllocationHasBeenSet = false;
47};
48
49} // namespace Model
50} // namespace ConnectCampaignsV2
51} // namespace Aws
PredictiveConfig & WithBandwidthAllocation(double value)
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig()=default
AWS_CONNECTCAMPAIGNSV2_API PredictiveConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue