AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDateImported(const Aws::Utils::DateTime& value) { m_dateImportedHasBeenSet = true; m_dateImported = value; }
55 inline void SetDateImported(Aws::Utils::DateTime&& value) { m_dateImportedHasBeenSet = true; m_dateImported = std::move(value); }
56 inline SshPublicKey& WithDateImported(const Aws::Utils::DateTime& value) { SetDateImported(value); return *this;}
57 inline SshPublicKey& WithDateImported(Aws::Utils::DateTime&& value) { SetDateImported(std::move(value)); return *this;}
59
61
66 inline const Aws::String& GetSshPublicKeyBody() const{ return m_sshPublicKeyBody; }
67 inline bool SshPublicKeyBodyHasBeenSet() const { return m_sshPublicKeyBodyHasBeenSet; }
68 inline void SetSshPublicKeyBody(const Aws::String& value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody = value; }
69 inline void SetSshPublicKeyBody(Aws::String&& value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody = std::move(value); }
70 inline void SetSshPublicKeyBody(const char* value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody.assign(value); }
71 inline SshPublicKey& WithSshPublicKeyBody(const Aws::String& value) { SetSshPublicKeyBody(value); return *this;}
72 inline SshPublicKey& WithSshPublicKeyBody(Aws::String&& value) { SetSshPublicKeyBody(std::move(value)); return *this;}
73 inline SshPublicKey& WithSshPublicKeyBody(const char* value) { SetSshPublicKeyBody(value); return *this;}
75
77
81 inline const Aws::String& GetSshPublicKeyId() const{ return m_sshPublicKeyId; }
82 inline bool SshPublicKeyIdHasBeenSet() const { return m_sshPublicKeyIdHasBeenSet; }
83 inline void SetSshPublicKeyId(const Aws::String& value) { m_sshPublicKeyIdHasBeenSet = true; m_sshPublicKeyId = value; }
84 inline void SetSshPublicKeyId(Aws::String&& value) { m_sshPublicKeyIdHasBeenSet = true; m_sshPublicKeyId = std::move(value); }
85 inline void SetSshPublicKeyId(const char* value) { m_sshPublicKeyIdHasBeenSet = true; m_sshPublicKeyId.assign(value); }
86 inline SshPublicKey& WithSshPublicKeyId(const Aws::String& value) { SetSshPublicKeyId(value); return *this;}
87 inline SshPublicKey& WithSshPublicKeyId(Aws::String&& value) { SetSshPublicKeyId(std::move(value)); return *this;}
88 inline SshPublicKey& WithSshPublicKeyId(const char* value) { SetSshPublicKeyId(value); return *this;}
90 private:
91
92 Aws::Utils::DateTime m_dateImported;
93 bool m_dateImportedHasBeenSet = false;
94
95 Aws::String m_sshPublicKeyBody;
96 bool m_sshPublicKeyBodyHasBeenSet = false;
97
98 Aws::String m_sshPublicKeyId;
99 bool m_sshPublicKeyIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Transfer
104} // namespace Aws
SshPublicKey & WithSshPublicKeyId(const char *value)
void SetSshPublicKeyBody(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
SshPublicKey & WithSshPublicKeyBody(Aws::String &&value)
SshPublicKey & WithSshPublicKeyId(Aws::String &&value)
void SetDateImported(const Aws::Utils::DateTime &value)
SshPublicKey & WithSshPublicKeyBody(const char *value)
AWS_TRANSFER_API SshPublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
SshPublicKey & WithSshPublicKeyId(const Aws::String &value)
const Aws::Utils::DateTime & GetDateImported() const
const Aws::String & GetSshPublicKeyBody() const
void SetSshPublicKeyId(const Aws::String &value)
void SetDateImported(Aws::Utils::DateTime &&value)
void SetSshPublicKeyId(Aws::String &&value)
SshPublicKey & WithSshPublicKeyBody(const Aws::String &value)
const Aws::String & GetSshPublicKeyId() const
SshPublicKey & WithDateImported(const Aws::Utils::DateTime &value)
AWS_TRANSFER_API SshPublicKey(Aws::Utils::Json::JsonView jsonValue)
void SetSshPublicKeyBody(const char *value)
SshPublicKey & WithDateImported(Aws::Utils::DateTime &&value)
void SetSshPublicKeyBody(Aws::String &&value)
void SetSshPublicKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue