AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EnabledSecurityControlIdentifiersT = Aws::Vector<Aws::String>>
53 void SetEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT&& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers = std::forward<EnabledSecurityControlIdentifiersT>(value); }
54 template<typename EnabledSecurityControlIdentifiersT = Aws::Vector<Aws::String>>
55 SecurityControlsConfiguration& WithEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT&& value) { SetEnabledSecurityControlIdentifiers(std::forward<EnabledSecurityControlIdentifiersT>(value)); return *this;}
56 template<typename EnabledSecurityControlIdentifiersT = Aws::String>
57 SecurityControlsConfiguration& AddEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT&& value) { m_enabledSecurityControlIdentifiersHasBeenSet = true; m_enabledSecurityControlIdentifiers.emplace_back(std::forward<EnabledSecurityControlIdentifiersT>(value)); return *this; }
59
61
66 inline const Aws::Vector<Aws::String>& GetDisabledSecurityControlIdentifiers() const { return m_disabledSecurityControlIdentifiers; }
67 inline bool DisabledSecurityControlIdentifiersHasBeenSet() const { return m_disabledSecurityControlIdentifiersHasBeenSet; }
68 template<typename DisabledSecurityControlIdentifiersT = Aws::Vector<Aws::String>>
69 void SetDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT&& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers = std::forward<DisabledSecurityControlIdentifiersT>(value); }
70 template<typename DisabledSecurityControlIdentifiersT = Aws::Vector<Aws::String>>
71 SecurityControlsConfiguration& WithDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT&& value) { SetDisabledSecurityControlIdentifiers(std::forward<DisabledSecurityControlIdentifiersT>(value)); return *this;}
72 template<typename DisabledSecurityControlIdentifiersT = Aws::String>
73 SecurityControlsConfiguration& AddDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT&& value) { m_disabledSecurityControlIdentifiersHasBeenSet = true; m_disabledSecurityControlIdentifiers.emplace_back(std::forward<DisabledSecurityControlIdentifiersT>(value)); return *this; }
75
77
81 inline const Aws::Vector<SecurityControlCustomParameter>& GetSecurityControlCustomParameters() const { return m_securityControlCustomParameters; }
82 inline bool SecurityControlCustomParametersHasBeenSet() const { return m_securityControlCustomParametersHasBeenSet; }
83 template<typename SecurityControlCustomParametersT = Aws::Vector<SecurityControlCustomParameter>>
84 void SetSecurityControlCustomParameters(SecurityControlCustomParametersT&& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters = std::forward<SecurityControlCustomParametersT>(value); }
85 template<typename SecurityControlCustomParametersT = Aws::Vector<SecurityControlCustomParameter>>
86 SecurityControlsConfiguration& WithSecurityControlCustomParameters(SecurityControlCustomParametersT&& value) { SetSecurityControlCustomParameters(std::forward<SecurityControlCustomParametersT>(value)); return *this;}
87 template<typename SecurityControlCustomParametersT = SecurityControlCustomParameter>
88 SecurityControlsConfiguration& AddSecurityControlCustomParameters(SecurityControlCustomParametersT&& value) { m_securityControlCustomParametersHasBeenSet = true; m_securityControlCustomParameters.emplace_back(std::forward<SecurityControlCustomParametersT>(value)); return *this; }
90 private:
91
92 Aws::Vector<Aws::String> m_enabledSecurityControlIdentifiers;
93 bool m_enabledSecurityControlIdentifiersHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_disabledSecurityControlIdentifiers;
96 bool m_disabledSecurityControlIdentifiersHasBeenSet = false;
97
98 Aws::Vector<SecurityControlCustomParameter> m_securityControlCustomParameters;
99 bool m_securityControlCustomParametersHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // namespace Aws
SecurityControlsConfiguration & AddSecurityControlCustomParameters(SecurityControlCustomParametersT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT &&value)
AWS_SECURITYHUB_API SecurityControlsConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetDisabledSecurityControlIdentifiers() const
void SetSecurityControlCustomParameters(SecurityControlCustomParametersT &&value)
AWS_SECURITYHUB_API SecurityControlsConfiguration()=default
SecurityControlsConfiguration & WithDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT &&value)
SecurityControlsConfiguration & AddDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT &&value)
AWS_SECURITYHUB_API SecurityControlsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEnabledSecurityControlIdentifiers() const
const Aws::Vector< SecurityControlCustomParameter > & GetSecurityControlCustomParameters() const
SecurityControlsConfiguration & WithSecurityControlCustomParameters(SecurityControlCustomParametersT &&value)
SecurityControlsConfiguration & AddEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT &&value)
SecurityControlsConfiguration & WithEnabledSecurityControlIdentifiers(EnabledSecurityControlIdentifiersT &&value)
void SetDisabledSecurityControlIdentifiers(DisabledSecurityControlIdentifiersT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue