AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
FileBatchJobDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MainframeModernization {
20namespace Model {
21
28 public:
29 AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition() = default;
30 AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFileName() const { return m_fileName; }
39 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
40 template <typename FileNameT = Aws::String>
41 void SetFileName(FileNameT&& value) {
42 m_fileNameHasBeenSet = true;
43 m_fileName = std::forward<FileNameT>(value);
44 }
45 template <typename FileNameT = Aws::String>
47 SetFileName(std::forward<FileNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFolderPath() const { return m_folderPath; }
57 inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; }
58 template <typename FolderPathT = Aws::String>
59 void SetFolderPath(FolderPathT&& value) {
60 m_folderPathHasBeenSet = true;
61 m_folderPath = std::forward<FolderPathT>(value);
62 }
63 template <typename FolderPathT = Aws::String>
64 FileBatchJobDefinition& WithFolderPath(FolderPathT&& value) {
65 SetFolderPath(std::forward<FolderPathT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_fileName;
71
72 Aws::String m_folderPath;
73 bool m_fileNameHasBeenSet = false;
74 bool m_folderPathHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MainframeModernization
79} // namespace Aws
FileBatchJobDefinition & WithFolderPath(FolderPathT &&value)
FileBatchJobDefinition & WithFileName(FileNameT &&value)
AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition()=default
AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API FileBatchJobDefinition(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue