/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Schedule of the campaign.See Also:
AWS
* API Reference
The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline const Aws::String& GetEndDate() const{ return m_endDate; } /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; } /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; } /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); } /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); } /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline InAppCampaignSchedule& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;} /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline InAppCampaignSchedule& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;} /** *The scheduled time after which the in-app message should not be shown. * Timestamp is in ISO 8601 format.
*/ inline InAppCampaignSchedule& WithEndDate(const char* value) { SetEndDate(value); return *this;} /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline const CampaignEventFilter& GetEventFilter() const{ return m_eventFilter; } /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; } /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline void SetEventFilter(const CampaignEventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; } /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline void SetEventFilter(CampaignEventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); } /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline InAppCampaignSchedule& WithEventFilter(const CampaignEventFilter& value) { SetEventFilter(value); return *this;} /** *The event filter the SDK has to use to show the in-app message in the * application.
*/ inline InAppCampaignSchedule& WithEventFilter(CampaignEventFilter&& value) { SetEventFilter(std::move(value)); return *this;} /** *Time during which the in-app message should not be shown to the user.
*/ inline const QuietTime& GetQuietTime() const{ return m_quietTime; } /** *Time during which the in-app message should not be shown to the user.
*/ inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; } /** *Time during which the in-app message should not be shown to the user.
*/ inline void SetQuietTime(const QuietTime& value) { m_quietTimeHasBeenSet = true; m_quietTime = value; } /** *Time during which the in-app message should not be shown to the user.
*/ inline void SetQuietTime(QuietTime&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::move(value); } /** *Time during which the in-app message should not be shown to the user.
*/ inline InAppCampaignSchedule& WithQuietTime(const QuietTime& value) { SetQuietTime(value); return *this;} /** *Time during which the in-app message should not be shown to the user.
*/ inline InAppCampaignSchedule& WithQuietTime(QuietTime&& value) { SetQuietTime(std::move(value)); return *this;} private: Aws::String m_endDate; bool m_endDateHasBeenSet = false; CampaignEventFilter m_eventFilter; bool m_eventFilterHasBeenSet = false; QuietTime m_quietTime; bool m_quietTimeHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws