AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobIdentifier.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_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 MainframeModernization
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier();
35 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MAINFRAMEMODERNIZATION_API JobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFileName() const{ return m_fileName; }
45 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
46 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
47 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
48 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
49 inline JobIdentifier& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
50 inline JobIdentifier& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
51 inline JobIdentifier& WithFileName(const char* value) { SetFileName(value); return *this;}
53
55
58 inline const Aws::String& GetScriptName() const{ return m_scriptName; }
59 inline bool ScriptNameHasBeenSet() const { return m_scriptNameHasBeenSet; }
60 inline void SetScriptName(const Aws::String& value) { m_scriptNameHasBeenSet = true; m_scriptName = value; }
61 inline void SetScriptName(Aws::String&& value) { m_scriptNameHasBeenSet = true; m_scriptName = std::move(value); }
62 inline void SetScriptName(const char* value) { m_scriptNameHasBeenSet = true; m_scriptName.assign(value); }
63 inline JobIdentifier& WithScriptName(const Aws::String& value) { SetScriptName(value); return *this;}
64 inline JobIdentifier& WithScriptName(Aws::String&& value) { SetScriptName(std::move(value)); return *this;}
65 inline JobIdentifier& WithScriptName(const char* value) { SetScriptName(value); return *this;}
67 private:
68
69 Aws::String m_fileName;
70 bool m_fileNameHasBeenSet = false;
71
72 Aws::String m_scriptName;
73 bool m_scriptNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MainframeModernization
78} // namespace Aws
JobIdentifier & WithFileName(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier(Aws::Utils::Json::JsonView jsonValue)
JobIdentifier & WithFileName(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier()
AWS_MAINFRAMEMODERNIZATION_API JobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
JobIdentifier & WithScriptName(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScriptName(const Aws::String &value)
JobIdentifier & WithScriptName(const Aws::String &value)
JobIdentifier & WithScriptName(const char *value)
JobIdentifier & WithFileName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue