7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/AgentAction.h>
9#include <aws/connectcampaignsv2/model/TimeoutConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ConnectCampaignsV2 {
41 m_bandwidthAllocationHasBeenSet =
true;
42 m_bandwidthAllocation = value;
54 template <
typename TimeoutConfigT = TimeoutConfig>
56 m_timeoutConfigHasBeenSet =
true;
57 m_timeoutConfig = std::forward<TimeoutConfigT>(value);
59 template <
typename TimeoutConfigT = TimeoutConfig>
70 template <
typename AgentActionsT = Aws::Vector<AgentAction>>
72 m_agentActionsHasBeenSet =
true;
73 m_agentActions = std::forward<AgentActionsT>(value);
75 template <
typename AgentActionsT = Aws::Vector<AgentAction>>
81 m_agentActionsHasBeenSet =
true;
82 m_agentActions.push_back(value);
87 double m_bandwidthAllocation{0.0};
89 TimeoutConfig m_timeoutConfig;
92 bool m_bandwidthAllocationHasBeenSet =
false;
93 bool m_timeoutConfigHasBeenSet =
false;
94 bool m_agentActionsHasBeenSet =
false;
PreviewConfig & WithBandwidthAllocation(double value)
PreviewConfig & WithTimeoutConfig(TimeoutConfigT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API PreviewConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PreviewConfig & WithAgentActions(AgentActionsT &&value)
bool BandwidthAllocationHasBeenSet() const
double GetBandwidthAllocation() const
void SetTimeoutConfig(TimeoutConfigT &&value)
AWS_CONNECTCAMPAIGNSV2_API PreviewConfig()=default
AWS_CONNECTCAMPAIGNSV2_API PreviewConfig(Aws::Utils::Json::JsonView jsonValue)
const TimeoutConfig & GetTimeoutConfig() const
const Aws::Vector< AgentAction > & GetAgentActions() const
PreviewConfig & AddAgentActions(AgentAction value)
bool TimeoutConfigHasBeenSet() const
void SetBandwidthAllocation(double value)
bool AgentActionsHasBeenSet() const
void SetAgentActions(AgentActionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue