AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Scheduler.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/model/SchedulerType.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 PCS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PCS_API Scheduler();
37 AWS_PCS_API Scheduler(Aws::Utils::Json::JsonView jsonValue);
40
41
43
47 inline const SchedulerType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const SchedulerType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(SchedulerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline Scheduler& WithType(const SchedulerType& value) { SetType(value); return *this;}
52 inline Scheduler& WithType(SchedulerType&& value) { SetType(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetVersion() const{ return m_version; }
61 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
62 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
63 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
64 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
65 inline Scheduler& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
66 inline Scheduler& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
67 inline Scheduler& WithVersion(const char* value) { SetVersion(value); return *this;}
69 private:
70
71 SchedulerType m_type;
72 bool m_typeHasBeenSet = false;
73
74 Aws::String m_version;
75 bool m_versionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PCS
80} // namespace Aws
Scheduler & WithVersion(const Aws::String &value)
Definition Scheduler.h:65
void SetVersion(const Aws::String &value)
Definition Scheduler.h:62
void SetVersion(const char *value)
Definition Scheduler.h:64
const SchedulerType & GetType() const
Definition Scheduler.h:47
Scheduler & WithVersion(Aws::String &&value)
Definition Scheduler.h:66
AWS_PCS_API Scheduler & operator=(Aws::Utils::Json::JsonView jsonValue)
Scheduler & WithType(const SchedulerType &value)
Definition Scheduler.h:51
Scheduler & WithVersion(const char *value)
Definition Scheduler.h:67
Scheduler & WithType(SchedulerType &&value)
Definition Scheduler.h:52
void SetType(const SchedulerType &value)
Definition Scheduler.h:49
bool TypeHasBeenSet() const
Definition Scheduler.h:48
void SetType(SchedulerType &&value)
Definition Scheduler.h:50
bool VersionHasBeenSet() const
Definition Scheduler.h:61
AWS_PCS_API Scheduler(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(Aws::String &&value)
Definition Scheduler.h:63
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVersion() const
Definition Scheduler.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue