AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppInstanceUserMembershipSummary.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/ChannelMembershipType.h>
9#include <aws/core/utils/DateTime.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 Chime
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ChannelMembershipType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const ChannelMembershipType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(ChannelMembershipType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline AppInstanceUserMembershipSummary& WithType(const ChannelMembershipType& value) { SetType(value); return *this;}
51 inline AppInstanceUserMembershipSummary& WithType(ChannelMembershipType&& value) { SetType(std::move(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetReadMarkerTimestamp() const{ return m_readMarkerTimestamp; }
59 inline bool ReadMarkerTimestampHasBeenSet() const { return m_readMarkerTimestampHasBeenSet; }
60 inline void SetReadMarkerTimestamp(const Aws::Utils::DateTime& value) { m_readMarkerTimestampHasBeenSet = true; m_readMarkerTimestamp = value; }
61 inline void SetReadMarkerTimestamp(Aws::Utils::DateTime&& value) { m_readMarkerTimestampHasBeenSet = true; m_readMarkerTimestamp = std::move(value); }
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::Utils::DateTime m_readMarkerTimestamp;
71 bool m_readMarkerTimestampHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Chime
76} // namespace Aws
AppInstanceUserMembershipSummary & WithType(const ChannelMembershipType &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHIME_API AppInstanceUserMembershipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AppInstanceUserMembershipSummary & WithType(ChannelMembershipType &&value)
AppInstanceUserMembershipSummary & WithReadMarkerTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API AppInstanceUserMembershipSummary(Aws::Utils::Json::JsonView jsonValue)
AppInstanceUserMembershipSummary & WithReadMarkerTimestamp(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue