AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SshPublicKey.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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
39 {
40 public:
41 AWS_TRANSFER_API SshPublicKey() = default;
42 AWS_TRANSFER_API SshPublicKey(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Utils::DateTime& GetDateImported() const { return m_dateImported; }
53 inline bool DateImportedHasBeenSet() const { return m_dateImportedHasBeenSet; }
54 template<typename DateImportedT = Aws::Utils::DateTime>
55 void SetDateImported(DateImportedT&& value) { m_dateImportedHasBeenSet = true; m_dateImported = std::forward<DateImportedT>(value); }
56 template<typename DateImportedT = Aws::Utils::DateTime>
57 SshPublicKey& WithDateImported(DateImportedT&& value) { SetDateImported(std::forward<DateImportedT>(value)); return *this;}
59
61
66 inline const Aws::String& GetSshPublicKeyBody() const { return m_sshPublicKeyBody; }
67 inline bool SshPublicKeyBodyHasBeenSet() const { return m_sshPublicKeyBodyHasBeenSet; }
68 template<typename SshPublicKeyBodyT = Aws::String>
69 void SetSshPublicKeyBody(SshPublicKeyBodyT&& value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody = std::forward<SshPublicKeyBodyT>(value); }
70 template<typename SshPublicKeyBodyT = Aws::String>
71 SshPublicKey& WithSshPublicKeyBody(SshPublicKeyBodyT&& value) { SetSshPublicKeyBody(std::forward<SshPublicKeyBodyT>(value)); return *this;}
73
75
79 inline const Aws::String& GetSshPublicKeyId() const { return m_sshPublicKeyId; }
80 inline bool SshPublicKeyIdHasBeenSet() const { return m_sshPublicKeyIdHasBeenSet; }
81 template<typename SshPublicKeyIdT = Aws::String>
82 void SetSshPublicKeyId(SshPublicKeyIdT&& value) { m_sshPublicKeyIdHasBeenSet = true; m_sshPublicKeyId = std::forward<SshPublicKeyIdT>(value); }
83 template<typename SshPublicKeyIdT = Aws::String>
84 SshPublicKey& WithSshPublicKeyId(SshPublicKeyIdT&& value) { SetSshPublicKeyId(std::forward<SshPublicKeyIdT>(value)); return *this;}
86 private:
87
88 Aws::Utils::DateTime m_dateImported{};
89 bool m_dateImportedHasBeenSet = false;
90
91 Aws::String m_sshPublicKeyBody;
92 bool m_sshPublicKeyBodyHasBeenSet = false;
93
94 Aws::String m_sshPublicKeyId;
95 bool m_sshPublicKeyIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Transfer
100} // namespace Aws
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API SshPublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetDateImported() const
void SetSshPublicKeyId(SshPublicKeyIdT &&value)
SshPublicKey & WithSshPublicKeyBody(SshPublicKeyBodyT &&value)
SshPublicKey & WithDateImported(DateImportedT &&value)
const Aws::String & GetSshPublicKeyBody() const
const Aws::String & GetSshPublicKeyId() const
void SetDateImported(DateImportedT &&value)
SshPublicKey & WithSshPublicKeyId(SshPublicKeyIdT &&value)
void SetSshPublicKeyBody(SshPublicKeyBodyT &&value)
AWS_TRANSFER_API SshPublicKey(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API SshPublicKey()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue