/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { /** *

A batch job definition contained in a script.

See Also:

AWS * API Reference

*/ class ScriptBatchJobDefinition { public: AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobDefinition(); AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobDefinition(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the script containing the batch job definition.

*/ inline const Aws::String& GetScriptName() const{ return m_scriptName; } /** *

The name of the script containing the batch job definition.

*/ inline bool ScriptNameHasBeenSet() const { return m_scriptNameHasBeenSet; } /** *

The name of the script containing the batch job definition.

*/ inline void SetScriptName(const Aws::String& value) { m_scriptNameHasBeenSet = true; m_scriptName = value; } /** *

The name of the script containing the batch job definition.

*/ inline void SetScriptName(Aws::String&& value) { m_scriptNameHasBeenSet = true; m_scriptName = std::move(value); } /** *

The name of the script containing the batch job definition.

*/ inline void SetScriptName(const char* value) { m_scriptNameHasBeenSet = true; m_scriptName.assign(value); } /** *

The name of the script containing the batch job definition.

*/ inline ScriptBatchJobDefinition& WithScriptName(const Aws::String& value) { SetScriptName(value); return *this;} /** *

The name of the script containing the batch job definition.

*/ inline ScriptBatchJobDefinition& WithScriptName(Aws::String&& value) { SetScriptName(std::move(value)); return *this;} /** *

The name of the script containing the batch job definition.

*/ inline ScriptBatchJobDefinition& WithScriptName(const char* value) { SetScriptName(value); return *this;} private: Aws::String m_scriptName; bool m_scriptNameHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws