AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
RuntimeSessionData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/RuntimeSessionDataValue.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API RuntimeSessionData() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetKey() const { return m_key; }
41 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
42 template <typename KeyT = Aws::String>
43 void SetKey(KeyT&& value) {
44 m_keyHasBeenSet = true;
45 m_key = std::forward<KeyT>(value);
46 }
47 template <typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
50 return *this;
51 }
53
55
58 inline const RuntimeSessionDataValue& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template <typename ValueT = RuntimeSessionDataValue>
61 void SetValue(ValueT&& value) {
62 m_valueHasBeenSet = true;
63 m_value = std::forward<ValueT>(value);
64 }
65 template <typename ValueT = RuntimeSessionDataValue>
67 SetValue(std::forward<ValueT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_key;
73
75 bool m_keyHasBeenSet = false;
76 bool m_valueHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QConnect
81} // namespace Aws
RuntimeSessionData & WithKey(KeyT &&value)
const RuntimeSessionDataValue & GetValue() const
AWS_QCONNECT_API RuntimeSessionData()=default
AWS_QCONNECT_API RuntimeSessionData(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API RuntimeSessionData & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimeSessionData & WithValue(ValueT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue