AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
ExternalSecretRotationMetadataItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecretsManager {
20namespace Model {
21
32 public:
33 AWS_SECRETSMANAGER_API ExternalSecretRotationMetadataItem() = default;
36 AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetKey() const { return m_key; }
43 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
44 template <typename KeyT = Aws::String>
45 void SetKey(KeyT&& value) {
46 m_keyHasBeenSet = true;
47 m_key = std::forward<KeyT>(value);
48 }
49 template <typename KeyT = Aws::String>
51 SetKey(std::forward<KeyT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetValue() const { return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 template <typename ValueT = Aws::String>
63 void SetValue(ValueT&& value) {
64 m_valueHasBeenSet = true;
65 m_value = std::forward<ValueT>(value);
66 }
67 template <typename ValueT = Aws::String>
69 SetValue(std::forward<ValueT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_key;
75
76 Aws::String m_value;
77 bool m_keyHasBeenSet = false;
78 bool m_valueHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecretsManager
83} // namespace Aws
AWS_SECRETSMANAGER_API ExternalSecretRotationMetadataItem(Aws::Utils::Json::JsonView jsonValue)
AWS_SECRETSMANAGER_API ExternalSecretRotationMetadataItem()=default
AWS_SECRETSMANAGER_API ExternalSecretRotationMetadataItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue