AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingConfiguration.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/chime/model/StreamingNotificationTarget.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
36 {
37 public:
38 AWS_CHIME_API StreamingConfiguration();
41 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; }
49 inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; }
50 inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; }
53
55
58 inline bool GetDisabled() const{ return m_disabled; }
59 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
60 inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
61 inline StreamingConfiguration& WithDisabled(bool value) { SetDisabled(value); return *this;}
63
65
68 inline const Aws::Vector<StreamingNotificationTarget>& GetStreamingNotificationTargets() const{ return m_streamingNotificationTargets; }
69 inline bool StreamingNotificationTargetsHasBeenSet() const { return m_streamingNotificationTargetsHasBeenSet; }
70 inline void SetStreamingNotificationTargets(const Aws::Vector<StreamingNotificationTarget>& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets = value; }
71 inline void SetStreamingNotificationTargets(Aws::Vector<StreamingNotificationTarget>&& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets = std::move(value); }
74 inline StreamingConfiguration& AddStreamingNotificationTargets(const StreamingNotificationTarget& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets.push_back(value); return *this; }
75 inline StreamingConfiguration& AddStreamingNotificationTargets(StreamingNotificationTarget&& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets.push_back(std::move(value)); return *this; }
77 private:
78
79 int m_dataRetentionInHours;
80 bool m_dataRetentionInHoursHasBeenSet = false;
81
82 bool m_disabled;
83 bool m_disabledHasBeenSet = false;
84
85 Aws::Vector<StreamingNotificationTarget> m_streamingNotificationTargets;
86 bool m_streamingNotificationTargetsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Chime
91} // namespace Aws
const Aws::Vector< StreamingNotificationTarget > & GetStreamingNotificationTargets() const
void SetStreamingNotificationTargets(Aws::Vector< StreamingNotificationTarget > &&value)
StreamingConfiguration & WithStreamingNotificationTargets(Aws::Vector< StreamingNotificationTarget > &&value)
void SetStreamingNotificationTargets(const Aws::Vector< StreamingNotificationTarget > &value)
StreamingConfiguration & WithDataRetentionInHours(int value)
StreamingConfiguration & AddStreamingNotificationTargets(StreamingNotificationTarget &&value)
StreamingConfiguration & WithDisabled(bool value)
StreamingConfiguration & WithStreamingNotificationTargets(const Aws::Vector< StreamingNotificationTarget > &value)
AWS_CHIME_API StreamingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API StreamingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
StreamingConfiguration & AddStreamingNotificationTargets(const StreamingNotificationTarget &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue