AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationRecorderSummary.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/RecordingScope.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 ConfigService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CONFIGSERVICE_API ConfigurationRecorderSummary() = default;
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ConfigurationRecorderSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 ConfigurationRecorderSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetServicePrincipal() const { return m_servicePrincipal; }
73 inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; }
74 template<typename ServicePrincipalT = Aws::String>
75 void SetServicePrincipal(ServicePrincipalT&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::forward<ServicePrincipalT>(value); }
76 template<typename ServicePrincipalT = Aws::String>
77 ConfigurationRecorderSummary& WithServicePrincipal(ServicePrincipalT&& value) { SetServicePrincipal(std::forward<ServicePrincipalT>(value)); return *this;}
79
81
88 inline RecordingScope GetRecordingScope() const { return m_recordingScope; }
89 inline bool RecordingScopeHasBeenSet() const { return m_recordingScopeHasBeenSet; }
90 inline void SetRecordingScope(RecordingScope value) { m_recordingScopeHasBeenSet = true; m_recordingScope = value; }
93 private:
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_servicePrincipal;
102 bool m_servicePrincipalHasBeenSet = false;
103
104 RecordingScope m_recordingScope{RecordingScope::NOT_SET};
105 bool m_recordingScopeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConfigService
110} // namespace Aws
AWS_CONFIGSERVICE_API ConfigurationRecorderSummary()=default
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API ConfigurationRecorderSummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRecorderSummary & WithServicePrincipal(ServicePrincipalT &&value)
ConfigurationRecorderSummary & WithRecordingScope(RecordingScope value)
AWS_CONFIGSERVICE_API ConfigurationRecorderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue