AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PasswordData.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lightsail
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LIGHTSAIL_API PasswordData();
36 AWS_LIGHTSAIL_API PasswordData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LIGHTSAIL_API PasswordData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
53 inline const Aws::String& GetCiphertext() const{ return m_ciphertext; }
54 inline bool CiphertextHasBeenSet() const { return m_ciphertextHasBeenSet; }
55 inline void SetCiphertext(const Aws::String& value) { m_ciphertextHasBeenSet = true; m_ciphertext = value; }
56 inline void SetCiphertext(Aws::String&& value) { m_ciphertextHasBeenSet = true; m_ciphertext = std::move(value); }
57 inline void SetCiphertext(const char* value) { m_ciphertextHasBeenSet = true; m_ciphertext.assign(value); }
58 inline PasswordData& WithCiphertext(const Aws::String& value) { SetCiphertext(value); return *this;}
59 inline PasswordData& WithCiphertext(Aws::String&& value) { SetCiphertext(std::move(value)); return *this;}
60 inline PasswordData& WithCiphertext(const char* value) { SetCiphertext(value); return *this;}
62
64
72 inline const Aws::String& GetKeyPairName() const{ return m_keyPairName; }
73 inline bool KeyPairNameHasBeenSet() const { return m_keyPairNameHasBeenSet; }
74 inline void SetKeyPairName(const Aws::String& value) { m_keyPairNameHasBeenSet = true; m_keyPairName = value; }
75 inline void SetKeyPairName(Aws::String&& value) { m_keyPairNameHasBeenSet = true; m_keyPairName = std::move(value); }
76 inline void SetKeyPairName(const char* value) { m_keyPairNameHasBeenSet = true; m_keyPairName.assign(value); }
77 inline PasswordData& WithKeyPairName(const Aws::String& value) { SetKeyPairName(value); return *this;}
78 inline PasswordData& WithKeyPairName(Aws::String&& value) { SetKeyPairName(std::move(value)); return *this;}
79 inline PasswordData& WithKeyPairName(const char* value) { SetKeyPairName(value); return *this;}
81 private:
82
83 Aws::String m_ciphertext;
84 bool m_ciphertextHasBeenSet = false;
85
86 Aws::String m_keyPairName;
87 bool m_keyPairNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Lightsail
92} // namespace Aws
const Aws::String & GetCiphertext() const
AWS_LIGHTSAIL_API PasswordData(Aws::Utils::Json::JsonView jsonValue)
PasswordData & WithKeyPairName(const Aws::String &value)
const Aws::String & GetKeyPairName() const
void SetCiphertext(const char *value)
void SetCiphertext(const Aws::String &value)
void SetKeyPairName(Aws::String &&value)
PasswordData & WithCiphertext(const Aws::String &value)
void SetKeyPairName(const Aws::String &value)
PasswordData & WithKeyPairName(Aws::String &&value)
AWS_LIGHTSAIL_API PasswordData & operator=(Aws::Utils::Json::JsonView jsonValue)
PasswordData & WithCiphertext(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
PasswordData & WithCiphertext(Aws::String &&value)
void SetCiphertext(Aws::String &&value)
PasswordData & WithKeyPairName(const char *value)
void SetKeyPairName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue