AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedSecurityControl.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/UnprocessedErrorCode.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
34 {
35 public:
36 AWS_SECURITYHUB_API UnprocessedSecurityControl();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
49 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
50 inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; }
51 inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); }
52 inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); }
54 inline UnprocessedSecurityControl& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;}
55 inline UnprocessedSecurityControl& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;}
57
59
62 inline const UnprocessedErrorCode& GetErrorCode() const{ return m_errorCode; }
63 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
64 inline void SetErrorCode(const UnprocessedErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
65 inline void SetErrorCode(UnprocessedErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
66 inline UnprocessedSecurityControl& WithErrorCode(const UnprocessedErrorCode& value) { SetErrorCode(value); return *this;}
67 inline UnprocessedSecurityControl& WithErrorCode(UnprocessedErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetErrorReason() const{ return m_errorReason; }
75 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
76 inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; }
77 inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); }
78 inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); }
79 inline UnprocessedSecurityControl& WithErrorReason(const Aws::String& value) { SetErrorReason(value); return *this;}
80 inline UnprocessedSecurityControl& WithErrorReason(Aws::String&& value) { SetErrorReason(std::move(value)); return *this;}
81 inline UnprocessedSecurityControl& WithErrorReason(const char* value) { SetErrorReason(value); return *this;}
83 private:
84
85 Aws::String m_securityControlId;
86 bool m_securityControlIdHasBeenSet = false;
87
88 UnprocessedErrorCode m_errorCode;
89 bool m_errorCodeHasBeenSet = false;
90
91 Aws::String m_errorReason;
92 bool m_errorReasonHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SecurityHub
97} // namespace Aws
UnprocessedSecurityControl & WithSecurityControlId(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedSecurityControl & WithSecurityControlId(Aws::String &&value)
AWS_SECURITYHUB_API UnprocessedSecurityControl & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedSecurityControl & WithErrorReason(const Aws::String &value)
UnprocessedSecurityControl & WithErrorCode(UnprocessedErrorCode &&value)
UnprocessedSecurityControl & WithErrorReason(const char *value)
UnprocessedSecurityControl & WithErrorCode(const UnprocessedErrorCode &value)
AWS_SECURITYHUB_API UnprocessedSecurityControl(Aws::Utils::Json::JsonView jsonValue)
UnprocessedSecurityControl & WithSecurityControlId(const Aws::String &value)
UnprocessedSecurityControl & WithErrorReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue