AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const JobScheduleDayOfTheWeek& GetDayOfTheWeek() const{ return m_dayOfTheWeek; }
47 inline bool DayOfTheWeekHasBeenSet() const { return m_dayOfTheWeekHasBeenSet; }
48 inline void SetDayOfTheWeek(const JobScheduleDayOfTheWeek& value) { m_dayOfTheWeekHasBeenSet = true; m_dayOfTheWeek = value; }
49 inline void SetDayOfTheWeek(JobScheduleDayOfTheWeek&& value) { m_dayOfTheWeekHasBeenSet = true; m_dayOfTheWeek = std::move(value); }
50 inline JobSchedule& WithDayOfTheWeek(const JobScheduleDayOfTheWeek& value) { SetDayOfTheWeek(value); return *this;}
51 inline JobSchedule& WithDayOfTheWeek(JobScheduleDayOfTheWeek&& value) { SetDayOfTheWeek(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetTime() const{ return m_time; }
59 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
60 inline void SetTime(const Aws::String& value) { m_timeHasBeenSet = true; m_time = value; }
61 inline void SetTime(Aws::String&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
62 inline void SetTime(const char* value) { m_timeHasBeenSet = true; m_time.assign(value); }
63 inline JobSchedule& WithTime(const Aws::String& value) { SetTime(value); return *this;}
64 inline JobSchedule& WithTime(Aws::String&& value) { SetTime(std::move(value)); return *this;}
65 inline JobSchedule& WithTime(const char* value) { SetTime(value); return *this;}
67 private:
68
69 JobScheduleDayOfTheWeek m_dayOfTheWeek;
70 bool m_dayOfTheWeekHasBeenSet = false;
71
72 Aws::String m_time;
73 bool m_timeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CustomerProfiles
78} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTime() const
Definition JobSchedule.h:58
AWS_CUSTOMERPROFILES_API JobSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDayOfTheWeek(JobScheduleDayOfTheWeek &&value)
Definition JobSchedule.h:49
void SetTime(Aws::String &&value)
Definition JobSchedule.h:61
void SetDayOfTheWeek(const JobScheduleDayOfTheWeek &value)
Definition JobSchedule.h:48
AWS_CUSTOMERPROFILES_API JobSchedule()
JobSchedule & WithTime(const Aws::String &value)
Definition JobSchedule.h:63
AWS_CUSTOMERPROFILES_API JobSchedule(Aws::Utils::Json::JsonView jsonValue)
JobSchedule & WithDayOfTheWeek(const JobScheduleDayOfTheWeek &value)
Definition JobSchedule.h:50
JobSchedule & WithTime(const char *value)
Definition JobSchedule.h:65
void SetTime(const Aws::String &value)
Definition JobSchedule.h:60
JobSchedule & WithDayOfTheWeek(JobScheduleDayOfTheWeek &&value)
Definition JobSchedule.h:51
JobSchedule & WithTime(Aws::String &&value)
Definition JobSchedule.h:64
const JobScheduleDayOfTheWeek & GetDayOfTheWeek() const
Definition JobSchedule.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue