AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
CaseMetadataEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/security-ir/SecurityIR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityIR {
20namespace Model {
21
31 public:
32 AWS_SECURITYIR_API CaseMetadataEntry() = default;
33 AWS_SECURITYIR_API CaseMetadataEntry(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
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>
50 CaseMetadataEntry& WithKey(KeyT&& value) {
51 SetKey(std::forward<KeyT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetValue() const { return m_value; }
62 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
63 template <typename ValueT = Aws::String>
64 void SetValue(ValueT&& value) {
65 m_valueHasBeenSet = true;
66 m_value = std::forward<ValueT>(value);
67 }
68 template <typename ValueT = Aws::String>
69 CaseMetadataEntry& WithValue(ValueT&& value) {
70 SetValue(std::forward<ValueT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_key;
76
77 Aws::String m_value;
78 bool m_keyHasBeenSet = false;
79 bool m_valueHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SecurityIR
84} // namespace Aws
AWS_SECURITYIR_API CaseMetadataEntry(Aws::Utils::Json::JsonView jsonValue)
CaseMetadataEntry & WithKey(KeyT &&value)
void SetValue(ValueT &&value)
AWS_SECURITYIR_API CaseMetadataEntry()=default
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
CaseMetadataEntry & WithValue(ValueT &&value)
bool ValueHasBeenSet() const
AWS_SECURITYIR_API CaseMetadataEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
void SetKey(KeyT &&value)
const Aws::String & GetKey() const
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue