/** * 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 identifier in which the batch job to run is identified by the * script name.

See Also:

AWS * API Reference

*/ class ScriptBatchJobIdentifier { public: AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobIdentifier(); AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API ScriptBatchJobIdentifier& 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 ScriptBatchJobIdentifier& WithScriptName(const Aws::String& value) { SetScriptName(value); return *this;} /** *

The name of the script containing the batch job definition.

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

The name of the script containing the batch job definition.

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