AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
SelectionConfig.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/SelectionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApplicationSignals {
21namespace Model {
22
30 public:
31 AWS_APPLICATIONSIGNALS_API SelectionConfig() = default;
32 AWS_APPLICATIONSIGNALS_API SelectionConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPLICATIONSIGNALS_API SelectionConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline SelectionType GetType() const { return m_type; }
39 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
40 inline void SetType(SelectionType value) {
41 m_typeHasBeenSet = true;
42 m_type = value;
43 }
45 SetType(value);
46 return *this;
47 }
49
51
58 inline const Aws::String& GetPattern() const { return m_pattern; }
59 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
60 template <typename PatternT = Aws::String>
61 void SetPattern(PatternT&& value) {
62 m_patternHasBeenSet = true;
63 m_pattern = std::forward<PatternT>(value);
64 }
65 template <typename PatternT = Aws::String>
66 SelectionConfig& WithPattern(PatternT&& value) {
67 SetPattern(std::forward<PatternT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_pattern;
75 bool m_typeHasBeenSet = false;
76 bool m_patternHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ApplicationSignals
81} // namespace Aws
AWS_APPLICATIONSIGNALS_API SelectionConfig(Aws::Utils::Json::JsonView jsonValue)
SelectionConfig & WithType(SelectionType value)
AWS_APPLICATIONSIGNALS_API SelectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API SelectionConfig()=default
SelectionConfig & WithPattern(PatternT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue