7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/model/OperatingSystem.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm/model/PatchFilterGroup.h>
12#include <aws/ssm/model/PatchRuleGroup.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/PatchComplianceLevel.h>
15#include <aws/ssm/model/PatchAction.h>
16#include <aws/ssm/model/PatchComplianceStatus.h>
17#include <aws/ssm/model/PatchSource.h>
18#include <aws/ssm/model/Tag.h>
20#include <aws/core/utils/UUID.h>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 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>
92 template<
typename ApprovalRulesT = PatchRuleGroup>
93 void SetApprovalRules(ApprovalRulesT&& value) { m_approvalRulesHasBeenSet =
true; m_approvalRules = std::forward<ApprovalRulesT>(value); }
94 template<
typename ApprovalRulesT = PatchRuleGroup>
109 template<
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
110 void SetApprovedPatches(ApprovedPatchesT&& value) { m_approvedPatchesHasBeenSet =
true; m_approvedPatches = std::forward<ApprovedPatchesT>(value); }
111 template<
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
113 template<
typename ApprovedPatchesT = Aws::String>
152 template<
typename RejectedPatchesT = Aws::Vector<Aws::String>>
153 void SetRejectedPatches(RejectedPatchesT&& value) { m_rejectedPatchesHasBeenSet =
true; m_rejectedPatches = std::forward<RejectedPatchesT>(value); }
154 template<
typename RejectedPatchesT = Aws::Vector<Aws::String>>
156 template<
typename RejectedPatchesT = Aws::String>
191 template<
typename DescriptionT = Aws::String>
192 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
193 template<
typename DescriptionT = Aws::String>
205 template<
typename SourcesT = Aws::Vector<PatchSource>>
206 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet =
true; m_sources = std::forward<SourcesT>(value); }
207 template<
typename SourcesT = Aws::Vector<PatchSource>>
209 template<
typename SourcesT = PatchSource>
237 template<
typename ClientTokenT = Aws::String>
238 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
239 template<
typename ClientTokenT = Aws::String>
256 template<
typename TagsT = Aws::Vector<Tag>>
257 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
258 template<
typename TagsT = Aws::Vector<Tag>>
260 template<
typename TagsT = Tag>
266 bool m_operatingSystemHasBeenSet =
false;
269 bool m_nameHasBeenSet =
false;
271 PatchFilterGroup m_globalFilters;
272 bool m_globalFiltersHasBeenSet =
false;
274 PatchRuleGroup m_approvalRules;
275 bool m_approvalRulesHasBeenSet =
false;
278 bool m_approvedPatchesHasBeenSet =
false;
281 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
283 bool m_approvedPatchesEnableNonSecurity{
false};
284 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
287 bool m_rejectedPatchesHasBeenSet =
false;
290 bool m_rejectedPatchesActionHasBeenSet =
false;
293 bool m_descriptionHasBeenSet =
false;
296 bool m_sourcesHasBeenSet =
false;
299 bool m_availableSecurityUpdatesComplianceStatusHasBeenSet =
false;
302 bool m_clientTokenHasBeenSet =
false;
305 bool m_tagsHasBeenSet =
false;
void SetApprovedPatchesComplianceLevel(PatchComplianceLevel value)
const Aws::String & GetClientToken() const
void SetDescription(DescriptionT &&value)
const PatchRuleGroup & GetApprovalRules() const
void SetGlobalFilters(GlobalFiltersT &&value)
CreatePatchBaselineRequest & WithSources(SourcesT &&value)
bool ApprovedPatchesComplianceLevelHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreatePatchBaselineRequest & WithGlobalFilters(GlobalFiltersT &&value)
CreatePatchBaselineRequest & WithName(NameT &&value)
bool AvailableSecurityUpdatesComplianceStatusHasBeenSet() const
CreatePatchBaselineRequest & WithTags(TagsT &&value)
bool GetApprovedPatchesEnableNonSecurity() const
void SetClientToken(ClientTokenT &&value)
bool RejectedPatchesActionHasBeenSet() const
void SetApprovedPatches(ApprovedPatchesT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRejectedPatches(RejectedPatchesT &&value)
CreatePatchBaselineRequest & AddApprovedPatches(ApprovedPatchesT &&value)
PatchComplianceStatus GetAvailableSecurityUpdatesComplianceStatus() const
AWS_SSM_API Aws::String SerializePayload() const override
CreatePatchBaselineRequest & WithOperatingSystem(OperatingSystem value)
CreatePatchBaselineRequest & WithApprovedPatchesEnableNonSecurity(bool value)
bool NameHasBeenSet() const
void SetSources(SourcesT &&value)
PatchComplianceLevel GetApprovedPatchesComplianceLevel() const
void SetRejectedPatchesAction(PatchAction value)
const PatchFilterGroup & GetGlobalFilters() const
const Aws::String & GetDescription() const
CreatePatchBaselineRequest & AddSources(SourcesT &&value)
void SetApprovalRules(ApprovalRulesT &&value)
AWS_SSM_API CreatePatchBaselineRequest()=default
CreatePatchBaselineRequest & WithApprovalRules(ApprovalRulesT &&value)
bool TagsHasBeenSet() const
bool ApprovedPatchesEnableNonSecurityHasBeenSet() const
const Aws::Vector< Aws::String > & GetRejectedPatches() const
bool RejectedPatchesHasBeenSet() const
CreatePatchBaselineRequest & WithApprovedPatches(ApprovedPatchesT &&value)
const Aws::Vector< PatchSource > & GetSources() const
CreatePatchBaselineRequest & WithDescription(DescriptionT &&value)
CreatePatchBaselineRequest & WithAvailableSecurityUpdatesComplianceStatus(PatchComplianceStatus value)
void SetApprovedPatchesEnableNonSecurity(bool value)
CreatePatchBaselineRequest & WithClientToken(ClientTokenT &&value)
CreatePatchBaselineRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool OperatingSystemHasBeenSet() const
bool ApprovedPatchesHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Aws::String > & GetApprovedPatches() const
void SetAvailableSecurityUpdatesComplianceStatus(PatchComplianceStatus value)
CreatePatchBaselineRequest & AddRejectedPatches(RejectedPatchesT &&value)
CreatePatchBaselineRequest & WithApprovedPatchesComplianceLevel(PatchComplianceLevel value)
bool DescriptionHasBeenSet() const
bool ApprovalRulesHasBeenSet() const
void SetOperatingSystem(OperatingSystem value)
PatchAction GetRejectedPatchesAction() const
void SetTags(TagsT &&value)
CreatePatchBaselineRequest & WithRejectedPatchesAction(PatchAction value)
bool GlobalFiltersHasBeenSet() const
OperatingSystem GetOperatingSystem() const
bool SourcesHasBeenSet() const
void SetName(NameT &&value)
CreatePatchBaselineRequest & WithRejectedPatches(RejectedPatchesT &&value)
const Aws::String & GetName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector