AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityControlsConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/SecurityControlCustomParameter.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
36 {
37 public:
38 AWS_SECURITYHUB_API SecurityControlsConfiguration();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<Aws::String>& GetEnabledSecurityControlIdentifiers() const{ return m_enabledSecurityControlIdentifiers; }
51 inline bool EnabledSecurityControlIdentifiersHasBeenSet() const { return m_enabledSecurityControlIdentifiersHasBeenSet; }
52 inline void SetEnabledSecurityControlIdentifiers(const Aws::Vector<Aws::String>& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers = value; }
53 inline void SetEnabledSecurityControlIdentifiers(Aws::Vector<Aws::String>&& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers = std::move(value); }
56 inline SecurityControlsConfiguration& AddEnabledSecurityControlIdentifiers(const Aws::String& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers.push_back(value); return *this; }
57 inline SecurityControlsConfiguration& AddEnabledSecurityControlIdentifiers(Aws::String&& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers.push_back(std::move(value)); return *this; }
58 inline SecurityControlsConfiguration& AddEnabledSecurityControlIdentifiers(const char* value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers.push_back(value); return *this; }
60
62
67 inline const Aws::Vector<Aws::String>& GetDisabledSecurityControlIdentifiers() const{ return m_disabledSecurityControlIdentifiers; }
68 inline bool DisabledSecurityControlIdentifiersHasBeenSet() const { return m_disabledSecurityControlIdentifiersHasBeenSet; }
69 inline void SetDisabledSecurityControlIdentifiers(const Aws::Vector<Aws::String>& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers = value; }
70 inline void SetDisabledSecurityControlIdentifiers(Aws::Vector<Aws::String>&& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers = std::move(value); }
73 inline SecurityControlsConfiguration& AddDisabledSecurityControlIdentifiers(const Aws::String& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers.push_back(value); return *this; }
74 inline SecurityControlsConfiguration& AddDisabledSecurityControlIdentifiers(Aws::String&& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers.push_back(std::move(value)); return *this; }
75 inline SecurityControlsConfiguration& AddDisabledSecurityControlIdentifiers(const char* value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers.push_back(value); return *this; }
77
79
83 inline const Aws::Vector<SecurityControlCustomParameter>& GetSecurityControlCustomParameters() const{ return m_securityControlCustomParameters; }
84 inline bool SecurityControlCustomParametersHasBeenSet() const { return m_securityControlCustomParametersHasBeenSet; }
85 inline void SetSecurityControlCustomParameters(const Aws::Vector<SecurityControlCustomParameter>& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters = value; }
86 inline void SetSecurityControlCustomParameters(Aws::Vector<SecurityControlCustomParameter>&& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters = std::move(value); }
89 inline SecurityControlsConfiguration& AddSecurityControlCustomParameters(const SecurityControlCustomParameter& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters.push_back(value); return *this; }
90 inline SecurityControlsConfiguration& AddSecurityControlCustomParameters(SecurityControlCustomParameter&& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters.push_back(std::move(value)); return *this; }
92 private:
93
94 Aws::Vector<Aws::String> m_enabledSecurityControlIdentifiers;
95 bool m_enabledSecurityControlIdentifiersHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_disabledSecurityControlIdentifiers;
98 bool m_disabledSecurityControlIdentifiersHasBeenSet = false;
99
100 Aws::Vector<SecurityControlCustomParameter> m_securityControlCustomParameters;
101 bool m_securityControlCustomParametersHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
SecurityControlsConfiguration & WithSecurityControlCustomParameters(Aws::Vector< SecurityControlCustomParameter > &&value)
void SetEnabledSecurityControlIdentifiers(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityControlsConfiguration & WithDisabledSecurityControlIdentifiers(Aws::Vector< Aws::String > &&value)
SecurityControlsConfiguration & AddEnabledSecurityControlIdentifiers(const char *value)
void SetSecurityControlCustomParameters(Aws::Vector< SecurityControlCustomParameter > &&value)
SecurityControlsConfiguration & AddEnabledSecurityControlIdentifiers(const Aws::String &value)
SecurityControlsConfiguration & WithEnabledSecurityControlIdentifiers(const Aws::Vector< Aws::String > &value)
void SetDisabledSecurityControlIdentifiers(const Aws::Vector< Aws::String > &value)
SecurityControlsConfiguration & AddEnabledSecurityControlIdentifiers(Aws::String &&value)
AWS_SECURITYHUB_API SecurityControlsConfiguration(Aws::Utils::Json::JsonView jsonValue)
SecurityControlsConfiguration & AddDisabledSecurityControlIdentifiers(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDisabledSecurityControlIdentifiers() const
void SetSecurityControlCustomParameters(const Aws::Vector< SecurityControlCustomParameter > &value)
void SetEnabledSecurityControlIdentifiers(Aws::Vector< Aws::String > &&value)
SecurityControlsConfiguration & AddSecurityControlCustomParameters(SecurityControlCustomParameter &&value)
SecurityControlsConfiguration & WithDisabledSecurityControlIdentifiers(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API SecurityControlsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEnabledSecurityControlIdentifiers() const
SecurityControlsConfiguration & WithSecurityControlCustomParameters(const Aws::Vector< SecurityControlCustomParameter > &value)
SecurityControlsConfiguration & WithEnabledSecurityControlIdentifiers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< SecurityControlCustomParameter > & GetSecurityControlCustomParameters() const
SecurityControlsConfiguration & AddDisabledSecurityControlIdentifiers(const char *value)
void SetDisabledSecurityControlIdentifiers(Aws::Vector< Aws::String > &&value)
SecurityControlsConfiguration & AddSecurityControlCustomParameters(const SecurityControlCustomParameter &value)
SecurityControlsConfiguration & AddDisabledSecurityControlIdentifiers(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue