AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PathMappingRule.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/PathFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API PathMappingRule() = default;
36 AWS_DEADLINE_API PathMappingRule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline PathFormat GetSourcePathFormat() const { return m_sourcePathFormat; }
46 inline bool SourcePathFormatHasBeenSet() const { return m_sourcePathFormatHasBeenSet; }
47 inline void SetSourcePathFormat(PathFormat value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = value; }
50
52
55 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
56 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
57 template<typename SourcePathT = Aws::String>
58 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
59 template<typename SourcePathT = Aws::String>
60 PathMappingRule& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDestinationPath() const { return m_destinationPath; }
68 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
69 template<typename DestinationPathT = Aws::String>
70 void SetDestinationPath(DestinationPathT&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::forward<DestinationPathT>(value); }
71 template<typename DestinationPathT = Aws::String>
72 PathMappingRule& WithDestinationPath(DestinationPathT&& value) { SetDestinationPath(std::forward<DestinationPathT>(value)); return *this;}
74 private:
75
76 PathFormat m_sourcePathFormat{PathFormat::NOT_SET};
77 bool m_sourcePathFormatHasBeenSet = false;
78
79 Aws::String m_sourcePath;
80 bool m_sourcePathHasBeenSet = false;
81
82 Aws::String m_destinationPath;
83 bool m_destinationPathHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace deadline
88} // namespace Aws
const Aws::String & GetSourcePath() const
void SetDestinationPath(DestinationPathT &&value)
PathMappingRule & WithSourcePathFormat(PathFormat value)
AWS_DEADLINE_API PathMappingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePathFormat(PathFormat value)
PathMappingRule & WithSourcePath(SourcePathT &&value)
AWS_DEADLINE_API PathMappingRule(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourcePath(SourcePathT &&value)
AWS_DEADLINE_API PathMappingRule()=default
PathMappingRule & WithDestinationPath(DestinationPathT &&value)
const Aws::String & GetDestinationPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue