AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobParameter.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 JobParameter();
35 AWS_DEADLINE_API JobParameter(Aws::Utils::Json::JsonView jsonValue);
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 JobParameter& WithInt(const Aws::String& value) { SetInt(value); return *this;}
50 inline JobParameter& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;}
51 inline JobParameter& 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 JobParameter& WithFloat(const Aws::String& value) { SetFloat(value); return *this;}
65 inline JobParameter& WithFloat(Aws::String&& value) { SetFloat(std::move(value)); return *this;}
66 inline JobParameter& 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 JobParameter& WithString(const Aws::String& value) { SetString(value); return *this;}
79 inline JobParameter& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;}
80 inline JobParameter& 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 JobParameter& WithPath(const Aws::String& value) { SetPath(value); return *this;}
93 inline JobParameter& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
94 inline JobParameter& 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
JobParameter & WithFloat(Aws::String &&value)
void SetInt(const char *value)
JobParameter & WithPath(const char *value)
void SetString(const char *value)
void SetInt(Aws::String &&value)
void SetFloat(const char *value)
JobParameter & WithInt(Aws::String &&value)
JobParameter & WithInt(const Aws::String &value)
const Aws::String & GetInt() const
AWS_DEADLINE_API JobParameter(Aws::Utils::Json::JsonView jsonValue)
void SetFloat(Aws::String &&value)
JobParameter & WithFloat(const Aws::String &value)
void SetString(const Aws::String &value)
JobParameter & WithPath(const Aws::String &value)
JobParameter & WithString(Aws::String &&value)
void SetPath(const char *value)
void SetPath(const Aws::String &value)
JobParameter & WithInt(const char *value)
AWS_DEADLINE_API JobParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
void SetString(Aws::String &&value)
const Aws::String & GetString() const
void SetPath(Aws::String &&value)
JobParameter & WithString(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFloat(const Aws::String &value)
const Aws::String & GetFloat() const
JobParameter & WithFloat(const char *value)
JobParameter & WithString(const char *value)
JobParameter & WithPath(Aws::String &&value)
void SetInt(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue