AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
52 inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
53 inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
55 inline StandardsControlAssociationUpdate& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
56 inline StandardsControlAssociationUpdate& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
58
60
64 inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
65 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
66 inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; }
67 inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); }
68 inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); }
71 inline StandardsControlAssociationUpdate& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;}
73
75
78 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
79 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
80 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
81 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
85
87
90 inline const Aws::String& GetUpdatedReason() const{ return m_updatedReason; }
91 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
92 inline void SetUpdatedReason(const Aws::String& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = value; }
93 inline void SetUpdatedReason(Aws::String&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::move(value); }
94 inline void SetUpdatedReason(const char* value) { m_updatedReasonHasBeenSet = true; m_updatedReason.assign(value); }
96 inline StandardsControlAssociationUpdate& WithUpdatedReason(Aws::String&& value) { SetUpdatedReason(std::move(value)); return *this;}
97 inline StandardsControlAssociationUpdate& WithUpdatedReason(const char* value) { SetUpdatedReason(value); return *this;}
99 private:
100
101 Aws::String m_standardsArn;
102 bool m_standardsArnHasBeenSet = false;
103
104 Aws::String m_securityControlId;
105 bool m_securityControlIdHasBeenSet = false;
106
107 AssociationStatus m_associationStatus;
108 bool m_associationStatusHasBeenSet = false;
109
110 Aws::String m_updatedReason;
111 bool m_updatedReasonHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SecurityHub
116} // namespace Aws
StandardsControlAssociationUpdate & WithSecurityControlId(const Aws::String &value)
StandardsControlAssociationUpdate & WithSecurityControlId(Aws::String &&value)
StandardsControlAssociationUpdate & WithAssociationStatus(const AssociationStatus &value)
StandardsControlAssociationUpdate & WithUpdatedReason(Aws::String &&value)
StandardsControlAssociationUpdate & WithUpdatedReason(const Aws::String &value)
StandardsControlAssociationUpdate & WithStandardsArn(Aws::String &&value)
StandardsControlAssociationUpdate & WithAssociationStatus(AssociationStatus &&value)
StandardsControlAssociationUpdate & WithStandardsArn(const char *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(const char *value)
StandardsControlAssociationUpdate & WithSecurityControlId(const char *value)
StandardsControlAssociationUpdate & WithStandardsArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue