AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StringConfigurationOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API StringConfigurationOptions() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
41 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
42 template <typename DefaultValueT = Aws::String>
43 void SetDefaultValue(DefaultValueT&& value) {
44 m_defaultValueHasBeenSet = true;
45 m_defaultValue = std::forward<DefaultValueT>(value);
46 }
47 template <typename DefaultValueT = Aws::String>
49 SetDefaultValue(std::forward<DefaultValueT>(value));
50 return *this;
51 }
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) {
63 m_re2ExpressionHasBeenSet = true;
64 m_re2Expression = std::forward<Re2ExpressionT>(value);
65 }
66 template <typename Re2ExpressionT = Aws::String>
68 SetRe2Expression(std::forward<Re2ExpressionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetExpressionDescription() const { return m_expressionDescription; }
78 inline bool ExpressionDescriptionHasBeenSet() const { return m_expressionDescriptionHasBeenSet; }
79 template <typename ExpressionDescriptionT = Aws::String>
80 void SetExpressionDescription(ExpressionDescriptionT&& value) {
81 m_expressionDescriptionHasBeenSet = true;
82 m_expressionDescription = std::forward<ExpressionDescriptionT>(value);
83 }
84 template <typename ExpressionDescriptionT = Aws::String>
85 StringConfigurationOptions& WithExpressionDescription(ExpressionDescriptionT&& value) {
86 SetExpressionDescription(std::forward<ExpressionDescriptionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_defaultValue;
92
93 Aws::String m_re2Expression;
94
95 Aws::String m_expressionDescription;
96 bool m_defaultValueHasBeenSet = false;
97 bool m_re2ExpressionHasBeenSet = false;
98 bool m_expressionDescriptionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SecurityHub
103} // 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