AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedConfigurationPolicyAssociation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ConfigurationPolicyAssociation.h>
9#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const ConfigurationPolicyAssociation& GetConfigurationPolicyAssociationIdentifiers() const{ return m_configurationPolicyAssociationIdentifiers; }
51 inline bool ConfigurationPolicyAssociationIdentifiersHasBeenSet() const { return m_configurationPolicyAssociationIdentifiersHasBeenSet; }
52 inline void SetConfigurationPolicyAssociationIdentifiers(const ConfigurationPolicyAssociation& value) { m_configurationPolicyAssociationIdentifiersHasBeenSet = true; m_configurationPolicyAssociationIdentifiers = value; }
53 inline void SetConfigurationPolicyAssociationIdentifiers(ConfigurationPolicyAssociation&& value) { m_configurationPolicyAssociationIdentifiersHasBeenSet = true; m_configurationPolicyAssociationIdentifiers = std::move(value); }
57
59
63 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
64 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
65 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
66 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
67 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
69 inline UnprocessedConfigurationPolicyAssociation& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
70 inline UnprocessedConfigurationPolicyAssociation& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
72
74
78 inline const Aws::String& GetErrorReason() const{ return m_errorReason; }
79 inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; }
80 inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; }
81 inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); }
82 inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); }
84 inline UnprocessedConfigurationPolicyAssociation& WithErrorReason(Aws::String&& value) { SetErrorReason(std::move(value)); return *this;}
85 inline UnprocessedConfigurationPolicyAssociation& WithErrorReason(const char* value) { SetErrorReason(value); return *this;}
87 private:
88
89 ConfigurationPolicyAssociation m_configurationPolicyAssociationIdentifiers;
90 bool m_configurationPolicyAssociationIdentifiersHasBeenSet = false;
91
92 Aws::String m_errorCode;
93 bool m_errorCodeHasBeenSet = false;
94
95 Aws::String m_errorReason;
96 bool m_errorReasonHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SecurityHub
101} // namespace Aws
UnprocessedConfigurationPolicyAssociation & WithConfigurationPolicyAssociationIdentifiers(ConfigurationPolicyAssociation &&value)
UnprocessedConfigurationPolicyAssociation & WithErrorCode(const char *value)
UnprocessedConfigurationPolicyAssociation & WithErrorReason(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedConfigurationPolicyAssociation & WithConfigurationPolicyAssociationIdentifiers(const ConfigurationPolicyAssociation &value)
AWS_SECURITYHUB_API UnprocessedConfigurationPolicyAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedConfigurationPolicyAssociation & WithErrorReason(const char *value)
UnprocessedConfigurationPolicyAssociation & WithErrorReason(Aws::String &&value)
UnprocessedConfigurationPolicyAssociation & WithErrorCode(const Aws::String &value)
AWS_SECURITYHUB_API UnprocessedConfigurationPolicyAssociation(Aws::Utils::Json::JsonView jsonValue)
UnprocessedConfigurationPolicyAssociation & WithErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue