AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedStandardsControlAssociation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/StandardsControlAssociationId.h>
9#include <aws/securityhub/model/UnprocessedErrorCode.h>
10#include <aws/core/utils/memory/stl/AWSString.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 SecurityHub
24{
25namespace Model
26{
27
38 {
39 public:
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
57 inline const StandardsControlAssociationId& GetStandardsControlAssociationId() const{ return m_standardsControlAssociationId; }
58 inline bool StandardsControlAssociationIdHasBeenSet() const { return m_standardsControlAssociationIdHasBeenSet; }
59 inline void SetStandardsControlAssociationId(const StandardsControlAssociationId& value) { m_standardsControlAssociationIdHasBeenSet = true; m_standardsControlAssociationId = value; }
60 inline void SetStandardsControlAssociationId(StandardsControlAssociationId&& value) { m_standardsControlAssociationIdHasBeenSet = true; m_standardsControlAssociationId = std::move(value); }
64
66
69 inline const UnprocessedErrorCode& GetErrorCode() const{ return m_errorCode; }
70 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
71 inline void SetErrorCode(const UnprocessedErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
72 inline void SetErrorCode(UnprocessedErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
76
78
81 inline const Aws::String& GetErrorReason() const{ return m_errorReason; }
82 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
83 inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; }
84 inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); }
85 inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); }
87 inline UnprocessedStandardsControlAssociation& WithErrorReason(Aws::String&& value) { SetErrorReason(std::move(value)); return *this;}
88 inline UnprocessedStandardsControlAssociation& WithErrorReason(const char* value) { SetErrorReason(value); return *this;}
90 private:
91
92 StandardsControlAssociationId m_standardsControlAssociationId;
93 bool m_standardsControlAssociationIdHasBeenSet = false;
94
95 UnprocessedErrorCode m_errorCode;
96 bool m_errorCodeHasBeenSet = false;
97
98 Aws::String m_errorReason;
99 bool m_errorReasonHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedStandardsControlAssociation & WithErrorCode(UnprocessedErrorCode &&value)
UnprocessedStandardsControlAssociation & WithErrorReason(const char *value)
UnprocessedStandardsControlAssociation & WithErrorReason(const Aws::String &value)
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedStandardsControlAssociation & WithErrorCode(const UnprocessedErrorCode &value)
UnprocessedStandardsControlAssociation & WithStandardsControlAssociationId(StandardsControlAssociationId &&value)
UnprocessedStandardsControlAssociation & WithStandardsControlAssociationId(const StandardsControlAssociationId &value)
UnprocessedStandardsControlAssociation & WithErrorReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue