AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StepParameter.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/StepParameterType.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API StepParameter() = default;
36 AWS_DEADLINE_API StepParameter(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 StepParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline StepParameterType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(StepParameterType value) { m_typeHasBeenSet = true; m_type = value; }
60 inline StepParameter& WithType(StepParameterType value) { SetType(value); return *this;}
62 private:
63
64 Aws::String m_name;
65 bool m_nameHasBeenSet = false;
66
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace deadline
73} // namespace Aws
StepParameter & WithType(StepParameterType value)
AWS_DEADLINE_API StepParameter()=default
StepParameter & WithName(NameT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepParameterType GetType() const
const Aws::String & GetName() const
AWS_DEADLINE_API StepParameter(Aws::Utils::Json::JsonView jsonValue)
void SetType(StepParameterType value)
AWS_DEADLINE_API StepParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue