AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlexibleTimeWindow.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/scheduler/model/FlexibleTimeWindowMode.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Scheduler
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SCHEDULER_API FlexibleTimeWindow();
36 AWS_SCHEDULER_API FlexibleTimeWindow(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetMaximumWindowInMinutes() const{ return m_maximumWindowInMinutes; }
46 inline bool MaximumWindowInMinutesHasBeenSet() const { return m_maximumWindowInMinutesHasBeenSet; }
47 inline void SetMaximumWindowInMinutes(int value) { m_maximumWindowInMinutesHasBeenSet = true; m_maximumWindowInMinutes = value; }
50
52
55 inline const FlexibleTimeWindowMode& GetMode() const{ return m_mode; }
56 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
57 inline void SetMode(const FlexibleTimeWindowMode& value) { m_modeHasBeenSet = true; m_mode = value; }
58 inline void SetMode(FlexibleTimeWindowMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
59 inline FlexibleTimeWindow& WithMode(const FlexibleTimeWindowMode& value) { SetMode(value); return *this;}
60 inline FlexibleTimeWindow& WithMode(FlexibleTimeWindowMode&& value) { SetMode(std::move(value)); return *this;}
62 private:
63
64 int m_maximumWindowInMinutes;
65 bool m_maximumWindowInMinutesHasBeenSet = false;
66
68 bool m_modeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Scheduler
73} // namespace Aws
AWS_SCHEDULER_API FlexibleTimeWindow(Aws::Utils::Json::JsonView jsonValue)
void SetMode(const FlexibleTimeWindowMode &value)
FlexibleTimeWindow & WithMode(const FlexibleTimeWindowMode &value)
FlexibleTimeWindow & WithMaximumWindowInMinutes(int value)
const FlexibleTimeWindowMode & GetMode() const
AWS_SCHEDULER_API FlexibleTimeWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
FlexibleTimeWindow & WithMode(FlexibleTimeWindowMode &&value)
void SetMode(FlexibleTimeWindowMode &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue