AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StringConfigurationOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API StringConfigurationOptions() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
47 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
48 template<typename DefaultValueT = Aws::String>
49 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
50 template<typename DefaultValueT = Aws::String>
51 StringConfigurationOptions& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
53
55
59 inline const Aws::String& GetRe2Expression() const { return m_re2Expression; }
60 inline bool Re2ExpressionHasBeenSet() const { return m_re2ExpressionHasBeenSet; }
61 template<typename Re2ExpressionT = Aws::String>
62 void SetRe2Expression(Re2ExpressionT&& value) { m_re2ExpressionHasBeenSet = true; m_re2Expression = std::forward<Re2ExpressionT>(value); }
63 template<typename Re2ExpressionT = Aws::String>
64 StringConfigurationOptions& WithRe2Expression(Re2ExpressionT&& value) { SetRe2Expression(std::forward<Re2ExpressionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetExpressionDescription() const { return m_expressionDescription; }
72 inline bool ExpressionDescriptionHasBeenSet() const { return m_expressionDescriptionHasBeenSet; }
73 template<typename ExpressionDescriptionT = Aws::String>
74 void SetExpressionDescription(ExpressionDescriptionT&& value) { m_expressionDescriptionHasBeenSet = true; m_expressionDescription = std::forward<ExpressionDescriptionT>(value); }
75 template<typename ExpressionDescriptionT = Aws::String>
76 StringConfigurationOptions& WithExpressionDescription(ExpressionDescriptionT&& value) { SetExpressionDescription(std::forward<ExpressionDescriptionT>(value)); return *this;}
78 private:
79
80 Aws::String m_defaultValue;
81 bool m_defaultValueHasBeenSet = false;
82
83 Aws::String m_re2Expression;
84 bool m_re2ExpressionHasBeenSet = false;
85
86 Aws::String m_expressionDescription;
87 bool m_expressionDescriptionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SecurityHub
92} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StringConfigurationOptions & WithExpressionDescription(ExpressionDescriptionT &&value)
AWS_SECURITYHUB_API StringConfigurationOptions()=default
AWS_SECURITYHUB_API StringConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
StringConfigurationOptions & WithDefaultValue(DefaultValueT &&value)
AWS_SECURITYHUB_API StringConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExpressionDescription(ExpressionDescriptionT &&value)
StringConfigurationOptions & WithRe2Expression(Re2ExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue