AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityControlCustomParameter.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/securityhub/model/ParameterConfiguration.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
35 {
36 public:
37 AWS_SECURITYHUB_API SecurityControlCustomParameter();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
48 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
49 inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; }
50 inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); }
51 inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); }
53 inline SecurityControlCustomParameter& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;}
54 inline SecurityControlCustomParameter& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;}
56
58
62 inline const Aws::Map<Aws::String, ParameterConfiguration>& GetParameters() const{ return m_parameters; }
63 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
64 inline void SetParameters(const Aws::Map<Aws::String, ParameterConfiguration>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
65 inline void SetParameters(Aws::Map<Aws::String, ParameterConfiguration>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
68 inline SecurityControlCustomParameter& AddParameters(const Aws::String& key, const ParameterConfiguration& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
69 inline SecurityControlCustomParameter& AddParameters(Aws::String&& key, const ParameterConfiguration& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
70 inline SecurityControlCustomParameter& AddParameters(const Aws::String& key, ParameterConfiguration&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
71 inline SecurityControlCustomParameter& AddParameters(Aws::String&& key, ParameterConfiguration&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
72 inline SecurityControlCustomParameter& AddParameters(const char* key, ParameterConfiguration&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
73 inline SecurityControlCustomParameter& AddParameters(const char* key, const ParameterConfiguration& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_securityControlId;
78 bool m_securityControlIdHasBeenSet = false;
79
81 bool m_parametersHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SecurityHub
86} // namespace Aws
SecurityControlCustomParameter & AddParameters(Aws::String &&key, const ParameterConfiguration &value)
SecurityControlCustomParameter & AddParameters(const Aws::String &key, ParameterConfiguration &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityControlCustomParameter & AddParameters(const char *key, ParameterConfiguration &&value)
SecurityControlCustomParameter & WithSecurityControlId(Aws::String &&value)
AWS_SECURITYHUB_API SecurityControlCustomParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityControlCustomParameter & AddParameters(const Aws::String &key, const ParameterConfiguration &value)
const Aws::Map< Aws::String, ParameterConfiguration > & GetParameters() const
SecurityControlCustomParameter & WithSecurityControlId(const Aws::String &value)
SecurityControlCustomParameter & AddParameters(const char *key, const ParameterConfiguration &value)
SecurityControlCustomParameter & AddParameters(Aws::String &&key, ParameterConfiguration &&value)
void SetParameters(Aws::Map< Aws::String, ParameterConfiguration > &&value)
SecurityControlCustomParameter & WithParameters(Aws::Map< Aws::String, ParameterConfiguration > &&value)
SecurityControlCustomParameter & WithSecurityControlId(const char *value)
void SetParameters(const Aws::Map< Aws::String, ParameterConfiguration > &value)
AWS_SECURITYHUB_API SecurityControlCustomParameter(Aws::Utils::Json::JsonView jsonValue)
SecurityControlCustomParameter & WithParameters(const Aws::Map< Aws::String, ParameterConfiguration > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue