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

The day and time when do you want to start the Identity Resolution Job every * week.

See Also:

AWS * API Reference

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

The day when the Identity Resolution Job should run every week.

*/ inline const JobScheduleDayOfTheWeek& GetDayOfTheWeek() const{ return m_dayOfTheWeek; } /** *

The day when the Identity Resolution Job should run every week.

*/ inline bool DayOfTheWeekHasBeenSet() const { return m_dayOfTheWeekHasBeenSet; } /** *

The day when the Identity Resolution Job should run every week.

*/ inline void SetDayOfTheWeek(const JobScheduleDayOfTheWeek& value) { m_dayOfTheWeekHasBeenSet = true; m_dayOfTheWeek = value; } /** *

The day when the Identity Resolution Job should run every week.

*/ inline void SetDayOfTheWeek(JobScheduleDayOfTheWeek&& value) { m_dayOfTheWeekHasBeenSet = true; m_dayOfTheWeek = std::move(value); } /** *

The day when the Identity Resolution Job should run every week.

*/ inline JobSchedule& WithDayOfTheWeek(const JobScheduleDayOfTheWeek& value) { SetDayOfTheWeek(value); return *this;} /** *

The day when the Identity Resolution Job should run every week.

*/ inline JobSchedule& WithDayOfTheWeek(JobScheduleDayOfTheWeek&& value) { SetDayOfTheWeek(std::move(value)); return *this;} /** *

The time when the Identity Resolution Job should run every week.

*/ inline const Aws::String& GetTime() const{ return m_time; } /** *

The time when the Identity Resolution Job should run every week.

*/ inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; } /** *

The time when the Identity Resolution Job should run every week.

*/ inline void SetTime(const Aws::String& value) { m_timeHasBeenSet = true; m_time = value; } /** *

The time when the Identity Resolution Job should run every week.

*/ inline void SetTime(Aws::String&& value) { m_timeHasBeenSet = true; m_time = std::move(value); } /** *

The time when the Identity Resolution Job should run every week.

*/ inline void SetTime(const char* value) { m_timeHasBeenSet = true; m_time.assign(value); } /** *

The time when the Identity Resolution Job should run every week.

*/ inline JobSchedule& WithTime(const Aws::String& value) { SetTime(value); return *this;} /** *

The time when the Identity Resolution Job should run every week.

*/ inline JobSchedule& WithTime(Aws::String&& value) { SetTime(std::move(value)); return *this;} /** *

The time when the Identity Resolution Job should run every week.

*/ inline JobSchedule& WithTime(const char* value) { SetTime(value); return *this;} private: JobScheduleDayOfTheWeek m_dayOfTheWeek; bool m_dayOfTheWeekHasBeenSet = false; Aws::String m_time; bool m_timeHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws