AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
49 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
50 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
51 inline StringConfigurationOptions& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
52 inline StringConfigurationOptions& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
53 inline StringConfigurationOptions& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
55
57
61 inline const Aws::String& GetRe2Expression() const{ return m_re2Expression; }
62 inline bool Re2ExpressionHasBeenSet() const { return m_re2ExpressionHasBeenSet; }
63 inline void SetRe2Expression(const Aws::String& value) { m_re2ExpressionHasBeenSet = true; m_re2Expression = value; }
64 inline void SetRe2Expression(Aws::String&& value) { m_re2ExpressionHasBeenSet = true; m_re2Expression = std::move(value); }
65 inline void SetRe2Expression(const char* value) { m_re2ExpressionHasBeenSet = true; m_re2Expression.assign(value); }
66 inline StringConfigurationOptions& WithRe2Expression(const Aws::String& value) { SetRe2Expression(value); return *this;}
67 inline StringConfigurationOptions& WithRe2Expression(Aws::String&& value) { SetRe2Expression(std::move(value)); return *this;}
68 inline StringConfigurationOptions& WithRe2Expression(const char* value) { SetRe2Expression(value); return *this;}
70
72
75 inline const Aws::String& GetExpressionDescription() const{ return m_expressionDescription; }
76 inline bool ExpressionDescriptionHasBeenSet() const { return m_expressionDescriptionHasBeenSet; }
77 inline void SetExpressionDescription(const Aws::String& value) { m_expressionDescriptionHasBeenSet = true; m_expressionDescription = value; }
78 inline void SetExpressionDescription(Aws::String&& value) { m_expressionDescriptionHasBeenSet = true; m_expressionDescription = std::move(value); }
79 inline void SetExpressionDescription(const char* value) { m_expressionDescriptionHasBeenSet = true; m_expressionDescription.assign(value); }
82 inline StringConfigurationOptions& WithExpressionDescription(const char* value) { SetExpressionDescription(value); return *this;}
84 private:
85
86 Aws::String m_defaultValue;
87 bool m_defaultValueHasBeenSet = false;
88
89 Aws::String m_re2Expression;
90 bool m_re2ExpressionHasBeenSet = false;
91
92 Aws::String m_expressionDescription;
93 bool m_expressionDescriptionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SecurityHub
98} // namespace Aws
StringConfigurationOptions & WithRe2Expression(const Aws::String &value)
StringConfigurationOptions & WithDefaultValue(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StringConfigurationOptions & WithExpressionDescription(const char *value)
StringConfigurationOptions & WithDefaultValue(const Aws::String &value)
AWS_SECURITYHUB_API StringConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
StringConfigurationOptions & WithExpressionDescription(const Aws::String &value)
StringConfigurationOptions & WithRe2Expression(Aws::String &&value)
AWS_SECURITYHUB_API StringConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
StringConfigurationOptions & WithDefaultValue(Aws::String &&value)
StringConfigurationOptions & WithExpressionDescription(Aws::String &&value)
StringConfigurationOptions & WithRe2Expression(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue