AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateConfigurationPolicyResult.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#include <aws/securityhub/model/Policy.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub {
24namespace Model {
26 public:
27 AWS_SECURITYHUB_API CreateConfigurationPolicyResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
105 template <typename UpdatedAtT = Aws::Utils::DateTime>
106 void SetUpdatedAt(UpdatedAtT&& value) {
107 m_updatedAtHasBeenSet = true;
108 m_updatedAt = std::forward<UpdatedAtT>(value);
109 }
110 template <typename UpdatedAtT = Aws::Utils::DateTime>
112 SetUpdatedAt(std::forward<UpdatedAtT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) {
125 m_createdAtHasBeenSet = true;
126 m_createdAt = std::forward<CreatedAtT>(value);
127 }
128 template <typename CreatedAtT = Aws::Utils::DateTime>
130 SetCreatedAt(std::forward<CreatedAtT>(value));
131 return *this;
132 }
134
136
147 inline const Policy& GetConfigurationPolicy() const { return m_configurationPolicy; }
148 template <typename ConfigurationPolicyT = Policy>
149 void SetConfigurationPolicy(ConfigurationPolicyT&& value) {
150 m_configurationPolicyHasBeenSet = true;
151 m_configurationPolicy = std::forward<ConfigurationPolicyT>(value);
152 }
153 template <typename ConfigurationPolicyT = Policy>
155 SetConfigurationPolicy(std::forward<ConfigurationPolicyT>(value));
156 return *this;
157 }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template <typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) {
165 m_requestIdHasBeenSet = true;
166 m_requestId = std::forward<RequestIdT>(value);
167 }
168 template <typename RequestIdT = Aws::String>
170 SetRequestId(std::forward<RequestIdT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_arn;
176
177 Aws::String m_id;
178
179 Aws::String m_name;
180
181 Aws::String m_description;
182
183 Aws::Utils::DateTime m_updatedAt{};
184
185 Aws::Utils::DateTime m_createdAt{};
186
187 Policy m_configurationPolicy;
188
189 Aws::String m_requestId;
190 bool m_arnHasBeenSet = false;
191 bool m_idHasBeenSet = false;
192 bool m_nameHasBeenSet = false;
193 bool m_descriptionHasBeenSet = false;
194 bool m_updatedAtHasBeenSet = false;
195 bool m_createdAtHasBeenSet = false;
196 bool m_configurationPolicyHasBeenSet = false;
197 bool m_requestIdHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace SecurityHub
202} // namespace Aws
AWS_SECURITYHUB_API CreateConfigurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationPolicyResult & WithConfigurationPolicy(ConfigurationPolicyT &&value)
CreateConfigurationPolicyResult & WithRequestId(RequestIdT &&value)
CreateConfigurationPolicyResult & WithDescription(DescriptionT &&value)
CreateConfigurationPolicyResult & WithName(NameT &&value)
AWS_SECURITYHUB_API CreateConfigurationPolicyResult()=default
AWS_SECURITYHUB_API CreateConfigurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
CreateConfigurationPolicyResult & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue