7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/OperatingSystem.h>
10#include <aws/ssm/model/PatchFilterGroup.h>
11#include <aws/ssm/model/PatchRuleGroup.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ssm/model/PatchComplianceLevel.h>
14#include <aws/ssm/model/PatchAction.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/ssm/model/PatchComplianceStatus.h>
17#include <aws/ssm/model/PatchSource.h>
22template<
typename RESULT_TYPE>
23class AmazonWebServiceResult;
49 template<
typename BaselineIdT = Aws::String>
50 void SetBaselineId(BaselineIdT&& value) { m_baselineIdHasBeenSet =
true; m_baselineId = std::forward<BaselineIdT>(value); }
51 template<
typename BaselineIdT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
80 template<
typename GlobalFiltersT = PatchFilterGroup>
81 void SetGlobalFilters(GlobalFiltersT&& value) { m_globalFiltersHasBeenSet =
true; m_globalFilters = std::forward<GlobalFiltersT>(value); }
82 template<
typename GlobalFiltersT = PatchFilterGroup>
91 template<
typename ApprovalRulesT = PatchRuleGroup>
92 void SetApprovalRules(ApprovalRulesT&& value) { m_approvalRulesHasBeenSet =
true; m_approvalRules = std::forward<ApprovalRulesT>(value); }
93 template<
typename ApprovalRulesT = PatchRuleGroup>
102 template<
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
103 void SetApprovedPatches(ApprovedPatchesT&& value) { m_approvedPatchesHasBeenSet =
true; m_approvedPatches = std::forward<ApprovedPatchesT>(value); }
104 template<
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
106 template<
typename ApprovedPatchesT = Aws::String>
136 template<
typename RejectedPatchesT = Aws::Vector<Aws::String>>
137 void SetRejectedPatches(RejectedPatchesT&& value) { m_rejectedPatchesHasBeenSet =
true; m_rejectedPatches = std::forward<RejectedPatchesT>(value); }
138 template<
typename RejectedPatchesT = Aws::Vector<Aws::String>>
140 template<
typename RejectedPatchesT = Aws::String>
161 template<
typename PatchGroupsT = Aws::Vector<Aws::String>>
162 void SetPatchGroups(PatchGroupsT&& value) { m_patchGroupsHasBeenSet =
true; m_patchGroups = std::forward<PatchGroupsT>(value); }
163 template<
typename PatchGroupsT = Aws::Vector<Aws::String>>
165 template<
typename PatchGroupsT = Aws::String>
174 template<
typename CreatedDateT = Aws::Utils::DateTime>
175 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
176 template<
typename CreatedDateT = Aws::Utils::DateTime>
185 template<
typename ModifiedDateT = Aws::Utils::DateTime>
186 void SetModifiedDate(ModifiedDateT&& value) { m_modifiedDateHasBeenSet =
true; m_modifiedDate = std::forward<ModifiedDateT>(value); }
187 template<
typename ModifiedDateT = Aws::Utils::DateTime>
196 template<
typename DescriptionT = Aws::String>
197 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
198 template<
typename DescriptionT = Aws::String>
209 template<
typename SourcesT = Aws::Vector<PatchSource>>
210 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet =
true; m_sources = std::forward<SourcesT>(value); }
211 template<
typename SourcesT = Aws::Vector<PatchSource>>
213 template<
typename SourcesT = PatchSource>
232 template<
typename RequestIdT = Aws::String>
233 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
234 template<
typename RequestIdT = Aws::String>
240 bool m_baselineIdHasBeenSet =
false;
243 bool m_nameHasBeenSet =
false;
246 bool m_operatingSystemHasBeenSet =
false;
248 PatchFilterGroup m_globalFilters;
249 bool m_globalFiltersHasBeenSet =
false;
251 PatchRuleGroup m_approvalRules;
252 bool m_approvalRulesHasBeenSet =
false;
255 bool m_approvedPatchesHasBeenSet =
false;
258 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
260 bool m_approvedPatchesEnableNonSecurity{
false};
261 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
264 bool m_rejectedPatchesHasBeenSet =
false;
267 bool m_rejectedPatchesActionHasBeenSet =
false;
270 bool m_patchGroupsHasBeenSet =
false;
273 bool m_createdDateHasBeenSet =
false;
276 bool m_modifiedDateHasBeenSet =
false;
279 bool m_descriptionHasBeenSet =
false;
282 bool m_sourcesHasBeenSet =
false;
285 bool m_availableSecurityUpdatesComplianceStatusHasBeenSet =
false;
288 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