7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/OperatingSystem.h>
12#include <aws/ssm/model/PatchAction.h>
13#include <aws/ssm/model/PatchComplianceLevel.h>
14#include <aws/ssm/model/PatchComplianceStatus.h>
15#include <aws/ssm/model/PatchFilterGroup.h>
16#include <aws/ssm/model/PatchRuleGroup.h>
17#include <aws/ssm/model/PatchSource.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename BaselineIdT = Aws::String>
45 m_baselineIdHasBeenSet =
true;
46 m_baselineId = std::forward<BaselineIdT>(value);
48 template <
typename BaselineIdT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 m_operatingSystemHasBeenSet =
true;
79 m_operatingSystem = value;
92 template <
typename GlobalFiltersT = PatchFilterGroup>
94 m_globalFiltersHasBeenSet =
true;
95 m_globalFilters = std::forward<GlobalFiltersT>(value);
97 template <
typename GlobalFiltersT = PatchFilterGroup>
109 template <
typename ApprovalRulesT = PatchRuleGroup>
111 m_approvalRulesHasBeenSet =
true;
112 m_approvalRules = std::forward<ApprovalRulesT>(value);
114 template <
typename ApprovalRulesT = PatchRuleGroup>
126 template <
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
128 m_approvedPatchesHasBeenSet =
true;
129 m_approvedPatches = std::forward<ApprovedPatchesT>(value);
131 template <
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
136 template <
typename ApprovedPatchesT = Aws::String>
138 m_approvedPatchesHasBeenSet =
true;
139 m_approvedPatches.emplace_back(std::forward<ApprovedPatchesT>(value));
151 m_approvedPatchesComplianceLevelHasBeenSet =
true;
152 m_approvedPatchesComplianceLevel = value;
168 m_approvedPatchesEnableNonSecurityHasBeenSet =
true;
169 m_approvedPatchesEnableNonSecurity = value;
182 template <
typename RejectedPatchesT = Aws::Vector<Aws::String>>
184 m_rejectedPatchesHasBeenSet =
true;
185 m_rejectedPatches = std::forward<RejectedPatchesT>(value);
187 template <
typename RejectedPatchesT = Aws::Vector<Aws::String>>
192 template <
typename RejectedPatchesT = Aws::String>
194 m_rejectedPatchesHasBeenSet =
true;
195 m_rejectedPatches.emplace_back(std::forward<RejectedPatchesT>(value));
209 m_rejectedPatchesActionHasBeenSet =
true;
210 m_rejectedPatchesAction = value;
223 template <
typename PatchGroupsT = Aws::Vector<Aws::String>>
225 m_patchGroupsHasBeenSet =
true;
226 m_patchGroups = std::forward<PatchGroupsT>(value);
228 template <
typename PatchGroupsT = Aws::Vector<Aws::String>>
233 template <
typename PatchGroupsT = Aws::String>
235 m_patchGroupsHasBeenSet =
true;
236 m_patchGroups.emplace_back(std::forward<PatchGroupsT>(value));
246 template <
typename CreatedDateT = Aws::Utils::DateTime>
248 m_createdDateHasBeenSet =
true;
249 m_createdDate = std::forward<CreatedDateT>(value);
251 template <
typename CreatedDateT = Aws::Utils::DateTime>
263 template <
typename ModifiedDateT = Aws::Utils::DateTime>
265 m_modifiedDateHasBeenSet =
true;
266 m_modifiedDate = std::forward<ModifiedDateT>(value);
268 template <
typename ModifiedDateT = Aws::Utils::DateTime>
280 template <
typename DescriptionT = Aws::String>
282 m_descriptionHasBeenSet =
true;
283 m_description = std::forward<DescriptionT>(value);
285 template <
typename DescriptionT = Aws::String>
299 template <
typename SourcesT = Aws::Vector<PatchSource>>
301 m_sourcesHasBeenSet =
true;
302 m_sources = std::forward<SourcesT>(value);
304 template <
typename SourcesT = Aws::Vector<PatchSource>>
309 template <
typename SourcesT = PatchSource>
311 m_sourcesHasBeenSet =
true;
312 m_sources.emplace_back(std::forward<SourcesT>(value));
326 m_availableSecurityUpdatesComplianceStatusHasBeenSet =
true;
327 m_availableSecurityUpdatesComplianceStatus = value;
338 template <
typename RequestIdT = Aws::String>
340 m_requestIdHasBeenSet =
true;
341 m_requestId = std::forward<RequestIdT>(value);
343 template <
typename RequestIdT = Aws::String>
356 PatchFilterGroup m_globalFilters;
358 PatchRuleGroup m_approvalRules;
364 bool m_approvedPatchesEnableNonSecurity{
false};
383 bool m_baselineIdHasBeenSet =
false;
384 bool m_nameHasBeenSet =
false;
385 bool m_operatingSystemHasBeenSet =
false;
386 bool m_globalFiltersHasBeenSet =
false;
387 bool m_approvalRulesHasBeenSet =
false;
388 bool m_approvedPatchesHasBeenSet =
false;
389 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
390 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
391 bool m_rejectedPatchesHasBeenSet =
false;
392 bool m_rejectedPatchesActionHasBeenSet =
false;
393 bool m_patchGroupsHasBeenSet =
false;
394 bool m_createdDateHasBeenSet =
false;
395 bool m_modifiedDateHasBeenSet =
false;
396 bool m_descriptionHasBeenSet =
false;
397 bool m_sourcesHasBeenSet =
false;
398 bool m_availableSecurityUpdatesComplianceStatusHasBeenSet =
false;
399 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetApprovedPatches() const
GetPatchBaselineResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< PatchSource > & GetSources() const
GetPatchBaselineResult & AddRejectedPatches(RejectedPatchesT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
void SetAvailableSecurityUpdatesComplianceStatus(PatchComplianceStatus value)
const PatchRuleGroup & GetApprovalRules() const
GetPatchBaselineResult & AddPatchGroups(PatchGroupsT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetPatchGroups(PatchGroupsT &&value)
GetPatchBaselineResult & WithCreatedDate(CreatedDateT &&value)
GetPatchBaselineResult & WithPatchGroups(PatchGroupsT &&value)
GetPatchBaselineResult & WithApprovedPatchesEnableNonSecurity(bool value)
void SetRejectedPatches(RejectedPatchesT &&value)
GetPatchBaselineResult & WithApprovedPatches(ApprovedPatchesT &&value)
GetPatchBaselineResult & AddApprovedPatches(ApprovedPatchesT &&value)
const Aws::String & GetBaselineId() const
const Aws::Vector< Aws::String > & GetRejectedPatches() const
PatchComplianceLevel GetApprovedPatchesComplianceLevel() const
const Aws::Vector< Aws::String > & GetPatchGroups() const
AWS_SSM_API GetPatchBaselineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPatchBaselineResult & WithRejectedPatches(RejectedPatchesT &&value)
void SetModifiedDate(ModifiedDateT &&value)
GetPatchBaselineResult & AddSources(SourcesT &&value)
PatchComplianceStatus GetAvailableSecurityUpdatesComplianceStatus() const
const Aws::Utils::DateTime & GetModifiedDate() const
void SetApprovedPatchesComplianceLevel(PatchComplianceLevel value)
GetPatchBaselineResult & WithApprovedPatchesComplianceLevel(PatchComplianceLevel value)
GetPatchBaselineResult & WithBaselineId(BaselineIdT &&value)
bool GetApprovedPatchesEnableNonSecurity() const
GetPatchBaselineResult & WithOperatingSystem(OperatingSystem value)
AWS_SSM_API GetPatchBaselineResult()=default
void SetApprovedPatches(ApprovedPatchesT &&value)
void SetBaselineId(BaselineIdT &&value)
void SetApprovedPatchesEnableNonSecurity(bool value)
void SetRequestId(RequestIdT &&value)
GetPatchBaselineResult & WithModifiedDate(ModifiedDateT &&value)
GetPatchBaselineResult & WithRejectedPatchesAction(PatchAction value)
void SetSources(SourcesT &&value)
GetPatchBaselineResult & WithDescription(DescriptionT &&value)
GetPatchBaselineResult & WithAvailableSecurityUpdatesComplianceStatus(PatchComplianceStatus value)
GetPatchBaselineResult & WithGlobalFilters(GlobalFiltersT &&value)
GetPatchBaselineResult & WithApprovalRules(ApprovalRulesT &&value)
void SetCreatedDate(CreatedDateT &&value)
GetPatchBaselineResult & WithName(NameT &&value)
void SetApprovalRules(ApprovalRulesT &&value)
AWS_SSM_API GetPatchBaselineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOperatingSystem(OperatingSystem value)
void SetRejectedPatchesAction(PatchAction value)
PatchAction GetRejectedPatchesAction() const
GetPatchBaselineResult & WithSources(SourcesT &&value)
void SetDescription(DescriptionT &&value)
void SetGlobalFilters(GlobalFiltersT &&value)
const PatchFilterGroup & GetGlobalFilters() const
OperatingSystem GetOperatingSystem() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue