AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LogPattern.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_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 ApplicationInsights
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPLICATIONINSIGHTS_API LogPattern() = default;
36 AWS_APPLICATIONINSIGHTS_API LogPattern(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONINSIGHTS_API LogPattern& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetPatternSetName() const { return m_patternSetName; }
48 inline bool PatternSetNameHasBeenSet() const { return m_patternSetNameHasBeenSet; }
49 template<typename PatternSetNameT = Aws::String>
50 void SetPatternSetName(PatternSetNameT&& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = std::forward<PatternSetNameT>(value); }
51 template<typename PatternSetNameT = Aws::String>
52 LogPattern& WithPatternSetName(PatternSetNameT&& value) { SetPatternSetName(std::forward<PatternSetNameT>(value)); return *this;}
54
56
61 inline const Aws::String& GetPatternName() const { return m_patternName; }
62 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
63 template<typename PatternNameT = Aws::String>
64 void SetPatternName(PatternNameT&& value) { m_patternNameHasBeenSet = true; m_patternName = std::forward<PatternNameT>(value); }
65 template<typename PatternNameT = Aws::String>
66 LogPattern& WithPatternName(PatternNameT&& value) { SetPatternName(std::forward<PatternNameT>(value)); return *this;}
68
70
76 inline const Aws::String& GetPattern() const { return m_pattern; }
77 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
78 template<typename PatternT = Aws::String>
79 void SetPattern(PatternT&& value) { m_patternHasBeenSet = true; m_pattern = std::forward<PatternT>(value); }
80 template<typename PatternT = Aws::String>
81 LogPattern& WithPattern(PatternT&& value) { SetPattern(std::forward<PatternT>(value)); return *this;}
83
85
98 inline int GetRank() const { return m_rank; }
99 inline bool RankHasBeenSet() const { return m_rankHasBeenSet; }
100 inline void SetRank(int value) { m_rankHasBeenSet = true; m_rank = value; }
101 inline LogPattern& WithRank(int value) { SetRank(value); return *this;}
103 private:
104
105 Aws::String m_patternSetName;
106 bool m_patternSetNameHasBeenSet = false;
107
108 Aws::String m_patternName;
109 bool m_patternNameHasBeenSet = false;
110
111 Aws::String m_pattern;
112 bool m_patternHasBeenSet = false;
113
114 int m_rank{0};
115 bool m_rankHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ApplicationInsights
120} // namespace Aws
AWS_APPLICATIONINSIGHTS_API LogPattern()=default
LogPattern & WithPatternSetName(PatternSetNameT &&value)
Definition LogPattern.h:52
const Aws::String & GetPatternName() const
Definition LogPattern.h:61
const Aws::String & GetPatternSetName() const
Definition LogPattern.h:47
AWS_APPLICATIONINSIGHTS_API LogPattern & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPatternName(PatternNameT &&value)
Definition LogPattern.h:64
const Aws::String & GetPattern() const
Definition LogPattern.h:76
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
LogPattern & WithPatternName(PatternNameT &&value)
Definition LogPattern.h:66
void SetPatternSetName(PatternSetNameT &&value)
Definition LogPattern.h:50
LogPattern & WithPattern(PatternT &&value)
Definition LogPattern.h:81
AWS_APPLICATIONINSIGHTS_API LogPattern(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue