AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ProgressiveConfig.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 ProgressiveConfig() = default;
27 AWS_CONNECTCAMPAIGNSV2_API ProgressiveConfig(Aws::Utils::Json::JsonView jsonValue);
28 AWS_CONNECTCAMPAIGNSV2_API ProgressiveConfig& 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
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