/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Specifies a monthly recurrence pattern for running a classification * job.

See Also:

AWS * API Reference

*/ class AWS_MACIE2_API MonthlySchedule { public: MonthlySchedule(); MonthlySchedule(Aws::Utils::Json::JsonView jsonValue); MonthlySchedule& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The numeric day of the month when Amazon Macie runs the job. This value can * be an integer from 1 through 30.

*/ inline int GetDayOfMonth() const{ return m_dayOfMonth; } /** *

The numeric day of the month when Amazon Macie runs the job. This value can * be an integer from 1 through 30.

*/ inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; } /** *

The numeric day of the month when Amazon Macie runs the job. This value can * be an integer from 1 through 30.

*/ inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; } /** *

The numeric day of the month when Amazon Macie runs the job. This value can * be an integer from 1 through 30.

*/ inline MonthlySchedule& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} private: int m_dayOfMonth; bool m_dayOfMonthHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws