AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordingGroup.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/config/model/ExclusionByResourceTypes.h>
10#include <aws/config/model/RecordingStrategy.h>
11#include <aws/config/model/ResourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConfigService
25{
26namespace Model
27{
28
61 {
62 public:
63 AWS_CONFIGSERVICE_API RecordingGroup();
64 AWS_CONFIGSERVICE_API RecordingGroup(Aws::Utils::Json::JsonView jsonValue);
65 AWS_CONFIGSERVICE_API RecordingGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
66 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
67
68
70
85 inline bool GetAllSupported() const{ return m_allSupported; }
86 inline bool AllSupportedHasBeenSet() const { return m_allSupportedHasBeenSet; }
87 inline void SetAllSupported(bool value) { m_allSupportedHasBeenSet = true; m_allSupported = value; }
88 inline RecordingGroup& WithAllSupported(bool value) { SetAllSupported(value); return *this;}
90
92
152 inline bool GetIncludeGlobalResourceTypes() const{ return m_includeGlobalResourceTypes; }
153 inline bool IncludeGlobalResourceTypesHasBeenSet() const { return m_includeGlobalResourceTypesHasBeenSet; }
154 inline void SetIncludeGlobalResourceTypes(bool value) { m_includeGlobalResourceTypesHasBeenSet = true; m_includeGlobalResourceTypes = value; }
157
159
186 inline const Aws::Vector<ResourceType>& GetResourceTypes() const{ return m_resourceTypes; }
187 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
188 inline void SetResourceTypes(const Aws::Vector<ResourceType>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
189 inline void SetResourceTypes(Aws::Vector<ResourceType>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
190 inline RecordingGroup& WithResourceTypes(const Aws::Vector<ResourceType>& value) { SetResourceTypes(value); return *this;}
191 inline RecordingGroup& WithResourceTypes(Aws::Vector<ResourceType>&& value) { SetResourceTypes(std::move(value)); return *this;}
192 inline RecordingGroup& AddResourceTypes(const ResourceType& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
193 inline RecordingGroup& AddResourceTypes(ResourceType&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
195
197
204 inline const ExclusionByResourceTypes& GetExclusionByResourceTypes() const{ return m_exclusionByResourceTypes; }
205 inline bool ExclusionByResourceTypesHasBeenSet() const { return m_exclusionByResourceTypesHasBeenSet; }
206 inline void SetExclusionByResourceTypes(const ExclusionByResourceTypes& value) { m_exclusionByResourceTypesHasBeenSet = true; m_exclusionByResourceTypes = value; }
207 inline void SetExclusionByResourceTypes(ExclusionByResourceTypes&& value) { m_exclusionByResourceTypesHasBeenSet = true; m_exclusionByResourceTypes = std::move(value); }
211
213
273 inline const RecordingStrategy& GetRecordingStrategy() const{ return m_recordingStrategy; }
274 inline bool RecordingStrategyHasBeenSet() const { return m_recordingStrategyHasBeenSet; }
275 inline void SetRecordingStrategy(const RecordingStrategy& value) { m_recordingStrategyHasBeenSet = true; m_recordingStrategy = value; }
276 inline void SetRecordingStrategy(RecordingStrategy&& value) { m_recordingStrategyHasBeenSet = true; m_recordingStrategy = std::move(value); }
277 inline RecordingGroup& WithRecordingStrategy(const RecordingStrategy& value) { SetRecordingStrategy(value); return *this;}
278 inline RecordingGroup& WithRecordingStrategy(RecordingStrategy&& value) { SetRecordingStrategy(std::move(value)); return *this;}
280 private:
281
282 bool m_allSupported;
283 bool m_allSupportedHasBeenSet = false;
284
285 bool m_includeGlobalResourceTypes;
286 bool m_includeGlobalResourceTypesHasBeenSet = false;
287
288 Aws::Vector<ResourceType> m_resourceTypes;
289 bool m_resourceTypesHasBeenSet = false;
290
291 ExclusionByResourceTypes m_exclusionByResourceTypes;
292 bool m_exclusionByResourceTypesHasBeenSet = false;
293
294 RecordingStrategy m_recordingStrategy;
295 bool m_recordingStrategyHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace ConfigService
300} // namespace Aws
RecordingGroup & WithIncludeGlobalResourceTypes(bool value)
void SetResourceTypes(Aws::Vector< ResourceType > &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RecordingGroup & WithRecordingStrategy(const RecordingStrategy &value)
RecordingGroup & WithResourceTypes(const Aws::Vector< ResourceType > &value)
void SetRecordingStrategy(RecordingStrategy &&value)
void SetRecordingStrategy(const RecordingStrategy &value)
RecordingGroup & WithExclusionByResourceTypes(ExclusionByResourceTypes &&value)
const Aws::Vector< ResourceType > & GetResourceTypes() const
AWS_CONFIGSERVICE_API RecordingGroup()
void SetExclusionByResourceTypes(const ExclusionByResourceTypes &value)
const RecordingStrategy & GetRecordingStrategy() const
RecordingGroup & WithExclusionByResourceTypes(const ExclusionByResourceTypes &value)
RecordingGroup & WithResourceTypes(Aws::Vector< ResourceType > &&value)
AWS_CONFIGSERVICE_API RecordingGroup(Aws::Utils::Json::JsonView jsonValue)
RecordingGroup & WithAllSupported(bool value)
RecordingGroup & AddResourceTypes(const ResourceType &value)
RecordingGroup & WithRecordingStrategy(RecordingStrategy &&value)
const ExclusionByResourceTypes & GetExclusionByResourceTypes() const
RecordingGroup & AddResourceTypes(ResourceType &&value)
AWS_CONFIGSERVICE_API RecordingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceTypes(const Aws::Vector< ResourceType > &value)
void SetExclusionByResourceTypes(ExclusionByResourceTypes &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue