AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetentionSettings.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/RoomRetentionSettings.h>
9#include <aws/chime/model/ConversationRetentionSettings.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
35 {
36 public:
37 AWS_CHIME_API RetentionSettings();
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const RoomRetentionSettings& GetRoomRetentionSettings() const{ return m_roomRetentionSettings; }
48 inline bool RoomRetentionSettingsHasBeenSet() const { return m_roomRetentionSettingsHasBeenSet; }
49 inline void SetRoomRetentionSettings(const RoomRetentionSettings& value) { m_roomRetentionSettingsHasBeenSet = true; m_roomRetentionSettings = value; }
50 inline void SetRoomRetentionSettings(RoomRetentionSettings&& value) { m_roomRetentionSettingsHasBeenSet = true; m_roomRetentionSettings = std::move(value); }
54
56
59 inline const ConversationRetentionSettings& GetConversationRetentionSettings() const{ return m_conversationRetentionSettings; }
60 inline bool ConversationRetentionSettingsHasBeenSet() const { return m_conversationRetentionSettingsHasBeenSet; }
61 inline void SetConversationRetentionSettings(const ConversationRetentionSettings& value) { m_conversationRetentionSettingsHasBeenSet = true; m_conversationRetentionSettings = value; }
62 inline void SetConversationRetentionSettings(ConversationRetentionSettings&& value) { m_conversationRetentionSettingsHasBeenSet = true; m_conversationRetentionSettings = std::move(value); }
66 private:
67
68 RoomRetentionSettings m_roomRetentionSettings;
69 bool m_roomRetentionSettingsHasBeenSet = false;
70
71 ConversationRetentionSettings m_conversationRetentionSettings;
72 bool m_conversationRetentionSettingsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Chime
77} // namespace Aws
void SetRoomRetentionSettings(RoomRetentionSettings &&value)
void SetRoomRetentionSettings(const RoomRetentionSettings &value)
RetentionSettings & WithRoomRetentionSettings(RoomRetentionSettings &&value)
RetentionSettings & WithConversationRetentionSettings(ConversationRetentionSettings &&value)
AWS_CHIME_API RetentionSettings(Aws::Utils::Json::JsonView jsonValue)
const ConversationRetentionSettings & GetConversationRetentionSettings() const
RetentionSettings & WithConversationRetentionSettings(const ConversationRetentionSettings &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const RoomRetentionSettings & GetRoomRetentionSettings() const
AWS_CHIME_API RetentionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConversationRetentionSettings(ConversationRetentionSettings &&value)
void SetConversationRetentionSettings(const ConversationRetentionSettings &value)
RetentionSettings & WithRoomRetentionSettings(const RoomRetentionSettings &value)
Aws::Utils::Json::JsonValue JsonValue