AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordingModeOverride.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/config/model/RecordingFrequency.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
36 {
37 public:
38 AWS_CONFIGSERVICE_API RecordingModeOverride();
39 AWS_CONFIGSERVICE_API RecordingModeOverride(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDescription() const{ return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline RecordingModeOverride& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline RecordingModeOverride& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline RecordingModeOverride& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
67 inline const Aws::Vector<ResourceType>& GetResourceTypes() const{ return m_resourceTypes; }
68 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
69 inline void SetResourceTypes(const Aws::Vector<ResourceType>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
70 inline void SetResourceTypes(Aws::Vector<ResourceType>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
72 inline RecordingModeOverride& WithResourceTypes(Aws::Vector<ResourceType>&& value) { SetResourceTypes(std::move(value)); return *this;}
73 inline RecordingModeOverride& AddResourceTypes(const ResourceType& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
74 inline RecordingModeOverride& AddResourceTypes(ResourceType&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
76
78
89 inline const RecordingFrequency& GetRecordingFrequency() const{ return m_recordingFrequency; }
90 inline bool RecordingFrequencyHasBeenSet() const { return m_recordingFrequencyHasBeenSet; }
91 inline void SetRecordingFrequency(const RecordingFrequency& value) { m_recordingFrequencyHasBeenSet = true; m_recordingFrequency = value; }
92 inline void SetRecordingFrequency(RecordingFrequency&& value) { m_recordingFrequencyHasBeenSet = true; m_recordingFrequency = std::move(value); }
94 inline RecordingModeOverride& WithRecordingFrequency(RecordingFrequency&& value) { SetRecordingFrequency(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 Aws::Vector<ResourceType> m_resourceTypes;
102 bool m_resourceTypesHasBeenSet = false;
103
104 RecordingFrequency m_recordingFrequency;
105 bool m_recordingFrequencyHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConfigService
110} // namespace Aws
const Aws::Vector< ResourceType > & GetResourceTypes() const
RecordingModeOverride & AddResourceTypes(ResourceType &&value)
RecordingModeOverride & WithRecordingFrequency(RecordingFrequency &&value)
AWS_CONFIGSERVICE_API RecordingModeOverride(Aws::Utils::Json::JsonView jsonValue)
RecordingModeOverride & WithRecordingFrequency(const RecordingFrequency &value)
AWS_CONFIGSERVICE_API RecordingModeOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordingModeOverride & WithDescription(const char *value)
void SetResourceTypes(Aws::Vector< ResourceType > &&value)
RecordingModeOverride & WithResourceTypes(Aws::Vector< ResourceType > &&value)
RecordingModeOverride & WithDescription(const Aws::String &value)
const RecordingFrequency & GetRecordingFrequency() const
void SetRecordingFrequency(RecordingFrequency &&value)
RecordingModeOverride & WithDescription(Aws::String &&value)
RecordingModeOverride & WithResourceTypes(const Aws::Vector< ResourceType > &value)
RecordingModeOverride & AddResourceTypes(const ResourceType &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecordingFrequency(const RecordingFrequency &value)
void SetResourceTypes(const Aws::Vector< ResourceType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue