AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
JobIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MainframeModernization {
20namespace Model {
21
28 public:
29 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier() = default;
30 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFileName() const { return m_fileName; }
39 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
40 template <typename FileNameT = Aws::String>
41 void SetFileName(FileNameT&& value) {
42 m_fileNameHasBeenSet = true;
43 m_fileName = std::forward<FileNameT>(value);
44 }
45 template <typename FileNameT = Aws::String>
46 JobIdentifier& WithFileName(FileNameT&& value) {
47 SetFileName(std::forward<FileNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetScriptName() const { return m_scriptName; }
57 inline bool ScriptNameHasBeenSet() const { return m_scriptNameHasBeenSet; }
58 template <typename ScriptNameT = Aws::String>
59 void SetScriptName(ScriptNameT&& value) {
60 m_scriptNameHasBeenSet = true;
61 m_scriptName = std::forward<ScriptNameT>(value);
62 }
63 template <typename ScriptNameT = Aws::String>
64 JobIdentifier& WithScriptName(ScriptNameT&& value) {
65 SetScriptName(std::forward<ScriptNameT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_fileName;
71
72 Aws::String m_scriptName;
73 bool m_fileNameHasBeenSet = false;
74 bool m_scriptNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MainframeModernization
79} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier(Aws::Utils::Json::JsonView jsonValue)
JobIdentifier & WithFileName(FileNameT &&value)
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
JobIdentifier & WithScriptName(ScriptNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue