AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
StepParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/StepParameterChunks.h>
10#include <aws/deadline/model/StepParameterType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline {
22namespace Model {
23
30 public:
31 AWS_DEADLINE_API StepParameter() = default;
32 AWS_DEADLINE_API StepParameter(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 StepParameter& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline StepParameterType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(StepParameterType value) {
61 m_typeHasBeenSet = true;
62 m_type = value;
63 }
65 SetType(value);
66 return *this;
67 }
69
71
74 inline const StepParameterChunks& GetChunks() const { return m_chunks; }
75 inline bool ChunksHasBeenSet() const { return m_chunksHasBeenSet; }
76 template <typename ChunksT = StepParameterChunks>
77 void SetChunks(ChunksT&& value) {
78 m_chunksHasBeenSet = true;
79 m_chunks = std::forward<ChunksT>(value);
80 }
81 template <typename ChunksT = StepParameterChunks>
82 StepParameter& WithChunks(ChunksT&& value) {
83 SetChunks(std::forward<ChunksT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_name;
89
91
92 StepParameterChunks m_chunks;
93 bool m_nameHasBeenSet = false;
94 bool m_typeHasBeenSet = false;
95 bool m_chunksHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace deadline
100} // 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)
const StepParameterChunks & GetChunks() const
StepParameter & WithChunks(ChunksT &&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