AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PatchStatus.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/PatchDeploymentStatus.h>
9#include <aws/ssm/model/PatchComplianceLevel.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API PatchStatus();
40
41
43
46 inline const PatchDeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
47 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
48 inline void SetDeploymentStatus(const PatchDeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
49 inline void SetDeploymentStatus(PatchDeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
50 inline PatchStatus& WithDeploymentStatus(const PatchDeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
51 inline PatchStatus& WithDeploymentStatus(PatchDeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
53
55
58 inline const PatchComplianceLevel& GetComplianceLevel() const{ return m_complianceLevel; }
59 inline bool ComplianceLevelHasBeenSet() const { return m_complianceLevelHasBeenSet; }
60 inline void SetComplianceLevel(const PatchComplianceLevel& value) { m_complianceLevelHasBeenSet = true; m_complianceLevel = value; }
61 inline void SetComplianceLevel(PatchComplianceLevel&& value) { m_complianceLevelHasBeenSet = true; m_complianceLevel = std::move(value); }
62 inline PatchStatus& WithComplianceLevel(const PatchComplianceLevel& value) { SetComplianceLevel(value); return *this;}
63 inline PatchStatus& WithComplianceLevel(PatchComplianceLevel&& value) { SetComplianceLevel(std::move(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetApprovalDate() const{ return m_approvalDate; }
72 inline bool ApprovalDateHasBeenSet() const { return m_approvalDateHasBeenSet; }
73 inline void SetApprovalDate(const Aws::Utils::DateTime& value) { m_approvalDateHasBeenSet = true; m_approvalDate = value; }
74 inline void SetApprovalDate(Aws::Utils::DateTime&& value) { m_approvalDateHasBeenSet = true; m_approvalDate = std::move(value); }
75 inline PatchStatus& WithApprovalDate(const Aws::Utils::DateTime& value) { SetApprovalDate(value); return *this;}
76 inline PatchStatus& WithApprovalDate(Aws::Utils::DateTime&& value) { SetApprovalDate(std::move(value)); return *this;}
78 private:
79
80 PatchDeploymentStatus m_deploymentStatus;
81 bool m_deploymentStatusHasBeenSet = false;
82
83 PatchComplianceLevel m_complianceLevel;
84 bool m_complianceLevelHasBeenSet = false;
85
86 Aws::Utils::DateTime m_approvalDate;
87 bool m_approvalDateHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SSM
92} // namespace Aws
AWS_SSM_API PatchStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceLevel(PatchComplianceLevel &&value)
Definition PatchStatus.h:61
void SetDeploymentStatus(const PatchDeploymentStatus &value)
Definition PatchStatus.h:48
void SetApprovalDate(Aws::Utils::DateTime &&value)
Definition PatchStatus.h:74
PatchStatus & WithApprovalDate(Aws::Utils::DateTime &&value)
Definition PatchStatus.h:76
const PatchComplianceLevel & GetComplianceLevel() const
Definition PatchStatus.h:58
const Aws::Utils::DateTime & GetApprovalDate() const
Definition PatchStatus.h:71
PatchStatus & WithComplianceLevel(const PatchComplianceLevel &value)
Definition PatchStatus.h:62
PatchStatus & WithComplianceLevel(PatchComplianceLevel &&value)
Definition PatchStatus.h:63
bool ComplianceLevelHasBeenSet() const
Definition PatchStatus.h:59
void SetDeploymentStatus(PatchDeploymentStatus &&value)
Definition PatchStatus.h:49
bool ApprovalDateHasBeenSet() const
Definition PatchStatus.h:72
bool DeploymentStatusHasBeenSet() const
Definition PatchStatus.h:47
PatchStatus & WithDeploymentStatus(PatchDeploymentStatus &&value)
Definition PatchStatus.h:51
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
PatchStatus & WithApprovalDate(const Aws::Utils::DateTime &value)
Definition PatchStatus.h:75
void SetComplianceLevel(const PatchComplianceLevel &value)
Definition PatchStatus.h:60
PatchStatus & WithDeploymentStatus(const PatchDeploymentStatus &value)
Definition PatchStatus.h:50
void SetApprovalDate(const Aws::Utils::DateTime &value)
Definition PatchStatus.h:73
const PatchDeploymentStatus & GetDeploymentStatus() const
Definition PatchStatus.h:46
AWS_SSM_API PatchStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue