/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a schedule.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the schedule.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline ScheduleSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline ScheduleSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the schedule.
*/ inline ScheduleSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The time at which the schedule was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The time at which the schedule was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The time at which the schedule was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The time at which the schedule was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The time at which the schedule was created.
*/ inline ScheduleSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The time at which the schedule was created.
*/ inline ScheduleSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The name of the schedule group associated with this schedule.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The name of the schedule group associated with this schedule.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The name of the schedule group associated with this schedule.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The name of the schedule group associated with this schedule.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The name of the schedule group associated with this schedule.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The name of the schedule group associated with this schedule.
*/ inline ScheduleSummary& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the schedule group associated with this schedule.
*/ inline ScheduleSummary& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the schedule group associated with this schedule.
*/ inline ScheduleSummary& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *The time at which the schedule was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; } /** *The time at which the schedule was last modified.
*/ inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; } /** *The time at which the schedule was last modified.
*/ inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; } /** *The time at which the schedule was last modified.
*/ inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); } /** *The time at which the schedule was last modified.
*/ inline ScheduleSummary& WithLastModificationDate(const Aws::Utils::DateTime& value) { SetLastModificationDate(value); return *this;} /** *The time at which the schedule was last modified.
*/ inline ScheduleSummary& WithLastModificationDate(Aws::Utils::DateTime&& value) { SetLastModificationDate(std::move(value)); return *this;} /** *The name of the schedule.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the schedule.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the schedule.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the schedule.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the schedule.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the schedule.
*/ inline ScheduleSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the schedule.
*/ inline ScheduleSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the schedule.
*/ inline ScheduleSummary& WithName(const char* value) { SetName(value); return *this;} /** *Specifies whether the schedule is enabled or disabled.
*/ inline const ScheduleState& GetState() const{ return m_state; } /** *Specifies whether the schedule is enabled or disabled.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Specifies whether the schedule is enabled or disabled.
*/ inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; } /** *Specifies whether the schedule is enabled or disabled.
*/ inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Specifies whether the schedule is enabled or disabled.
*/ inline ScheduleSummary& WithState(const ScheduleState& value) { SetState(value); return *this;} /** *Specifies whether the schedule is enabled or disabled.
*/ inline ScheduleSummary& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;} /** *The schedule's target details.
*/ inline const TargetSummary& GetTarget() const{ return m_target; } /** *The schedule's target details.
*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *The schedule's target details.
*/ inline void SetTarget(const TargetSummary& value) { m_targetHasBeenSet = true; m_target = value; } /** *The schedule's target details.
*/ inline void SetTarget(TargetSummary&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *The schedule's target details.
*/ inline ScheduleSummary& WithTarget(const TargetSummary& value) { SetTarget(value); return *this;} /** *The schedule's target details.
*/ inline ScheduleSummary& WithTarget(TargetSummary&& value) { SetTarget(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::Utils::DateTime m_lastModificationDate; bool m_lastModificationDateHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ScheduleState m_state; bool m_stateHasBeenSet = false; TargetSummary m_target; bool m_targetHasBeenSet = false; }; } // namespace Model } // namespace Scheduler } // namespace Aws