AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 KinesisVideo
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_KINESISVIDEO_API ScheduleConfig();
43 AWS_KINESISVIDEO_API ScheduleConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KINESISVIDEO_API ScheduleConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
59 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
60 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
61 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
62 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
63 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
64 inline ScheduleConfig& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
65 inline ScheduleConfig& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
66 inline ScheduleConfig& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
68
70
75 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
76 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
77 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
78 inline ScheduleConfig& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;}
80 private:
81
82 Aws::String m_scheduleExpression;
83 bool m_scheduleExpressionHasBeenSet = false;
84
85 int m_durationInSeconds;
86 bool m_durationInSecondsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace KinesisVideo
91} // namespace Aws
ScheduleConfig & WithDurationInSeconds(int value)
ScheduleConfig & WithScheduleExpression(const char *value)
void SetScheduleExpression(const Aws::String &value)
void SetScheduleExpression(const char *value)
ScheduleConfig & WithScheduleExpression(Aws::String &&value)
AWS_KINESISVIDEO_API ScheduleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfig & WithScheduleExpression(const Aws::String &value)
AWS_KINESISVIDEO_API ScheduleConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetScheduleExpression() const
void SetScheduleExpression(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue