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/PatchSource.h>
17#include <aws/ssm/model/Tag.h>
19#include <aws/core/utils/UUID.h>
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
198 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
228 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
257 bool m_operatingSystemHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
263 bool m_globalFiltersHasBeenSet =
false;
266 bool m_approvalRulesHasBeenSet =
false;
269 bool m_approvedPatchesHasBeenSet =
false;
272 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
274 bool m_approvedPatchesEnableNonSecurity;
275 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
278 bool m_rejectedPatchesHasBeenSet =
false;
281 bool m_rejectedPatchesActionHasBeenSet =
false;
284 bool m_descriptionHasBeenSet =
false;
287 bool m_sourcesHasBeenSet =
false;
290 bool m_clientTokenHasBeenSet =
false;
293 bool m_tagsHasBeenSet =
false;
CreatePatchBaselineRequest & WithApprovedPatchesComplianceLevel(const PatchComplianceLevel &value)
CreatePatchBaselineRequest & AddRejectedPatches(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetClientToken(Aws::String &&value)
CreatePatchBaselineRequest & WithClientToken(const char *value)
void SetSources(Aws::Vector< PatchSource > &&value)
const PatchRuleGroup & GetApprovalRules() const
void SetDescription(Aws::String &&value)
CreatePatchBaselineRequest & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool ApprovedPatchesComplianceLevelHasBeenSet() const
CreatePatchBaselineRequest & AddApprovedPatches(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreatePatchBaselineRequest & AddApprovedPatches(const char *value)
void SetApprovedPatchesComplianceLevel(PatchComplianceLevel &&value)
CreatePatchBaselineRequest & AddSources(PatchSource &&value)
CreatePatchBaselineRequest & AddApprovedPatches(const Aws::String &value)
void SetRejectedPatches(const Aws::Vector< Aws::String > &value)
void SetGlobalFilters(const PatchFilterGroup &value)
void SetName(const char *value)
CreatePatchBaselineRequest & AddRejectedPatches(const char *value)
CreatePatchBaselineRequest & AddSources(const PatchSource &value)
bool GetApprovedPatchesEnableNonSecurity() const
CreatePatchBaselineRequest & AddTags(const Tag &value)
CreatePatchBaselineRequest & WithOperatingSystem(OperatingSystem &&value)
CreatePatchBaselineRequest & WithGlobalFilters(const PatchFilterGroup &value)
CreatePatchBaselineRequest & WithRejectedPatches(const Aws::Vector< Aws::String > &value)
CreatePatchBaselineRequest & WithApprovedPatchesComplianceLevel(PatchComplianceLevel &&value)
bool RejectedPatchesActionHasBeenSet() const
const PatchComplianceLevel & GetApprovedPatchesComplianceLevel() const
void SetClientToken(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePatchBaselineRequest & WithSources(const Aws::Vector< PatchSource > &value)
const PatchAction & GetRejectedPatchesAction() const
CreatePatchBaselineRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetApprovedPatchesComplianceLevel(const PatchComplianceLevel &value)
CreatePatchBaselineRequest & WithApprovedPatchesEnableNonSecurity(bool value)
bool NameHasBeenSet() const
void SetDescription(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetName(Aws::String &&value)
void SetRejectedPatchesAction(PatchAction &&value)
void SetOperatingSystem(OperatingSystem &&value)
const PatchFilterGroup & GetGlobalFilters() const
const Aws::String & GetDescription() const
CreatePatchBaselineRequest & WithApprovedPatches(Aws::Vector< Aws::String > &&value)
CreatePatchBaselineRequest & WithApprovalRules(PatchRuleGroup &&value)
void SetOperatingSystem(const OperatingSystem &value)
CreatePatchBaselineRequest & AddRejectedPatches(Aws::String &&value)
void SetApprovalRules(const PatchRuleGroup &value)
CreatePatchBaselineRequest & WithOperatingSystem(const OperatingSystem &value)
CreatePatchBaselineRequest & WithName(const char *value)
CreatePatchBaselineRequest & WithTags(Aws::Vector< Tag > &&value)
void SetGlobalFilters(PatchFilterGroup &&value)
bool TagsHasBeenSet() const
bool ApprovedPatchesEnableNonSecurityHasBeenSet() const
const Aws::Vector< Aws::String > & GetRejectedPatches() const
bool RejectedPatchesHasBeenSet() const
CreatePatchBaselineRequest & WithSources(Aws::Vector< PatchSource > &&value)
void SetName(const Aws::String &value)
const Aws::Vector< PatchSource > & GetSources() const
AWS_SSM_API CreatePatchBaselineRequest()
void SetApprovalRules(PatchRuleGroup &&value)
void SetApprovedPatchesEnableNonSecurity(bool value)
CreatePatchBaselineRequest & WithGlobalFilters(PatchFilterGroup &&value)
CreatePatchBaselineRequest & WithDescription(const Aws::String &value)
CreatePatchBaselineRequest & WithApprovalRules(const PatchRuleGroup &value)
virtual const char * GetServiceRequestName() const override
CreatePatchBaselineRequest & WithApprovedPatches(const Aws::Vector< Aws::String > &value)
bool OperatingSystemHasBeenSet() const
CreatePatchBaselineRequest & WithClientToken(const Aws::String &value)
CreatePatchBaselineRequest & WithRejectedPatches(Aws::Vector< Aws::String > &&value)
CreatePatchBaselineRequest & WithName(Aws::String &&value)
CreatePatchBaselineRequest & WithName(const Aws::String &value)
bool ApprovedPatchesHasBeenSet() const
CreatePatchBaselineRequest & WithDescription(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreatePatchBaselineRequest & WithClientToken(Aws::String &&value)
void SetRejectedPatches(Aws::Vector< Aws::String > &&value)
const OperatingSystem & GetOperatingSystem() const
void SetRejectedPatchesAction(const PatchAction &value)
const Aws::Vector< Aws::String > & GetApprovedPatches() const
CreatePatchBaselineRequest & WithDescription(Aws::String &&value)
void SetClientToken(const Aws::String &value)
void SetApprovedPatches(const Aws::Vector< Aws::String > &value)
void SetSources(const Aws::Vector< PatchSource > &value)
bool DescriptionHasBeenSet() const
bool ApprovalRulesHasBeenSet() const
CreatePatchBaselineRequest & WithRejectedPatchesAction(const PatchAction &value)
void SetApprovedPatches(Aws::Vector< Aws::String > &&value)
CreatePatchBaselineRequest & WithRejectedPatchesAction(PatchAction &&value)
void SetDescription(const Aws::String &value)
bool GlobalFiltersHasBeenSet() const
bool SourcesHasBeenSet() const
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