7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/OperatingSystem.h>
13#include <aws/ssm/model/PatchAction.h>
14#include <aws/ssm/model/PatchComplianceLevel.h>
15#include <aws/ssm/model/PatchComplianceStatus.h>
16#include <aws/ssm/model/PatchFilterGroup.h>
17#include <aws/ssm/model/PatchRuleGroup.h>
18#include <aws/ssm/model/PatchSource.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
44 template <
typename BaselineIdT = Aws::String>
46 m_baselineIdHasBeenSet =
true;
47 m_baselineId = std::forward<BaselineIdT>(value);
49 template <
typename BaselineIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 m_operatingSystemHasBeenSet =
true;
80 m_operatingSystem = value;
93 template <
typename GlobalFiltersT = PatchFilterGroup>
95 m_globalFiltersHasBeenSet =
true;
96 m_globalFilters = std::forward<GlobalFiltersT>(value);
98 template <
typename GlobalFiltersT = PatchFilterGroup>
110 template <
typename ApprovalRulesT = PatchRuleGroup>
112 m_approvalRulesHasBeenSet =
true;
113 m_approvalRules = std::forward<ApprovalRulesT>(value);
115 template <
typename ApprovalRulesT = PatchRuleGroup>
127 template <
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
129 m_approvedPatchesHasBeenSet =
true;
130 m_approvedPatches = std::forward<ApprovedPatchesT>(value);
132 template <
typename ApprovedPatchesT = Aws::Vector<Aws::String>>
137 template <
typename ApprovedPatchesT = Aws::String>
139 m_approvedPatchesHasBeenSet =
true;
140 m_approvedPatches.emplace_back(std::forward<ApprovedPatchesT>(value));
152 m_approvedPatchesComplianceLevelHasBeenSet =
true;
153 m_approvedPatchesComplianceLevel = value;
169 m_approvedPatchesEnableNonSecurityHasBeenSet =
true;
170 m_approvedPatchesEnableNonSecurity = value;
183 template <
typename RejectedPatchesT = Aws::Vector<Aws::String>>
185 m_rejectedPatchesHasBeenSet =
true;
186 m_rejectedPatches = std::forward<RejectedPatchesT>(value);
188 template <
typename RejectedPatchesT = Aws::Vector<Aws::String>>
193 template <
typename RejectedPatchesT = Aws::String>
195 m_rejectedPatchesHasBeenSet =
true;
196 m_rejectedPatches.emplace_back(std::forward<RejectedPatchesT>(value));
210 m_rejectedPatchesActionHasBeenSet =
true;
211 m_rejectedPatchesAction = value;
224 template <
typename PatchGroupsT = Aws::Vector<Aws::String>>
226 m_patchGroupsHasBeenSet =
true;
227 m_patchGroups = std::forward<PatchGroupsT>(value);
229 template <
typename PatchGroupsT = Aws::Vector<Aws::String>>
234 template <
typename PatchGroupsT = Aws::String>
236 m_patchGroupsHasBeenSet =
true;
237 m_patchGroups.emplace_back(std::forward<PatchGroupsT>(value));
247 template <
typename CreatedDateT = Aws::Utils::DateTime>
249 m_createdDateHasBeenSet =
true;
250 m_createdDate = std::forward<CreatedDateT>(value);
252 template <
typename CreatedDateT = Aws::Utils::DateTime>
264 template <
typename ModifiedDateT = Aws::Utils::DateTime>
266 m_modifiedDateHasBeenSet =
true;
267 m_modifiedDate = std::forward<ModifiedDateT>(value);
269 template <
typename ModifiedDateT = Aws::Utils::DateTime>
281 template <
typename DescriptionT = Aws::String>
283 m_descriptionHasBeenSet =
true;
284 m_description = std::forward<DescriptionT>(value);
286 template <
typename DescriptionT = Aws::String>
300 template <
typename SourcesT = Aws::Vector<PatchSource>>
302 m_sourcesHasBeenSet =
true;
303 m_sources = std::forward<SourcesT>(value);
305 template <
typename SourcesT = Aws::Vector<PatchSource>>
310 template <
typename SourcesT = PatchSource>
312 m_sourcesHasBeenSet =
true;
313 m_sources.emplace_back(std::forward<SourcesT>(value));
327 m_availableSecurityUpdatesComplianceStatusHasBeenSet =
true;
328 m_availableSecurityUpdatesComplianceStatus = value;
339 template <
typename RequestIdT = Aws::String>
341 m_requestIdHasBeenSet =
true;
342 m_requestId = std::forward<RequestIdT>(value);
344 template <
typename RequestIdT = Aws::String>
359 PatchFilterGroup m_globalFilters;
361 PatchRuleGroup m_approvalRules;
367 bool m_approvedPatchesEnableNonSecurity{
false};
387 bool m_baselineIdHasBeenSet =
false;
388 bool m_nameHasBeenSet =
false;
389 bool m_operatingSystemHasBeenSet =
false;
390 bool m_globalFiltersHasBeenSet =
false;
391 bool m_approvalRulesHasBeenSet =
false;
392 bool m_approvedPatchesHasBeenSet =
false;
393 bool m_approvedPatchesComplianceLevelHasBeenSet =
false;
394 bool m_approvedPatchesEnableNonSecurityHasBeenSet =
false;
395 bool m_rejectedPatchesHasBeenSet =
false;
396 bool m_rejectedPatchesActionHasBeenSet =
false;
397 bool m_patchGroupsHasBeenSet =
false;
398 bool m_createdDateHasBeenSet =
false;
399 bool m_modifiedDateHasBeenSet =
false;
400 bool m_descriptionHasBeenSet =
false;
401 bool m_sourcesHasBeenSet =
false;
402 bool m_availableSecurityUpdatesComplianceStatusHasBeenSet =
false;
403 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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