AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ScheduleConfigurationUnit.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CustomerProfiles {
20namespace Model {
21
29 public:
30 AWS_CUSTOMERPROFILES_API ScheduleConfiguration() = default;
31 AWS_CUSTOMERPROFILES_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CUSTOMERPROFILES_API ScheduleConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetInterval() const { return m_interval; }
40 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
41 inline void SetInterval(int value) {
42 m_intervalHasBeenSet = true;
43 m_interval = value;
44 }
46 SetInterval(value);
47 return *this;
48 }
50
52
56 inline ScheduleConfigurationUnit GetUnit() const { return m_unit; }
57 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
59 m_unitHasBeenSet = true;
60 m_unit = value;
61 }
63 SetUnit(value);
64 return *this;
65 }
67 private:
68 int m_interval{0};
69
71 bool m_intervalHasBeenSet = false;
72 bool m_unitHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CustomerProfiles
77} // namespace Aws
ScheduleConfiguration & WithUnit(ScheduleConfigurationUnit value)
AWS_CUSTOMERPROFILES_API ScheduleConfiguration()=default
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue