AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HomeDirectoryMapEntry.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/MapType.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 Transfer
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_TRANSFER_API HomeDirectoryMapEntry() = default;
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetEntry() const { return m_entry; }
50 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
51 template<typename EntryT = Aws::String>
52 void SetEntry(EntryT&& value) { m_entryHasBeenSet = true; m_entry = std::forward<EntryT>(value); }
53 template<typename EntryT = Aws::String>
54 HomeDirectoryMapEntry& WithEntry(EntryT&& value) { SetEntry(std::forward<EntryT>(value)); return *this;}
56
58
62 inline const Aws::String& GetTarget() const { return m_target; }
63 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
64 template<typename TargetT = Aws::String>
65 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
66 template<typename TargetT = Aws::String>
67 HomeDirectoryMapEntry& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
69
71
79 inline MapType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(MapType value) { m_typeHasBeenSet = true; m_type = value; }
82 inline HomeDirectoryMapEntry& WithType(MapType value) { SetType(value); return *this;}
84 private:
85
86 Aws::String m_entry;
87 bool m_entryHasBeenSet = false;
88
89 Aws::String m_target;
90 bool m_targetHasBeenSet = false;
91
93 bool m_typeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Transfer
98} // namespace Aws
MapType GetType() const
HomeDirectoryMapEntry & WithType(MapType value)
void SetType(MapType value)
void SetEntry(EntryT &&value)
const Aws::String & GetEntry() const
bool TargetHasBeenSet() const
AWS_TRANSFER_API HomeDirectoryMapEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTarget(TargetT &&value)
HomeDirectoryMapEntry & WithEntry(EntryT &&value)
bool TypeHasBeenSet() const
HomeDirectoryMapEntry & WithTarget(TargetT &&value)
const Aws::String & GetTarget() const
AWS_TRANSFER_API HomeDirectoryMapEntry(Aws::Utils::Json::JsonView jsonValue)
bool EntryHasBeenSet() const
AWS_TRANSFER_API HomeDirectoryMapEntry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue