AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StandardsControlAssociationUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AssociationStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
32 public:
33 AWS_SECURITYHUB_API StandardsControlAssociationUpdate() = default;
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
44 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
45 template <typename StandardsArnT = Aws::String>
46 void SetStandardsArn(StandardsArnT&& value) {
47 m_standardsArnHasBeenSet = true;
48 m_standardsArn = std::forward<StandardsArnT>(value);
49 }
50 template <typename StandardsArnT = Aws::String>
52 SetStandardsArn(std::forward<StandardsArnT>(value));
53 return *this;
54 }
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) {
66 m_securityControlIdHasBeenSet = true;
67 m_securityControlId = std::forward<SecurityControlIdT>(value);
68 }
69 template <typename SecurityControlIdT = Aws::String>
71 SetSecurityControlId(std::forward<SecurityControlIdT>(value));
72 return *this;
73 }
75
77
80 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
81 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
83 m_associationStatusHasBeenSet = true;
84 m_associationStatus = value;
85 }
88 return *this;
89 }
91
93
96 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
97 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
98 template <typename UpdatedReasonT = Aws::String>
99 void SetUpdatedReason(UpdatedReasonT&& value) {
100 m_updatedReasonHasBeenSet = true;
101 m_updatedReason = std::forward<UpdatedReasonT>(value);
102 }
103 template <typename UpdatedReasonT = Aws::String>
105 SetUpdatedReason(std::forward<UpdatedReasonT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_standardsArn;
111
112 Aws::String m_securityControlId;
113
115
116 Aws::String m_updatedReason;
117 bool m_standardsArnHasBeenSet = false;
118 bool m_securityControlIdHasBeenSet = false;
119 bool m_associationStatusHasBeenSet = false;
120 bool m_updatedReasonHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SecurityHub
125} // 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