AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; }
47 inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); }
48 inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); }
49 inline TaskParameterValue& WithInt(const Aws::String& value) { SetInt(value); return *this;}
50 inline TaskParameterValue& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;}
51 inline TaskParameterValue& WithInt(const char* value) { SetInt(value); return *this;}
53
55
59 inline const Aws::String& GetFloat() const{ return m_float; }
60 inline bool FloatHasBeenSet() const { return m_floatHasBeenSet; }
61 inline void SetFloat(const Aws::String& value) { m_floatHasBeenSet = true; m_float = value; }
62 inline void SetFloat(Aws::String&& value) { m_floatHasBeenSet = true; m_float = std::move(value); }
63 inline void SetFloat(const char* value) { m_floatHasBeenSet = true; m_float.assign(value); }
64 inline TaskParameterValue& WithFloat(const Aws::String& value) { SetFloat(value); return *this;}
65 inline TaskParameterValue& WithFloat(Aws::String&& value) { SetFloat(std::move(value)); return *this;}
66 inline TaskParameterValue& WithFloat(const char* value) { SetFloat(value); return *this;}
68
70
73 inline const Aws::String& GetString() const{ return m_string; }
74 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
75 inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; }
76 inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); }
77 inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); }
78 inline TaskParameterValue& WithString(const Aws::String& value) { SetString(value); return *this;}
79 inline TaskParameterValue& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;}
80 inline TaskParameterValue& WithString(const char* value) { SetString(value); return *this;}
82
84
87 inline const Aws::String& GetPath() const{ return m_path; }
88 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
89 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
90 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
91 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
92 inline TaskParameterValue& WithPath(const Aws::String& value) { SetPath(value); return *this;}
93 inline TaskParameterValue& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
94 inline TaskParameterValue& WithPath(const char* value) { SetPath(value); return *this;}
96 private:
97
98 Aws::String m_int;
99 bool m_intHasBeenSet = false;
100
101 Aws::String m_float;
102 bool m_floatHasBeenSet = false;
103
104 Aws::String m_string;
105 bool m_stringHasBeenSet = false;
106
107 Aws::String m_path;
108 bool m_pathHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace deadline
113} // namespace Aws
TaskParameterValue & WithPath(const Aws::String &value)
AWS_DEADLINE_API TaskParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskParameterValue & WithInt(Aws::String &&value)
TaskParameterValue & WithInt(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
TaskParameterValue & WithString(const char *value)
TaskParameterValue & WithFloat(const char *value)
TaskParameterValue & WithPath(const char *value)
void SetString(const Aws::String &value)
TaskParameterValue & WithPath(Aws::String &&value)
void SetFloat(const Aws::String &value)
TaskParameterValue & WithString(Aws::String &&value)
TaskParameterValue & WithFloat(const Aws::String &value)
void SetInt(const Aws::String &value)
TaskParameterValue & WithFloat(Aws::String &&value)
AWS_DEADLINE_API TaskParameterValue(Aws::Utils::Json::JsonView jsonValue)
void SetPath(const Aws::String &value)
TaskParameterValue & WithInt(const char *value)
TaskParameterValue & WithString(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue