AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SchedulerRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pcs/PCS_EXPORTS.h>
9#include <aws/pcs/model/SchedulerType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PCS {
21namespace Model {
22
30 public:
31 AWS_PCS_API SchedulerRequest() = default;
35
37
40 inline SchedulerType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 inline void SetType(SchedulerType value) {
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
60 inline const Aws::String& GetVersion() const { return m_version; }
61 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
62 template <typename VersionT = Aws::String>
63 void SetVersion(VersionT&& value) {
64 m_versionHasBeenSet = true;
65 m_version = std::forward<VersionT>(value);
66 }
67 template <typename VersionT = Aws::String>
68 SchedulerRequest& WithVersion(VersionT&& value) {
69 SetVersion(std::forward<VersionT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_version;
77 bool m_typeHasBeenSet = false;
78 bool m_versionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PCS
83} // 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