AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SlurmCustomSetting.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pcs/PCS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PCS {
20namespace Model {
21
32 public:
33 AWS_PCS_API SlurmCustomSetting() = default;
37
39
45 inline const Aws::String& GetParameterName() const { return m_parameterName; }
46 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
47 template <typename ParameterNameT = Aws::String>
48 void SetParameterName(ParameterNameT&& value) {
49 m_parameterNameHasBeenSet = true;
50 m_parameterName = std::forward<ParameterNameT>(value);
51 }
52 template <typename ParameterNameT = Aws::String>
53 SlurmCustomSetting& WithParameterName(ParameterNameT&& value) {
54 SetParameterName(std::forward<ParameterNameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
64 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
65 template <typename ParameterValueT = Aws::String>
66 void SetParameterValue(ParameterValueT&& value) {
67 m_parameterValueHasBeenSet = true;
68 m_parameterValue = std::forward<ParameterValueT>(value);
69 }
70 template <typename ParameterValueT = Aws::String>
71 SlurmCustomSetting& WithParameterValue(ParameterValueT&& value) {
72 SetParameterValue(std::forward<ParameterValueT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_parameterName;
78
79 Aws::String m_parameterValue;
80 bool m_parameterNameHasBeenSet = false;
81 bool m_parameterValueHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace PCS
86} // namespace Aws
const Aws::String & GetParameterName() const
void SetParameterName(ParameterNameT &&value)
const Aws::String & GetParameterValue() const
AWS_PCS_API SlurmCustomSetting()=default
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
SlurmCustomSetting & WithParameterValue(ParameterValueT &&value)
AWS_PCS_API SlurmCustomSetting(Aws::Utils::Json::JsonView jsonValue)
SlurmCustomSetting & WithParameterName(ParameterNameT &&value)
AWS_PCS_API SlurmCustomSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameterValue(ParameterValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue