7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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/ssm/model/PatchSource.h>
51 inline void SetBaselineId(
const char* value) { m_baselineIdHasBeenSet =
true; m_baselineId.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
194 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
224 inline void SetReplace(
bool value) { m_replaceHasBeenSet =
true; m_replace = value; }
230 bool m_baselineIdHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
236 bool m_globalFiltersHasBeenSet =
false;
239 bool m_approvalRulesHasBeenSet =
false;
242 bool m_approvedPatchesHasBeenSet =
false;
245 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
247 bool m_approvedPatchesEnableNonSecurity;
248 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
251 bool m_rejectedPatchesHasBeenSet =
false;
254 bool m_rejectedPatchesActionHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_sourcesHasBeenSet =
false;
263 bool m_replaceHasBeenSet =
false;
UpdatePatchBaselineRequest & WithGlobalFilters(PatchFilterGroup &&value)
void SetRejectedPatchesAction(const PatchAction &value)
UpdatePatchBaselineRequest & WithGlobalFilters(const PatchFilterGroup &value)
UpdatePatchBaselineRequest & WithApprovalRules(PatchRuleGroup &&value)
UpdatePatchBaselineRequest & AddApprovedPatches(Aws::String &&value)
UpdatePatchBaselineRequest & WithBaselineId(const Aws::String &value)
const PatchFilterGroup & GetGlobalFilters() const
void SetApprovedPatchesEnableNonSecurity(bool value)
void SetDescription(Aws::String &&value)
void SetBaselineId(const Aws::String &value)
void SetName(Aws::String &&value)
UpdatePatchBaselineRequest & AddApprovedPatches(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdatePatchBaselineRequest & WithApprovalRules(const PatchRuleGroup &value)
const Aws::Vector< Aws::String > & GetApprovedPatches() const
UpdatePatchBaselineRequest & WithBaselineId(Aws::String &&value)
bool DescriptionHasBeenSet() const
UpdatePatchBaselineRequest & AddApprovedPatches(const char *value)
const Aws::String & GetDescription() const
void SetApprovedPatches(Aws::Vector< Aws::String > &&value)
const PatchAction & GetRejectedPatchesAction() const
UpdatePatchBaselineRequest & WithApprovedPatches(const Aws::Vector< Aws::String > &value)
UpdatePatchBaselineRequest & WithSources(const Aws::Vector< PatchSource > &value)
bool ApprovedPatchesHasBeenSet() const
void SetGlobalFilters(PatchFilterGroup &&value)
const PatchComplianceLevel & GetApprovedPatchesComplianceLevel() const
UpdatePatchBaselineRequest & WithSources(Aws::Vector< PatchSource > &&value)
UpdatePatchBaselineRequest & WithDescription(Aws::String &&value)
bool SourcesHasBeenSet() const
void SetReplace(bool value)
void SetDescription(const char *value)
UpdatePatchBaselineRequest & WithRejectedPatchesAction(const PatchAction &value)
const Aws::Vector< Aws::String > & GetRejectedPatches() const
void SetSources(const Aws::Vector< PatchSource > &value)
bool ApprovedPatchesComplianceLevelHasBeenSet() const
const Aws::String & GetName() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdatePatchBaselineRequest & WithName(Aws::String &&value)
bool NameHasBeenSet() const
bool BaselineIdHasBeenSet() const
bool RejectedPatchesHasBeenSet() const
void SetApprovedPatchesComplianceLevel(PatchComplianceLevel &&value)
bool ApprovedPatchesEnableNonSecurityHasBeenSet() const
void SetApprovedPatches(const Aws::Vector< Aws::String > &value)
void SetRejectedPatches(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
bool GlobalFiltersHasBeenSet() const
void SetApprovalRules(PatchRuleGroup &&value)
UpdatePatchBaselineRequest & AddRejectedPatches(const char *value)
void SetApprovalRules(const PatchRuleGroup &value)
void SetRejectedPatches(Aws::Vector< Aws::String > &&value)
void SetRejectedPatchesAction(PatchAction &&value)
UpdatePatchBaselineRequest & WithApprovedPatchesComplianceLevel(PatchComplianceLevel &&value)
void SetName(const Aws::String &value)
UpdatePatchBaselineRequest & WithDescription(const char *value)
void SetName(const char *value)
const PatchRuleGroup & GetApprovalRules() const
UpdatePatchBaselineRequest & WithReplace(bool value)
UpdatePatchBaselineRequest & AddSources(const PatchSource &value)
AWS_SSM_API UpdatePatchBaselineRequest()
const Aws::Vector< PatchSource > & GetSources() const
bool RejectedPatchesActionHasBeenSet() const
UpdatePatchBaselineRequest & WithApprovedPatches(Aws::Vector< Aws::String > &&value)
UpdatePatchBaselineRequest & AddRejectedPatches(Aws::String &&value)
void SetApprovedPatchesComplianceLevel(const PatchComplianceLevel &value)
UpdatePatchBaselineRequest & WithApprovedPatchesComplianceLevel(const PatchComplianceLevel &value)
virtual const char * GetServiceRequestName() const override
UpdatePatchBaselineRequest & WithApprovedPatchesEnableNonSecurity(bool value)
UpdatePatchBaselineRequest & AddSources(PatchSource &&value)
UpdatePatchBaselineRequest & WithBaselineId(const char *value)
void SetBaselineId(const char *value)
void SetSources(Aws::Vector< PatchSource > &&value)
const Aws::String & GetBaselineId() const
bool ReplaceHasBeenSet() const
UpdatePatchBaselineRequest & AddRejectedPatches(const Aws::String &value)
bool GetApprovedPatchesEnableNonSecurity() const
void SetGlobalFilters(const PatchFilterGroup &value)
UpdatePatchBaselineRequest & WithRejectedPatches(const Aws::Vector< Aws::String > &value)
UpdatePatchBaselineRequest & WithDescription(const Aws::String &value)
void SetBaselineId(Aws::String &&value)
UpdatePatchBaselineRequest & WithRejectedPatchesAction(PatchAction &&value)
UpdatePatchBaselineRequest & WithRejectedPatches(Aws::Vector< Aws::String > &&value)
bool ApprovalRulesHasBeenSet() const
UpdatePatchBaselineRequest & WithName(const Aws::String &value)
UpdatePatchBaselineRequest & WithName(const char *value)
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