/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The time when a journey will not send messages. QuietTime should be
* configured first and SendingSchedule should be set to true.See
* Also:
AWS
* API Reference
Rules for the Email channel.
*/ inline const Aws::VectorRules for the Email channel.
*/ inline bool EMAILHasBeenSet() const { return m_eMAILHasBeenSet; } /** *Rules for the Email channel.
*/ inline void SetEMAIL(const Aws::VectorRules for the Email channel.
*/ inline void SetEMAIL(Aws::VectorRules for the Email channel.
*/ inline ClosedDays& WithEMAIL(const Aws::VectorRules for the Email channel.
*/ inline ClosedDays& WithEMAIL(Aws::VectorRules for the Email channel.
*/ inline ClosedDays& AddEMAIL(const ClosedDaysRule& value) { m_eMAILHasBeenSet = true; m_eMAIL.push_back(value); return *this; } /** *Rules for the Email channel.
*/ inline ClosedDays& AddEMAIL(ClosedDaysRule&& value) { m_eMAILHasBeenSet = true; m_eMAIL.push_back(std::move(value)); return *this; } /** *Rules for the SMS channel.
*/ inline const Aws::VectorRules for the SMS channel.
*/ inline bool SMSHasBeenSet() const { return m_sMSHasBeenSet; } /** *Rules for the SMS channel.
*/ inline void SetSMS(const Aws::VectorRules for the SMS channel.
*/ inline void SetSMS(Aws::VectorRules for the SMS channel.
*/ inline ClosedDays& WithSMS(const Aws::VectorRules for the SMS channel.
*/ inline ClosedDays& WithSMS(Aws::VectorRules for the SMS channel.
*/ inline ClosedDays& AddSMS(const ClosedDaysRule& value) { m_sMSHasBeenSet = true; m_sMS.push_back(value); return *this; } /** *Rules for the SMS channel.
*/ inline ClosedDays& AddSMS(ClosedDaysRule&& value) { m_sMSHasBeenSet = true; m_sMS.push_back(std::move(value)); return *this; } /** *Rules for the Push channel.
*/ inline const Aws::VectorRules for the Push channel.
*/ inline bool PUSHHasBeenSet() const { return m_pUSHHasBeenSet; } /** *Rules for the Push channel.
*/ inline void SetPUSH(const Aws::VectorRules for the Push channel.
*/ inline void SetPUSH(Aws::VectorRules for the Push channel.
*/ inline ClosedDays& WithPUSH(const Aws::VectorRules for the Push channel.
*/ inline ClosedDays& WithPUSH(Aws::VectorRules for the Push channel.
*/ inline ClosedDays& AddPUSH(const ClosedDaysRule& value) { m_pUSHHasBeenSet = true; m_pUSH.push_back(value); return *this; } /** *Rules for the Push channel.
*/ inline ClosedDays& AddPUSH(ClosedDaysRule&& value) { m_pUSHHasBeenSet = true; m_pUSH.push_back(std::move(value)); return *this; } /** *Rules for the Voice channel.
*/ inline const Aws::VectorRules for the Voice channel.
*/ inline bool VOICEHasBeenSet() const { return m_vOICEHasBeenSet; } /** *Rules for the Voice channel.
*/ inline void SetVOICE(const Aws::VectorRules for the Voice channel.
*/ inline void SetVOICE(Aws::VectorRules for the Voice channel.
*/ inline ClosedDays& WithVOICE(const Aws::VectorRules for the Voice channel.
*/ inline ClosedDays& WithVOICE(Aws::VectorRules for the Voice channel.
*/ inline ClosedDays& AddVOICE(const ClosedDaysRule& value) { m_vOICEHasBeenSet = true; m_vOICE.push_back(value); return *this; } /** *Rules for the Voice channel.
*/ inline ClosedDays& AddVOICE(ClosedDaysRule&& value) { m_vOICEHasBeenSet = true; m_vOICE.push_back(std::move(value)); return *this; } /** *Rules for the Custom channel.
*/ inline const Aws::VectorRules for the Custom channel.
*/ inline bool CUSTOMHasBeenSet() const { return m_cUSTOMHasBeenSet; } /** *Rules for the Custom channel.
*/ inline void SetCUSTOM(const Aws::VectorRules for the Custom channel.
*/ inline void SetCUSTOM(Aws::VectorRules for the Custom channel.
*/ inline ClosedDays& WithCUSTOM(const Aws::VectorRules for the Custom channel.
*/ inline ClosedDays& WithCUSTOM(Aws::VectorRules for the Custom channel.
*/ inline ClosedDays& AddCUSTOM(const ClosedDaysRule& value) { m_cUSTOMHasBeenSet = true; m_cUSTOM.push_back(value); return *this; } /** *Rules for the Custom channel.
*/ inline ClosedDays& AddCUSTOM(ClosedDaysRule&& value) { m_cUSTOMHasBeenSet = true; m_cUSTOM.push_back(std::move(value)); return *this; } private: Aws::Vector