AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
HomeDirectoryMapEntry.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/MapType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Transfer {
21namespace Model {
22
33 public:
34 AWS_TRANSFER_API HomeDirectoryMapEntry() = default;
37 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetEntry() const { return m_entry; }
44 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
45 template <typename EntryT = Aws::String>
46 void SetEntry(EntryT&& value) {
47 m_entryHasBeenSet = true;
48 m_entry = std::forward<EntryT>(value);
49 }
50 template <typename EntryT = Aws::String>
52 SetEntry(std::forward<EntryT>(value));
53 return *this;
54 }
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) {
66 m_targetHasBeenSet = true;
67 m_target = std::forward<TargetT>(value);
68 }
69 template <typename TargetT = Aws::String>
71 SetTarget(std::forward<TargetT>(value));
72 return *this;
73 }
75
77
85 inline MapType GetType() const { return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(MapType value) {
88 m_typeHasBeenSet = true;
89 m_type = value;
90 }
92 SetType(value);
93 return *this;
94 }
96 private:
97 Aws::String m_entry;
98
99 Aws::String m_target;
100
102 bool m_entryHasBeenSet = false;
103 bool m_targetHasBeenSet = false;
104 bool m_typeHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Transfer
109} // 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