AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SftpConnectorConfig.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
40 {
41 public:
42 AWS_TRANSFER_API SftpConnectorConfig();
45 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetUserSecretId() const{ return m_userSecretId; }
55 inline bool UserSecretIdHasBeenSet() const { return m_userSecretIdHasBeenSet; }
56 inline void SetUserSecretId(const Aws::String& value) { m_userSecretIdHasBeenSet = true; m_userSecretId = value; }
57 inline void SetUserSecretId(Aws::String&& value) { m_userSecretIdHasBeenSet = true; m_userSecretId = std::move(value); }
58 inline void SetUserSecretId(const char* value) { m_userSecretIdHasBeenSet = true; m_userSecretId.assign(value); }
59 inline SftpConnectorConfig& WithUserSecretId(const Aws::String& value) { SetUserSecretId(value); return *this;}
60 inline SftpConnectorConfig& WithUserSecretId(Aws::String&& value) { SetUserSecretId(std::move(value)); return *this;}
61 inline SftpConnectorConfig& WithUserSecretId(const char* value) { SetUserSecretId(value); return *this;}
63
65
88 inline const Aws::Vector<Aws::String>& GetTrustedHostKeys() const{ return m_trustedHostKeys; }
89 inline bool TrustedHostKeysHasBeenSet() const { return m_trustedHostKeysHasBeenSet; }
90 inline void SetTrustedHostKeys(const Aws::Vector<Aws::String>& value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys = value; }
91 inline void SetTrustedHostKeys(Aws::Vector<Aws::String>&& value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys = std::move(value); }
93 inline SftpConnectorConfig& WithTrustedHostKeys(Aws::Vector<Aws::String>&& value) { SetTrustedHostKeys(std::move(value)); return *this;}
94 inline SftpConnectorConfig& AddTrustedHostKeys(const Aws::String& value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys.push_back(value); return *this; }
95 inline SftpConnectorConfig& AddTrustedHostKeys(Aws::String&& value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys.push_back(std::move(value)); return *this; }
96 inline SftpConnectorConfig& AddTrustedHostKeys(const char* value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys.push_back(value); return *this; }
98 private:
99
100 Aws::String m_userSecretId;
101 bool m_userSecretIdHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_trustedHostKeys;
104 bool m_trustedHostKeysHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Transfer
109} // namespace Aws
SftpConnectorConfig & WithTrustedHostKeys(const Aws::Vector< Aws::String > &value)
SftpConnectorConfig & WithUserSecretId(const char *value)
SftpConnectorConfig & AddTrustedHostKeys(const Aws::String &value)
SftpConnectorConfig & AddTrustedHostKeys(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTrustedHostKeys() const
SftpConnectorConfig & AddTrustedHostKeys(const char *value)
void SetUserSecretId(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API SftpConnectorConfig(Aws::Utils::Json::JsonView jsonValue)
void SetTrustedHostKeys(Aws::Vector< Aws::String > &&value)
AWS_TRANSFER_API SftpConnectorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTrustedHostKeys(const Aws::Vector< Aws::String > &value)
SftpConnectorConfig & WithUserSecretId(Aws::String &&value)
SftpConnectorConfig & WithTrustedHostKeys(Aws::Vector< Aws::String > &&value)
SftpConnectorConfig & WithUserSecretId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue