AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
QAppSessionData.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/QApps_EXPORTS.h>
11#include <aws/qapps/model/User.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
24
32 public:
33 AWS_QAPPS_API QAppSessionData() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetCardId() const { return m_cardId; }
43 inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; }
44 template <typename CardIdT = Aws::String>
45 void SetCardId(CardIdT&& value) {
46 m_cardIdHasBeenSet = true;
47 m_cardId = std::forward<CardIdT>(value);
48 }
49 template <typename CardIdT = Aws::String>
51 SetCardId(std::forward<CardIdT>(value));
52 return *this;
53 }
55
57
60 inline Aws::Utils::DocumentView GetValue() const { return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 template <typename ValueT = Aws::Utils::Document>
63 void SetValue(ValueT&& value) {
64 m_valueHasBeenSet = true;
65 m_value = std::forward<ValueT>(value);
66 }
67 template <typename ValueT = Aws::Utils::Document>
69 SetValue(std::forward<ValueT>(value));
70 return *this;
71 }
73
75
78 inline const User& GetUser() const { return m_user; }
79 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
80 template <typename UserT = User>
81 void SetUser(UserT&& value) {
82 m_userHasBeenSet = true;
83 m_user = std::forward<UserT>(value);
84 }
85 template <typename UserT = User>
87 SetUser(std::forward<UserT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetSubmissionId() const { return m_submissionId; }
97 inline bool SubmissionIdHasBeenSet() const { return m_submissionIdHasBeenSet; }
98 template <typename SubmissionIdT = Aws::String>
100 m_submissionIdHasBeenSet = true;
101 m_submissionId = std::forward<SubmissionIdT>(value);
102 }
103 template <typename SubmissionIdT = Aws::String>
105 SetSubmissionId(std::forward<SubmissionIdT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
115 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
116 template <typename TimestampT = Aws::Utils::DateTime>
117 void SetTimestamp(TimestampT&& value) {
118 m_timestampHasBeenSet = true;
119 m_timestamp = std::forward<TimestampT>(value);
120 }
121 template <typename TimestampT = Aws::Utils::DateTime>
123 SetTimestamp(std::forward<TimestampT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_cardId;
129
130 Aws::Utils::Document m_value;
131
132 User m_user;
133
134 Aws::String m_submissionId;
135
136 Aws::Utils::DateTime m_timestamp{};
137 bool m_cardIdHasBeenSet = false;
138 bool m_valueHasBeenSet = false;
139 bool m_userHasBeenSet = false;
140 bool m_submissionIdHasBeenSet = false;
141 bool m_timestampHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace QApps
146} // namespace Aws
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::String & GetSubmissionId() const
Aws::Utils::DocumentView GetValue() const
QAppSessionData & WithCardId(CardIdT &&value)
QAppSessionData & WithUser(UserT &&value)
AWS_QAPPS_API QAppSessionData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API QAppSessionData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCardId() const
QAppSessionData & WithTimestamp(TimestampT &&value)
void SetSubmissionId(SubmissionIdT &&value)
QAppSessionData & WithSubmissionId(SubmissionIdT &&value)
QAppSessionData & WithValue(ValueT &&value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API QAppSessionData()=default
void SetTimestamp(TimestampT &&value)
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