AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ConfigurationPolicySummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
31 public:
32 AWS_SECURITYHUB_API ConfigurationPolicySummary() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template <typename NameT = Aws::String>
81 void SetName(NameT&& value) {
82 m_nameHasBeenSet = true;
83 m_name = std::forward<NameT>(value);
84 }
85 template <typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDescription() const { return m_description; }
97 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
98 template <typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) {
100 m_descriptionHasBeenSet = true;
101 m_description = std::forward<DescriptionT>(value);
102 }
103 template <typename DescriptionT = Aws::String>
105 SetDescription(std::forward<DescriptionT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 template <typename UpdatedAtT = Aws::Utils::DateTime>
118 void SetUpdatedAt(UpdatedAtT&& value) {
119 m_updatedAtHasBeenSet = true;
120 m_updatedAt = std::forward<UpdatedAtT>(value);
121 }
122 template <typename UpdatedAtT = Aws::Utils::DateTime>
124 SetUpdatedAt(std::forward<UpdatedAtT>(value));
125 return *this;
126 }
128
130
134 inline bool GetServiceEnabled() const { return m_serviceEnabled; }
135 inline bool ServiceEnabledHasBeenSet() const { return m_serviceEnabledHasBeenSet; }
136 inline void SetServiceEnabled(bool value) {
137 m_serviceEnabledHasBeenSet = true;
138 m_serviceEnabled = value;
139 }
141 SetServiceEnabled(value);
142 return *this;
143 }
145 private:
146 Aws::String m_arn;
147
148 Aws::String m_id;
149
150 Aws::String m_name;
151
152 Aws::String m_description;
153
154 Aws::Utils::DateTime m_updatedAt{};
155
156 bool m_serviceEnabled{false};
157 bool m_arnHasBeenSet = false;
158 bool m_idHasBeenSet = false;
159 bool m_nameHasBeenSet = false;
160 bool m_descriptionHasBeenSet = false;
161 bool m_updatedAtHasBeenSet = false;
162 bool m_serviceEnabledHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace SecurityHub
167} // namespace Aws
AWS_SECURITYHUB_API ConfigurationPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationPolicySummary & WithArn(ArnT &&value)
AWS_SECURITYHUB_API ConfigurationPolicySummary()=default
ConfigurationPolicySummary & WithDescription(DescriptionT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ConfigurationPolicySummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationPolicySummary & WithName(NameT &&value)
ConfigurationPolicySummary & WithServiceEnabled(bool value)
ConfigurationPolicySummary & WithUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue