AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobSchedule.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/JobScheduleDayOfTheWeek.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API JobSchedule() = default;
37 AWS_CUSTOMERPROFILES_API JobSchedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API JobSchedule& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline JobScheduleDayOfTheWeek GetDayOfTheWeek() const { return m_dayOfTheWeek; }
47 inline bool DayOfTheWeekHasBeenSet() const { return m_dayOfTheWeekHasBeenSet; }
48 inline void SetDayOfTheWeek(JobScheduleDayOfTheWeek value) { m_dayOfTheWeekHasBeenSet = true; m_dayOfTheWeek = value; }
51
53
56 inline const Aws::String& GetTime() const { return m_time; }
57 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
58 template<typename TimeT = Aws::String>
59 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
60 template<typename TimeT = Aws::String>
61 JobSchedule& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
63 private:
64
66 bool m_dayOfTheWeekHasBeenSet = false;
67
68 Aws::String m_time;
69 bool m_timeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CustomerProfiles
74} // namespace Aws
JobSchedule & WithTime(TimeT &&value)
Definition JobSchedule.h:61
void SetDayOfTheWeek(JobScheduleDayOfTheWeek value)
Definition JobSchedule.h:48
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTime() const
Definition JobSchedule.h:56
AWS_CUSTOMERPROFILES_API JobSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API JobSchedule()=default
JobSchedule & WithDayOfTheWeek(JobScheduleDayOfTheWeek value)
Definition JobSchedule.h:49
JobScheduleDayOfTheWeek GetDayOfTheWeek() const
Definition JobSchedule.h:46
AWS_CUSTOMERPROFILES_API JobSchedule(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue