AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuntimeSessionData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/RuntimeSessionDataValue.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 QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API RuntimeSessionData();
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKey() const{ return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline RuntimeSessionData& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline RuntimeSessionData& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline RuntimeSessionData& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline const RuntimeSessionDataValue& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const RuntimeSessionDataValue& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(RuntimeSessionDataValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline RuntimeSessionData& WithValue(const RuntimeSessionDataValue& value) { SetValue(value); return *this;}
65 inline RuntimeSessionData& WithValue(RuntimeSessionDataValue&& value) { SetValue(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_key;
70 bool m_keyHasBeenSet = false;
71
73 bool m_valueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
RuntimeSessionData & WithKey(Aws::String &&value)
const RuntimeSessionDataValue & GetValue() const
void SetKey(const Aws::String &value)
void SetValue(const RuntimeSessionDataValue &value)
AWS_QCONNECT_API RuntimeSessionData(Aws::Utils::Json::JsonView jsonValue)
RuntimeSessionData & WithValue(RuntimeSessionDataValue &&value)
RuntimeSessionData & WithValue(const RuntimeSessionDataValue &value)
AWS_QCONNECT_API RuntimeSessionData & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimeSessionData & WithKey(const char *value)
void SetValue(RuntimeSessionDataValue &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeSessionData & WithKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue