/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an add-on that is enabled for an Amazon Lightsail
* resource.See Also:
AWS API
* Reference
The name of the add-on.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the add-on.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the add-on.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the add-on.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the add-on.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the add-on.
*/ inline AddOn& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the add-on.
*/ inline AddOn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the add-on.
*/ inline AddOn& WithName(const char* value) { SetName(value); return *this;} /** *The status of the add-on.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the add-on.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the add-on.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the add-on.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the add-on.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the add-on.
*/ inline AddOn& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the add-on.
*/ inline AddOn& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the add-on.
*/ inline AddOn& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline const Aws::String& GetSnapshotTimeOfDay() const{ return m_snapshotTimeOfDay; } /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline bool SnapshotTimeOfDayHasBeenSet() const { return m_snapshotTimeOfDayHasBeenSet; } /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline void SetSnapshotTimeOfDay(const Aws::String& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = value; } /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline void SetSnapshotTimeOfDay(Aws::String&& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = std::move(value); } /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline void SetSnapshotTimeOfDay(const char* value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay.assign(value); } /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline AddOn& WithSnapshotTimeOfDay(const Aws::String& value) { SetSnapshotTimeOfDay(value); return *this;} /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline AddOn& WithSnapshotTimeOfDay(Aws::String&& value) { SetSnapshotTimeOfDay(std::move(value)); return *this;} /** *The daily time when an automatic snapshot is created.
The time shown
* is in HH:00 format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 * minutes after.
*/ inline AddOn& WithSnapshotTimeOfDay(const char* value) { SetSnapshotTimeOfDay(value); return *this;} /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline const Aws::String& GetNextSnapshotTimeOfDay() const{ return m_nextSnapshotTimeOfDay; } /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline bool NextSnapshotTimeOfDayHasBeenSet() const { return m_nextSnapshotTimeOfDayHasBeenSet; } /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline void SetNextSnapshotTimeOfDay(const Aws::String& value) { m_nextSnapshotTimeOfDayHasBeenSet = true; m_nextSnapshotTimeOfDay = value; } /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline void SetNextSnapshotTimeOfDay(Aws::String&& value) { m_nextSnapshotTimeOfDayHasBeenSet = true; m_nextSnapshotTimeOfDay = std::move(value); } /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline void SetNextSnapshotTimeOfDay(const char* value) { m_nextSnapshotTimeOfDayHasBeenSet = true; m_nextSnapshotTimeOfDay.assign(value); } /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline AddOn& WithNextSnapshotTimeOfDay(const Aws::String& value) { SetNextSnapshotTimeOfDay(value); return *this;} /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline AddOn& WithNextSnapshotTimeOfDay(Aws::String&& value) { SetNextSnapshotTimeOfDay(std::move(value)); return *this;} /** *The next daily time an automatic snapshot will be created.
The time
* shown is in HH:00 format, and in Coordinated Universal Time
* (UTC).
The snapshot is automatically created between the time shown and * up to 45 minutes after.
*/ inline AddOn& WithNextSnapshotTimeOfDay(const char* value) { SetNextSnapshotTimeOfDay(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_status; bool m_statusHasBeenSet; Aws::String m_snapshotTimeOfDay; bool m_snapshotTimeOfDayHasBeenSet; Aws::String m_nextSnapshotTimeOfDay; bool m_nextSnapshotTimeOfDayHasBeenSet; }; } // namespace Model } // namespace Lightsail } // namespace Aws