AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SchedulerRequest.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 SchedulerRequest() = default;
40
41
43
47 inline SchedulerType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(SchedulerType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline SchedulerRequest& WithType(SchedulerType value) { SetType(value); return *this;}
52
54
61 inline const Aws::String& GetVersion() const { return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 template<typename VersionT = Aws::String>
64 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
65 template<typename VersionT = Aws::String>
66 SchedulerRequest& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
68 private:
69
71 bool m_typeHasBeenSet = false;
72
73 Aws::String m_version;
74 bool m_versionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace PCS
79} // namespace Aws
void SetType(SchedulerType value)
AWS_PCS_API SchedulerRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
AWS_PCS_API SchedulerRequest()=default
SchedulerRequest & WithType(SchedulerType value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
SchedulerRequest & WithVersion(VersionT &&value)
const Aws::String & GetVersion() const
AWS_PCS_API SchedulerRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue