AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 SchedulerRequest& WithType(const SchedulerType& value) { SetType(value); return *this;}
52 inline SchedulerRequest& 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 SchedulerRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
66 inline SchedulerRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
67 inline SchedulerRequest& 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
SchedulerRequest & WithVersion(Aws::String &&value)
SchedulerRequest & WithType(SchedulerType &&value)
void SetType(const SchedulerType &value)
AWS_PCS_API SchedulerRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SchedulerRequest & WithVersion(const Aws::String &value)
void SetVersion(const Aws::String &value)
void SetVersion(Aws::String &&value)
void SetVersion(const char *value)
SchedulerRequest & WithVersion(const char *value)
SchedulerRequest & WithType(const SchedulerType &value)
const SchedulerType & GetType() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(SchedulerType &&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