/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a deferred maintenance windowSee Also:
AWS
* API Reference
A unique identifier for the maintenance window.
*/ inline const Aws::String& GetDeferMaintenanceIdentifier() const{ return m_deferMaintenanceIdentifier; } /** *A unique identifier for the maintenance window.
*/ inline bool DeferMaintenanceIdentifierHasBeenSet() const { return m_deferMaintenanceIdentifierHasBeenSet; } /** *A unique identifier for the maintenance window.
*/ inline void SetDeferMaintenanceIdentifier(const Aws::String& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = value; } /** *A unique identifier for the maintenance window.
*/ inline void SetDeferMaintenanceIdentifier(Aws::String&& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = std::move(value); } /** *A unique identifier for the maintenance window.
*/ inline void SetDeferMaintenanceIdentifier(const char* value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier.assign(value); } /** *A unique identifier for the maintenance window.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(const Aws::String& value) { SetDeferMaintenanceIdentifier(value); return *this;} /** *A unique identifier for the maintenance window.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(Aws::String&& value) { SetDeferMaintenanceIdentifier(std::move(value)); return *this;} /** *A unique identifier for the maintenance window.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(const char* value) { SetDeferMaintenanceIdentifier(value); return *this;} /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline const Aws::Utils::DateTime& GetDeferMaintenanceStartTime() const{ return m_deferMaintenanceStartTime; } /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline bool DeferMaintenanceStartTimeHasBeenSet() const { return m_deferMaintenanceStartTimeHasBeenSet; } /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline void SetDeferMaintenanceStartTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = value; } /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline void SetDeferMaintenanceStartTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = std::move(value); } /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceStartTime(const Aws::Utils::DateTime& value) { SetDeferMaintenanceStartTime(value); return *this;} /** *A timestamp for the beginning of the time period when we defer * maintenance.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceStartTime(Aws::Utils::DateTime&& value) { SetDeferMaintenanceStartTime(std::move(value)); return *this;} /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline const Aws::Utils::DateTime& GetDeferMaintenanceEndTime() const{ return m_deferMaintenanceEndTime; } /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline bool DeferMaintenanceEndTimeHasBeenSet() const { return m_deferMaintenanceEndTimeHasBeenSet; } /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline void SetDeferMaintenanceEndTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = value; } /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline void SetDeferMaintenanceEndTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = std::move(value); } /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceEndTime(const Aws::Utils::DateTime& value) { SetDeferMaintenanceEndTime(value); return *this;} /** *A timestamp for the end of the time period when we defer maintenance.
*/ inline DeferredMaintenanceWindow& WithDeferMaintenanceEndTime(Aws::Utils::DateTime&& value) { SetDeferMaintenanceEndTime(std::move(value)); return *this;} private: Aws::String m_deferMaintenanceIdentifier; bool m_deferMaintenanceIdentifierHasBeenSet = false; Aws::Utils::DateTime m_deferMaintenanceStartTime; bool m_deferMaintenanceStartTimeHasBeenSet = false; Aws::Utils::DateTime m_deferMaintenanceEndTime; bool m_deferMaintenanceEndTimeHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws