AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UnprocessedStandardsControlAssociationUpdate.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/StandardsControlAssociationUpdate.h>
10#include <aws/securityhub/model/UnprocessedErrorCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
34 public:
35 AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
48 return m_standardsControlAssociationUpdate;
49 }
50 inline bool StandardsControlAssociationUpdateHasBeenSet() const { return m_standardsControlAssociationUpdateHasBeenSet; }
51 template <typename StandardsControlAssociationUpdateT = StandardsControlAssociationUpdate>
52 void SetStandardsControlAssociationUpdate(StandardsControlAssociationUpdateT&& value) {
53 m_standardsControlAssociationUpdateHasBeenSet = true;
54 m_standardsControlAssociationUpdate = std::forward<StandardsControlAssociationUpdateT>(value);
55 }
56 template <typename StandardsControlAssociationUpdateT = StandardsControlAssociationUpdate>
58 SetStandardsControlAssociationUpdate(std::forward<StandardsControlAssociationUpdateT>(value));
59 return *this;
60 }
62
64
69 inline UnprocessedErrorCode GetErrorCode() const { return m_errorCode; }
70 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
72 m_errorCodeHasBeenSet = true;
73 m_errorCode = value;
74 }
76 SetErrorCode(value);
77 return *this;
78 }
80
82
86 inline const Aws::String& GetErrorReason() const { return m_errorReason; }
87 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
88 template <typename ErrorReasonT = Aws::String>
89 void SetErrorReason(ErrorReasonT&& value) {
90 m_errorReasonHasBeenSet = true;
91 m_errorReason = std::forward<ErrorReasonT>(value);
92 }
93 template <typename ErrorReasonT = Aws::String>
95 SetErrorReason(std::forward<ErrorReasonT>(value));
96 return *this;
97 }
99 private:
100 StandardsControlAssociationUpdate m_standardsControlAssociationUpdate;
101
103
104 Aws::String m_errorReason;
105 bool m_standardsControlAssociationUpdateHasBeenSet = false;
106 bool m_errorCodeHasBeenSet = false;
107 bool m_errorReasonHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SecurityHub
112} // namespace Aws
UnprocessedStandardsControlAssociationUpdate & WithStandardsControlAssociationUpdate(StandardsControlAssociationUpdateT &&value)
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate(Aws::Utils::Json::JsonView jsonValue)
UnprocessedStandardsControlAssociationUpdate & WithErrorCode(UnprocessedErrorCode value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedStandardsControlAssociationUpdate & WithErrorReason(ErrorReasonT &&value)
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue