AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StandardsControlAssociationUpdate.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AssociationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_SECURITYHUB_API StandardsControlAssociationUpdate() = default;
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
50 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
51 template<typename StandardsArnT = Aws::String>
52 void SetStandardsArn(StandardsArnT&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::forward<StandardsArnT>(value); }
53 template<typename StandardsArnT = Aws::String>
54 StandardsControlAssociationUpdate& WithStandardsArn(StandardsArnT&& value) { SetStandardsArn(std::forward<StandardsArnT>(value)); return *this;}
56
58
62 inline const Aws::String& GetSecurityControlId() const { return m_securityControlId; }
63 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
64 template<typename SecurityControlIdT = Aws::String>
65 void SetSecurityControlId(SecurityControlIdT&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::forward<SecurityControlIdT>(value); }
66 template<typename SecurityControlIdT = Aws::String>
67 StandardsControlAssociationUpdate& WithSecurityControlId(SecurityControlIdT&& value) { SetSecurityControlId(std::forward<SecurityControlIdT>(value)); return *this;}
69
71
74 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
75 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
76 inline void SetAssociationStatus(AssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
79
81
84 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
85 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
86 template<typename UpdatedReasonT = Aws::String>
87 void SetUpdatedReason(UpdatedReasonT&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::forward<UpdatedReasonT>(value); }
88 template<typename UpdatedReasonT = Aws::String>
89 StandardsControlAssociationUpdate& WithUpdatedReason(UpdatedReasonT&& value) { SetUpdatedReason(std::forward<UpdatedReasonT>(value)); return *this;}
91 private:
92
93 Aws::String m_standardsArn;
94 bool m_standardsArnHasBeenSet = false;
95
96 Aws::String m_securityControlId;
97 bool m_securityControlIdHasBeenSet = false;
98
100 bool m_associationStatusHasBeenSet = false;
101
102 Aws::String m_updatedReason;
103 bool m_updatedReasonHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SecurityHub
108} // namespace Aws
StandardsControlAssociationUpdate & WithAssociationStatus(AssociationStatus value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API StandardsControlAssociationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API StandardsControlAssociationUpdate(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationUpdate & WithUpdatedReason(UpdatedReasonT &&value)
StandardsControlAssociationUpdate & WithSecurityControlId(SecurityControlIdT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationUpdate()=default
StandardsControlAssociationUpdate & WithStandardsArn(StandardsArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue