/** * 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 * file name and the relative path to the file name.

See Also:

AWS * API Reference

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

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

The relative path to the file name for the batch job identifier.

*/ inline FileBatchJobIdentifier& 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