AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStandardsControlAssociationUpdate(const StandardsControlAssociationUpdate& value) { m_standardsControlAssociationUpdateHasBeenSet = true; m_standardsControlAssociationUpdate = value; }
56 inline void SetStandardsControlAssociationUpdate(StandardsControlAssociationUpdate&& value) { m_standardsControlAssociationUpdateHasBeenSet = true; m_standardsControlAssociationUpdate = std::move(value); }
60
62
66 inline const UnprocessedErrorCode& GetErrorCode() const{ return m_errorCode; }
67 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
68 inline void SetErrorCode(const UnprocessedErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
69 inline void SetErrorCode(UnprocessedErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
73
75
79 inline const Aws::String& GetErrorReason() const{ return m_errorReason; }
80 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
81 inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; }
82 inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); }
83 inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); }
86 inline UnprocessedStandardsControlAssociationUpdate& WithErrorReason(const char* value) { SetErrorReason(value); return *this;}
88 private:
89
90 StandardsControlAssociationUpdate m_standardsControlAssociationUpdate;
91 bool m_standardsControlAssociationUpdateHasBeenSet = false;
92
93 UnprocessedErrorCode m_errorCode;
94 bool m_errorCodeHasBeenSet = false;
95
96 Aws::String m_errorReason;
97 bool m_errorReasonHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SecurityHub
102} // namespace Aws
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate(Aws::Utils::Json::JsonView jsonValue)
UnprocessedStandardsControlAssociationUpdate & WithErrorReason(const char *value)
UnprocessedStandardsControlAssociationUpdate & WithStandardsControlAssociationUpdate(const StandardsControlAssociationUpdate &value)
UnprocessedStandardsControlAssociationUpdate & WithStandardsControlAssociationUpdate(StandardsControlAssociationUpdate &&value)
UnprocessedStandardsControlAssociationUpdate & WithErrorCode(const UnprocessedErrorCode &value)
UnprocessedStandardsControlAssociationUpdate & WithErrorReason(Aws::String &&value)
UnprocessedStandardsControlAssociationUpdate & WithErrorCode(UnprocessedErrorCode &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API UnprocessedStandardsControlAssociationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedStandardsControlAssociationUpdate & WithErrorReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue