/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the start and end times that define a time range when messages
* aren't sent to endpoints.See Also:
AWS
* API Reference
The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline const Aws::String& GetEnd() const{ return m_end; } /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetEnd(const Aws::String& value) { m_endHasBeenSet = true; m_end = value; } /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetEnd(Aws::String&& value) { m_endHasBeenSet = true; m_end = std::move(value); } /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetEnd(const char* value) { m_endHasBeenSet = true; m_end.assign(value); } /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithEnd(const Aws::String& value) { SetEnd(value); return *this;} /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithEnd(Aws::String&& value) { SetEnd(std::move(value)); return *this;} /** *The specific time when quiet time ends. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithEnd(const char* value) { SetEnd(value); return *this;} /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline const Aws::String& GetStart() const{ return m_start; } /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetStart(const Aws::String& value) { m_startHasBeenSet = true; m_start = value; } /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetStart(Aws::String&& value) { m_startHasBeenSet = true; m_start = std::move(value); } /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline void SetStart(const char* value) { m_startHasBeenSet = true; m_start.assign(value); } /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithStart(const Aws::String& value) { SetStart(value); return *this;} /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;} /** *The specific time when quiet time begins. This value has to use 24-hour * notation and be in HH:MM format, where HH is the hour (with a leading zero, if * applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, * or 14:30 to represent 2:30 PM.
*/ inline QuietTime& WithStart(const char* value) { SetStart(value); return *this;} private: Aws::String m_end; bool m_endHasBeenSet = false; Aws::String m_start; bool m_startHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws