AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
CommunicationLimitsConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/CommunicationLimits.h>
9#include <aws/connectcampaignsv2/model/InstanceLimitsHandling.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCampaignsV2 {
21namespace Model {
22
29 public:
30 AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig() = default;
31 AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const CommunicationLimits& GetAllChannelSubtypes() const { return m_allChannelSubtypes; }
38 inline bool AllChannelSubtypesHasBeenSet() const { return m_allChannelSubtypesHasBeenSet; }
39 template <typename AllChannelSubtypesT = CommunicationLimits>
40 void SetAllChannelSubtypes(AllChannelSubtypesT&& value) {
41 m_allChannelSubtypesHasBeenSet = true;
42 m_allChannelSubtypes = std::forward<AllChannelSubtypesT>(value);
43 }
44 template <typename AllChannelSubtypesT = CommunicationLimits>
45 CommunicationLimitsConfig& WithAllChannelSubtypes(AllChannelSubtypesT&& value) {
46 SetAllChannelSubtypes(std::forward<AllChannelSubtypesT>(value));
47 return *this;
48 }
50
52
53 inline InstanceLimitsHandling GetInstanceLimitsHandling() const { return m_instanceLimitsHandling; }
54 inline bool InstanceLimitsHandlingHasBeenSet() const { return m_instanceLimitsHandlingHasBeenSet; }
56 m_instanceLimitsHandlingHasBeenSet = true;
57 m_instanceLimitsHandling = value;
58 }
61 return *this;
62 }
64 private:
65 CommunicationLimits m_allChannelSubtypes;
66
68 bool m_allChannelSubtypesHasBeenSet = false;
69 bool m_instanceLimitsHandlingHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace ConnectCampaignsV2
74} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CommunicationLimitsConfig & WithInstanceLimitsHandling(InstanceLimitsHandling value)
CommunicationLimitsConfig & WithAllChannelSubtypes(AllChannelSubtypesT &&value)
AWS_CONNECTCAMPAIGNSV2_API CommunicationLimitsConfig()=default
Aws::Utils::Json::JsonValue JsonValue