AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaskParameterValue.h
1
6#pragma once
7#include <aws/deadline/Deadline_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 deadline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DEADLINE_API TaskParameterValue() = default;
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetInt() const { return m_int; }
45 inline bool IntHasBeenSet() const { return m_intHasBeenSet; }
46 template<typename IntT = Aws::String>
47 void SetInt(IntT&& value) { m_intHasBeenSet = true; m_int = std::forward<IntT>(value); }
48 template<typename IntT = Aws::String>
49 TaskParameterValue& WithInt(IntT&& value) { SetInt(std::forward<IntT>(value)); return *this;}
51
53
57 inline const Aws::String& GetFloat() const { return m_float; }
58 inline bool FloatHasBeenSet() const { return m_floatHasBeenSet; }
59 template<typename FloatT = Aws::String>
60 void SetFloat(FloatT&& value) { m_floatHasBeenSet = true; m_float = std::forward<FloatT>(value); }
61 template<typename FloatT = Aws::String>
62 TaskParameterValue& WithFloat(FloatT&& value) { SetFloat(std::forward<FloatT>(value)); return *this;}
64
66
69 inline const Aws::String& GetString() const { return m_string; }
70 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
71 template<typename StringT = Aws::String>
72 void SetString(StringT&& value) { m_stringHasBeenSet = true; m_string = std::forward<StringT>(value); }
73 template<typename StringT = Aws::String>
74 TaskParameterValue& WithString(StringT&& value) { SetString(std::forward<StringT>(value)); return *this;}
76
78
81 inline const Aws::String& GetPath() const { return m_path; }
82 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
83 template<typename PathT = Aws::String>
84 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
85 template<typename PathT = Aws::String>
86 TaskParameterValue& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
88
90
94 inline const Aws::String& GetChunkInt() const { return m_chunkInt; }
95 inline bool ChunkIntHasBeenSet() const { return m_chunkIntHasBeenSet; }
96 template<typename ChunkIntT = Aws::String>
97 void SetChunkInt(ChunkIntT&& value) { m_chunkIntHasBeenSet = true; m_chunkInt = std::forward<ChunkIntT>(value); }
98 template<typename ChunkIntT = Aws::String>
99 TaskParameterValue& WithChunkInt(ChunkIntT&& value) { SetChunkInt(std::forward<ChunkIntT>(value)); return *this;}
101 private:
102
103 Aws::String m_int;
104 bool m_intHasBeenSet = false;
105
106 Aws::String m_float;
107 bool m_floatHasBeenSet = false;
108
109 Aws::String m_string;
110 bool m_stringHasBeenSet = false;
111
112 Aws::String m_path;
113 bool m_pathHasBeenSet = false;
114
115 Aws::String m_chunkInt;
116 bool m_chunkIntHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace deadline
121} // namespace Aws
TaskParameterValue & WithString(StringT &&value)
AWS_DEADLINE_API TaskParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskParameterValue & WithInt(IntT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
TaskParameterValue & WithPath(PathT &&value)
TaskParameterValue & WithFloat(FloatT &&value)
TaskParameterValue & WithChunkInt(ChunkIntT &&value)
AWS_DEADLINE_API TaskParameterValue()=default
AWS_DEADLINE_API TaskParameterValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue