AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
SftpConnectorConnectionDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
29 public:
30 AWS_TRANSFER_API SftpConnectorConnectionDetails() = default;
33 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetHostKey() const { return m_hostKey; }
43 inline bool HostKeyHasBeenSet() const { return m_hostKeyHasBeenSet; }
44 template <typename HostKeyT = Aws::String>
45 void SetHostKey(HostKeyT&& value) {
46 m_hostKeyHasBeenSet = true;
47 m_hostKey = std::forward<HostKeyT>(value);
48 }
49 template <typename HostKeyT = Aws::String>
51 SetHostKey(std::forward<HostKeyT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_hostKey;
57 bool m_hostKeyHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace Transfer
62} // namespace Aws
SftpConnectorConnectionDetails & WithHostKey(HostKeyT &&value)
AWS_TRANSFER_API SftpConnectorConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API SftpConnectorConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API SftpConnectorConnectionDetails()=default
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue