AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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