AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const PathFormat& GetSourcePathFormat() const{ return m_sourcePathFormat; }
46 inline bool SourcePathFormatHasBeenSet() const { return m_sourcePathFormatHasBeenSet; }
47 inline void SetSourcePathFormat(const PathFormat& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = value; }
48 inline void SetSourcePathFormat(PathFormat&& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = std::move(value); }
49 inline PathMappingRule& WithSourcePathFormat(const PathFormat& value) { SetSourcePathFormat(value); return *this;}
50 inline PathMappingRule& WithSourcePathFormat(PathFormat&& value) { SetSourcePathFormat(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
58 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
59 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
60 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
61 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
62 inline PathMappingRule& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
63 inline PathMappingRule& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
64 inline PathMappingRule& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
66
68
71 inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; }
72 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
73 inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; }
74 inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); }
75 inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); }
76 inline PathMappingRule& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;}
77 inline PathMappingRule& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;}
78 inline PathMappingRule& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;}
80 private:
81
82 PathFormat m_sourcePathFormat;
83 bool m_sourcePathFormatHasBeenSet = false;
84
85 Aws::String m_sourcePath;
86 bool m_sourcePathHasBeenSet = false;
87
88 Aws::String m_destinationPath;
89 bool m_destinationPathHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace deadline
94} // namespace Aws
PathMappingRule & WithDestinationPath(Aws::String &&value)
const Aws::String & GetSourcePath() const
PathMappingRule & WithSourcePathFormat(const PathFormat &value)
PathMappingRule & WithSourcePath(const char *value)
AWS_DEADLINE_API PathMappingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationPath(const char *value)
AWS_DEADLINE_API PathMappingRule(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePath(const char *value)
PathMappingRule & WithDestinationPath(const Aws::String &value)
void SetDestinationPath(Aws::String &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourcePathFormat(PathFormat &&value)
void SetSourcePath(Aws::String &&value)
PathMappingRule & WithSourcePath(const Aws::String &value)
const PathFormat & GetSourcePathFormat() const
void SetDestinationPath(const Aws::String &value)
PathMappingRule & WithSourcePathFormat(PathFormat &&value)
PathMappingRule & WithDestinationPath(const char *value)
void SetSourcePath(const Aws::String &value)
const Aws::String & GetDestinationPath() const
void SetSourcePathFormat(const PathFormat &value)
PathMappingRule & WithSourcePath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue