AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntry(const Aws::String& value) { m_entryHasBeenSet = true; m_entry = value; }
52 inline void SetEntry(Aws::String&& value) { m_entryHasBeenSet = true; m_entry = std::move(value); }
53 inline void SetEntry(const char* value) { m_entryHasBeenSet = true; m_entry.assign(value); }
54 inline HomeDirectoryMapEntry& WithEntry(const Aws::String& value) { SetEntry(value); return *this;}
55 inline HomeDirectoryMapEntry& WithEntry(Aws::String&& value) { SetEntry(std::move(value)); return *this;}
56 inline HomeDirectoryMapEntry& WithEntry(const char* value) { SetEntry(value); return *this;}
58
60
64 inline const Aws::String& GetTarget() const{ return m_target; }
65 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
66 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
67 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
68 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
69 inline HomeDirectoryMapEntry& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
70 inline HomeDirectoryMapEntry& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
71 inline HomeDirectoryMapEntry& WithTarget(const char* value) { SetTarget(value); return *this;}
73
75
83 inline const MapType& GetType() const{ return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(const MapType& value) { m_typeHasBeenSet = true; m_type = value; }
86 inline void SetType(MapType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
87 inline HomeDirectoryMapEntry& WithType(const MapType& value) { SetType(value); return *this;}
88 inline HomeDirectoryMapEntry& WithType(MapType&& value) { SetType(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_entry;
93 bool m_entryHasBeenSet = false;
94
95 Aws::String m_target;
96 bool m_targetHasBeenSet = false;
97
98 MapType m_type;
99 bool m_typeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Transfer
104} // namespace Aws
HomeDirectoryMapEntry & WithType(MapType &&value)
HomeDirectoryMapEntry & WithTarget(const Aws::String &value)
HomeDirectoryMapEntry & WithType(const MapType &value)
void SetTarget(const char *value)
void SetEntry(const Aws::String &value)
HomeDirectoryMapEntry & WithTarget(const char *value)
void SetEntry(Aws::String &&value)
HomeDirectoryMapEntry & WithEntry(const char *value)
void SetTarget(const Aws::String &value)
void SetType(MapType &&value)
AWS_TRANSFER_API HomeDirectoryMapEntry()
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 SetEntry(const char *value)
HomeDirectoryMapEntry & WithTarget(Aws::String &&value)
HomeDirectoryMapEntry & WithEntry(Aws::String &&value)
bool TypeHasBeenSet() const
const Aws::String & GetTarget() const
AWS_TRANSFER_API HomeDirectoryMapEntry(Aws::Utils::Json::JsonView jsonValue)
bool EntryHasBeenSet() const
const MapType & GetType() const
void SetTarget(Aws::String &&value)
void SetType(const MapType &value)
HomeDirectoryMapEntry & WithEntry(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue