AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnprocessedStandardsControlAssociationUpdate.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/StandardsControlAssociationUpdate.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:
40 AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate() = default;
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const StandardsControlAssociationUpdate& GetStandardsControlAssociationUpdate() const { return m_standardsControlAssociationUpdate; }
54 inline bool StandardsControlAssociationUpdateHasBeenSet() const { return m_standardsControlAssociationUpdateHasBeenSet; }
55 template<typename StandardsControlAssociationUpdateT = StandardsControlAssociationUpdate>
56 void SetStandardsControlAssociationUpdate(StandardsControlAssociationUpdateT&& value) { m_standardsControlAssociationUpdateHasBeenSet = true; m_standardsControlAssociationUpdate = std::forward<StandardsControlAssociationUpdateT>(value); }
57 template<typename StandardsControlAssociationUpdateT = StandardsControlAssociationUpdate>
58 UnprocessedStandardsControlAssociationUpdate& WithStandardsControlAssociationUpdate(StandardsControlAssociationUpdateT&& value) { SetStandardsControlAssociationUpdate(std::forward<StandardsControlAssociationUpdateT>(value)); return *this;}
60
62
66 inline UnprocessedErrorCode GetErrorCode() const { return m_errorCode; }
67 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
68 inline void SetErrorCode(UnprocessedErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
71
73
77 inline const Aws::String& GetErrorReason() const { return m_errorReason; }
78 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
79 template<typename ErrorReasonT = Aws::String>
80 void SetErrorReason(ErrorReasonT&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::forward<ErrorReasonT>(value); }
81 template<typename ErrorReasonT = Aws::String>
82 UnprocessedStandardsControlAssociationUpdate& WithErrorReason(ErrorReasonT&& value) { SetErrorReason(std::forward<ErrorReasonT>(value)); return *this;}
84 private:
85
86 StandardsControlAssociationUpdate m_standardsControlAssociationUpdate;
87 bool m_standardsControlAssociationUpdateHasBeenSet = false;
88
90 bool m_errorCodeHasBeenSet = false;
91
92 Aws::String m_errorReason;
93 bool m_errorReasonHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SecurityHub
98} // 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