AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetConfigurationPolicyResult.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 GetConfigurationPolicyResult() = 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
146 inline const Policy& GetConfigurationPolicy() const { return m_configurationPolicy; }
147 template <typename ConfigurationPolicyT = Policy>
148 void SetConfigurationPolicy(ConfigurationPolicyT&& value) {
149 m_configurationPolicyHasBeenSet = true;
150 m_configurationPolicy = std::forward<ConfigurationPolicyT>(value);
151 }
152 template <typename ConfigurationPolicyT = Policy>
154 SetConfigurationPolicy(std::forward<ConfigurationPolicyT>(value));
155 return *this;
156 }
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template <typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) {
164 m_requestIdHasBeenSet = true;
165 m_requestId = std::forward<RequestIdT>(value);
166 }
167 template <typename RequestIdT = Aws::String>
169 SetRequestId(std::forward<RequestIdT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_arn;
175
176 Aws::String m_id;
177
178 Aws::String m_name;
179
180 Aws::String m_description;
181
182 Aws::Utils::DateTime m_updatedAt{};
183
184 Aws::Utils::DateTime m_createdAt{};
185
186 Policy m_configurationPolicy;
187
188 Aws::String m_requestId;
189 bool m_arnHasBeenSet = false;
190 bool m_idHasBeenSet = false;
191 bool m_nameHasBeenSet = false;
192 bool m_descriptionHasBeenSet = false;
193 bool m_updatedAtHasBeenSet = false;
194 bool m_createdAtHasBeenSet = false;
195 bool m_configurationPolicyHasBeenSet = false;
196 bool m_requestIdHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace SecurityHub
201} // namespace Aws
AWS_SECURITYHUB_API GetConfigurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyResult & WithDescription(DescriptionT &&value)
GetConfigurationPolicyResult & WithName(NameT &&value)
AWS_SECURITYHUB_API GetConfigurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyResult & WithRequestId(RequestIdT &&value)
GetConfigurationPolicyResult & WithCreatedAt(CreatedAtT &&value)
GetConfigurationPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
GetConfigurationPolicyResult & WithConfigurationPolicy(ConfigurationPolicyT &&value)
AWS_SECURITYHUB_API GetConfigurationPolicyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue