AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationRecorder.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/RecordingGroup.h>
10#include <aws/config/model/RecordingMode.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
38 {
39 public:
40 AWS_CONFIGSERVICE_API ConfigurationRecorder();
41 AWS_CONFIGSERVICE_API ConfigurationRecorder(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline ConfigurationRecorder& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline ConfigurationRecorder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline ConfigurationRecorder& WithName(const char* value) { SetName(value); return *this;}
63
65
84 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
85 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
86 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
87 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
88 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
89 inline ConfigurationRecorder& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
90 inline ConfigurationRecorder& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
91 inline ConfigurationRecorder& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
93
95
111 inline const RecordingGroup& GetRecordingGroup() const{ return m_recordingGroup; }
112 inline bool RecordingGroupHasBeenSet() const { return m_recordingGroupHasBeenSet; }
113 inline void SetRecordingGroup(const RecordingGroup& value) { m_recordingGroupHasBeenSet = true; m_recordingGroup = value; }
114 inline void SetRecordingGroup(RecordingGroup&& value) { m_recordingGroupHasBeenSet = true; m_recordingGroup = std::move(value); }
115 inline ConfigurationRecorder& WithRecordingGroup(const RecordingGroup& value) { SetRecordingGroup(value); return *this;}
116 inline ConfigurationRecorder& WithRecordingGroup(RecordingGroup&& value) { SetRecordingGroup(std::move(value)); return *this;}
118
120
133 inline const RecordingMode& GetRecordingMode() const{ return m_recordingMode; }
134 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
135 inline void SetRecordingMode(const RecordingMode& value) { m_recordingModeHasBeenSet = true; m_recordingMode = value; }
136 inline void SetRecordingMode(RecordingMode&& value) { m_recordingModeHasBeenSet = true; m_recordingMode = std::move(value); }
137 inline ConfigurationRecorder& WithRecordingMode(const RecordingMode& value) { SetRecordingMode(value); return *this;}
138 inline ConfigurationRecorder& WithRecordingMode(RecordingMode&& value) { SetRecordingMode(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_roleARN;
146 bool m_roleARNHasBeenSet = false;
147
148 RecordingGroup m_recordingGroup;
149 bool m_recordingGroupHasBeenSet = false;
150
151 RecordingMode m_recordingMode;
152 bool m_recordingModeHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace ConfigService
157} // namespace Aws
ConfigurationRecorder & WithRecordingMode(RecordingMode &&value)
ConfigurationRecorder & WithRoleARN(Aws::String &&value)
ConfigurationRecorder & WithName(Aws::String &&value)
ConfigurationRecorder & WithName(const Aws::String &value)
ConfigurationRecorder & WithName(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationRecorder & WithRoleARN(const Aws::String &value)
ConfigurationRecorder & WithRoleARN(const char *value)
AWS_CONFIGSERVICE_API ConfigurationRecorder & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API ConfigurationRecorder(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRecorder & WithRecordingGroup(const RecordingGroup &value)
ConfigurationRecorder & WithRecordingMode(const RecordingMode &value)
ConfigurationRecorder & WithRecordingGroup(RecordingGroup &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue