AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordingMode.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/RecordingFrequency.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/config/model/RecordingModeOverride.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
44 {
45 public:
46 AWS_CONFIGSERVICE_API RecordingMode();
47 AWS_CONFIGSERVICE_API RecordingMode(Aws::Utils::Json::JsonView jsonValue);
48 AWS_CONFIGSERVICE_API RecordingMode& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
63 inline const RecordingFrequency& GetRecordingFrequency() const{ return m_recordingFrequency; }
64 inline bool RecordingFrequencyHasBeenSet() const { return m_recordingFrequencyHasBeenSet; }
65 inline void SetRecordingFrequency(const RecordingFrequency& value) { m_recordingFrequencyHasBeenSet = true; m_recordingFrequency = value; }
66 inline void SetRecordingFrequency(RecordingFrequency&& value) { m_recordingFrequencyHasBeenSet = true; m_recordingFrequency = std::move(value); }
68 inline RecordingMode& WithRecordingFrequency(RecordingFrequency&& value) { SetRecordingFrequency(std::move(value)); return *this;}
70
72
79 inline const Aws::Vector<RecordingModeOverride>& GetRecordingModeOverrides() const{ return m_recordingModeOverrides; }
80 inline bool RecordingModeOverridesHasBeenSet() const { return m_recordingModeOverridesHasBeenSet; }
81 inline void SetRecordingModeOverrides(const Aws::Vector<RecordingModeOverride>& value) { m_recordingModeOverridesHasBeenSet = true; m_recordingModeOverrides = value; }
82 inline void SetRecordingModeOverrides(Aws::Vector<RecordingModeOverride>&& value) { m_recordingModeOverridesHasBeenSet = true; m_recordingModeOverrides = std::move(value); }
85 inline RecordingMode& AddRecordingModeOverrides(const RecordingModeOverride& value) { m_recordingModeOverridesHasBeenSet = true; m_recordingModeOverrides.push_back(value); return *this; }
86 inline RecordingMode& AddRecordingModeOverrides(RecordingModeOverride&& value) { m_recordingModeOverridesHasBeenSet = true; m_recordingModeOverrides.push_back(std::move(value)); return *this; }
88 private:
89
90 RecordingFrequency m_recordingFrequency;
91 bool m_recordingFrequencyHasBeenSet = false;
92
93 Aws::Vector<RecordingModeOverride> m_recordingModeOverrides;
94 bool m_recordingModeOverridesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ConfigService
99} // namespace Aws
RecordingMode & WithRecordingModeOverrides(Aws::Vector< RecordingModeOverride > &&value)
AWS_CONFIGSERVICE_API RecordingMode(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API RecordingMode()
RecordingMode & WithRecordingFrequency(RecordingFrequency &&value)
RecordingMode & WithRecordingFrequency(const RecordingFrequency &value)
RecordingMode & WithRecordingModeOverrides(const Aws::Vector< RecordingModeOverride > &value)
RecordingMode & AddRecordingModeOverrides(const RecordingModeOverride &value)
void SetRecordingFrequency(const RecordingFrequency &value)
void SetRecordingFrequency(RecordingFrequency &&value)
void SetRecordingModeOverrides(Aws::Vector< RecordingModeOverride > &&value)
AWS_CONFIGSERVICE_API RecordingMode & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RecordingModeOverride > & GetRecordingModeOverrides() const
RecordingMode & AddRecordingModeOverrides(RecordingModeOverride &&value)
const RecordingFrequency & GetRecordingFrequency() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecordingModeOverrides(const Aws::Vector< RecordingModeOverride > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue