/** * 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 file containing a batch job definition.

See Also:

AWS * API Reference

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

The name of the file containing the batch job definition.

*/ inline const Aws::String& GetFileName() const{ return m_fileName; } /** *

The name of the file containing the batch job definition.

*/ inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } /** *

The name of the file containing the batch job definition.

*/ inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } /** *

The name of the file containing the batch job definition.

*/ inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } /** *

The name of the file containing the batch job definition.

*/ inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } /** *

The name of the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} /** *

The name of the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} /** *

The name of the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFileName(const char* value) { SetFileName(value); return *this;} /** *

The path to the file containing the batch job definition.

*/ inline const Aws::String& GetFolderPath() const{ return m_folderPath; } /** *

The path to the file containing the batch job definition.

*/ inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; } /** *

The path to the file containing the batch job definition.

*/ inline void SetFolderPath(const Aws::String& value) { m_folderPathHasBeenSet = true; m_folderPath = value; } /** *

The path to the file containing the batch job definition.

*/ inline void SetFolderPath(Aws::String&& value) { m_folderPathHasBeenSet = true; m_folderPath = std::move(value); } /** *

The path to the file containing the batch job definition.

*/ inline void SetFolderPath(const char* value) { m_folderPathHasBeenSet = true; m_folderPath.assign(value); } /** *

The path to the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFolderPath(const Aws::String& value) { SetFolderPath(value); return *this;} /** *

The path to the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFolderPath(Aws::String&& value) { SetFolderPath(std::move(value)); return *this;} /** *

The path to the file containing the batch job definition.

*/ inline FileBatchJobDefinition& WithFolderPath(const char* value) { SetFolderPath(value); return *this;} private: Aws::String m_fileName; bool m_fileNameHasBeenSet = false; Aws::String m_folderPath; bool m_folderPathHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws