AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlurmCustomSetting.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PCS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PCS_API SlurmCustomSetting();
39
40
42
57 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
58 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
59 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
60 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
61 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
62 inline SlurmCustomSetting& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
63 inline SlurmCustomSetting& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
64 inline SlurmCustomSetting& WithParameterName(const char* value) { SetParameterName(value); return *this;}
66
68
71 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
72 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
73 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
74 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
75 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
76 inline SlurmCustomSetting& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
77 inline SlurmCustomSetting& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
78 inline SlurmCustomSetting& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
80 private:
81
82 Aws::String m_parameterName;
83 bool m_parameterNameHasBeenSet = false;
84
85 Aws::String m_parameterValue;
86 bool m_parameterValueHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace PCS
91} // namespace Aws
void SetParameterName(Aws::String &&value)
const Aws::String & GetParameterName() const
void SetParameterName(const Aws::String &value)
const Aws::String & GetParameterValue() const
SlurmCustomSetting & WithParameterValue(const char *value)
SlurmCustomSetting & WithParameterName(const Aws::String &value)
void SetParameterValue(Aws::String &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PCS_API SlurmCustomSetting(Aws::Utils::Json::JsonView jsonValue)
SlurmCustomSetting & WithParameterName(const char *value)
void SetParameterValue(const Aws::String &value)
SlurmCustomSetting & WithParameterName(Aws::String &&value)
void SetParameterName(const char *value)
AWS_PCS_API SlurmCustomSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
SlurmCustomSetting & WithParameterValue(Aws::String &&value)
SlurmCustomSetting & WithParameterValue(const Aws::String &value)
void SetParameterValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue