AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TaskParameterValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
28 public:
29 AWS_DEADLINE_API TaskParameterValue() = default;
32 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetInt() const { return m_int; }
39 inline bool IntHasBeenSet() const { return m_intHasBeenSet; }
40 template <typename IntT = Aws::String>
41 void SetInt(IntT&& value) {
42 m_intHasBeenSet = true;
43 m_int = std::forward<IntT>(value);
44 }
45 template <typename IntT = Aws::String>
46 TaskParameterValue& WithInt(IntT&& value) {
47 SetInt(std::forward<IntT>(value));
48 return *this;
49 }
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) {
61 m_floatHasBeenSet = true;
62 m_float = std::forward<FloatT>(value);
63 }
64 template <typename FloatT = Aws::String>
65 TaskParameterValue& WithFloat(FloatT&& value) {
66 SetFloat(std::forward<FloatT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetString() const { return m_string; }
76 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
77 template <typename StringT = Aws::String>
78 void SetString(StringT&& value) {
79 m_stringHasBeenSet = true;
80 m_string = std::forward<StringT>(value);
81 }
82 template <typename StringT = Aws::String>
83 TaskParameterValue& WithString(StringT&& value) {
84 SetString(std::forward<StringT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetPath() const { return m_path; }
94 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
95 template <typename PathT = Aws::String>
96 void SetPath(PathT&& value) {
97 m_pathHasBeenSet = true;
98 m_path = std::forward<PathT>(value);
99 }
100 template <typename PathT = Aws::String>
101 TaskParameterValue& WithPath(PathT&& value) {
102 SetPath(std::forward<PathT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetChunkInt() const { return m_chunkInt; }
113 inline bool ChunkIntHasBeenSet() const { return m_chunkIntHasBeenSet; }
114 template <typename ChunkIntT = Aws::String>
115 void SetChunkInt(ChunkIntT&& value) {
116 m_chunkIntHasBeenSet = true;
117 m_chunkInt = std::forward<ChunkIntT>(value);
118 }
119 template <typename ChunkIntT = Aws::String>
120 TaskParameterValue& WithChunkInt(ChunkIntT&& value) {
121 SetChunkInt(std::forward<ChunkIntT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_int;
127
128 Aws::String m_float;
129
130 Aws::String m_string;
131
132 Aws::String m_path;
133
134 Aws::String m_chunkInt;
135 bool m_intHasBeenSet = false;
136 bool m_floatHasBeenSet = false;
137 bool m_stringHasBeenSet = false;
138 bool m_pathHasBeenSet = false;
139 bool m_chunkIntHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace deadline
144} // 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