/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a schedule group.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the schedule group.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline ScheduleGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline ScheduleGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the schedule group.
*/ inline ScheduleGroupSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The time at which the schedule group was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The time at which the schedule group was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The time at which the schedule group was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The time at which the schedule group was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The time at which the schedule group was created.
*/ inline ScheduleGroupSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The time at which the schedule group was created.
*/ inline ScheduleGroupSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The time at which the schedule group was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; } /** *The time at which the schedule group was last modified.
*/ inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; } /** *The time at which the schedule group was last modified.
*/ inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; } /** *The time at which the schedule group was last modified.
*/ inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); } /** *The time at which the schedule group was last modified.
*/ inline ScheduleGroupSummary& WithLastModificationDate(const Aws::Utils::DateTime& value) { SetLastModificationDate(value); return *this;} /** *The time at which the schedule group was last modified.
*/ inline ScheduleGroupSummary& WithLastModificationDate(Aws::Utils::DateTime&& value) { SetLastModificationDate(std::move(value)); return *this;} /** *The name of the schedule group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the schedule group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the schedule group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the schedule group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the schedule group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the schedule group.
*/ inline ScheduleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the schedule group.
*/ inline ScheduleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the schedule group.
*/ inline ScheduleGroupSummary& WithName(const char* value) { SetName(value); return *this;} /** *Specifies the state of the schedule group.
*/ inline const ScheduleGroupState& GetState() const{ return m_state; } /** *Specifies the state of the schedule group.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Specifies the state of the schedule group.
*/ inline void SetState(const ScheduleGroupState& value) { m_stateHasBeenSet = true; m_state = value; } /** *Specifies the state of the schedule group.
*/ inline void SetState(ScheduleGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Specifies the state of the schedule group.
*/ inline ScheduleGroupSummary& WithState(const ScheduleGroupState& value) { SetState(value); return *this;} /** *Specifies the state of the schedule group.
*/ inline ScheduleGroupSummary& WithState(ScheduleGroupState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_lastModificationDate; bool m_lastModificationDateHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ScheduleGroupState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace Scheduler } // namespace Aws