AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPatternSetName(const Aws::String& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = value; }
50 inline void SetPatternSetName(Aws::String&& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = std::move(value); }
51 inline void SetPatternSetName(const char* value) { m_patternSetNameHasBeenSet = true; m_patternSetName.assign(value); }
52 inline LogPattern& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;}
53 inline LogPattern& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;}
54 inline LogPattern& WithPatternSetName(const char* value) { SetPatternSetName(value); return *this;}
56
58
63 inline const Aws::String& GetPatternName() const{ return m_patternName; }
64 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
65 inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; }
66 inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); }
67 inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); }
68 inline LogPattern& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
69 inline LogPattern& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
70 inline LogPattern& WithPatternName(const char* value) { SetPatternName(value); return *this;}
72
74
80 inline const Aws::String& GetPattern() const{ return m_pattern; }
81 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
82 inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
83 inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
84 inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
85 inline LogPattern& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
86 inline LogPattern& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
87 inline LogPattern& WithPattern(const char* value) { SetPattern(value); return *this;}
89
91
104 inline int GetRank() const{ return m_rank; }
105 inline bool RankHasBeenSet() const { return m_rankHasBeenSet; }
106 inline void SetRank(int value) { m_rankHasBeenSet = true; m_rank = value; }
107 inline LogPattern& WithRank(int value) { SetRank(value); return *this;}
109 private:
110
111 Aws::String m_patternSetName;
112 bool m_patternSetNameHasBeenSet = false;
113
114 Aws::String m_patternName;
115 bool m_patternNameHasBeenSet = false;
116
117 Aws::String m_pattern;
118 bool m_patternHasBeenSet = false;
119
120 int m_rank;
121 bool m_rankHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ApplicationInsights
126} // namespace Aws
void SetPattern(Aws::String &&value)
Definition LogPattern.h:83
void SetPattern(const Aws::String &value)
Definition LogPattern.h:82
const Aws::String & GetPatternName() const
Definition LogPattern.h:63
const Aws::String & GetPatternSetName() const
Definition LogPattern.h:47
LogPattern & WithPatternSetName(const char *value)
Definition LogPattern.h:54
LogPattern & WithPatternName(Aws::String &&value)
Definition LogPattern.h:69
LogPattern & WithPatternSetName(const Aws::String &value)
Definition LogPattern.h:52
LogPattern & WithPattern(const Aws::String &value)
Definition LogPattern.h:85
LogPattern & WithPatternSetName(Aws::String &&value)
Definition LogPattern.h:53
AWS_APPLICATIONINSIGHTS_API LogPattern()
void SetPatternSetName(const Aws::String &value)
Definition LogPattern.h:49
AWS_APPLICATIONINSIGHTS_API LogPattern & operator=(Aws::Utils::Json::JsonView jsonValue)
LogPattern & WithPattern(Aws::String &&value)
Definition LogPattern.h:86
void SetPatternName(const Aws::String &value)
Definition LogPattern.h:65
const Aws::String & GetPattern() const
Definition LogPattern.h:80
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPatternSetName(Aws::String &&value)
Definition LogPattern.h:50
AWS_APPLICATIONINSIGHTS_API LogPattern(Aws::Utils::Json::JsonView jsonValue)
LogPattern & WithPatternName(const Aws::String &value)
Definition LogPattern.h:68
LogPattern & WithPattern(const char *value)
Definition LogPattern.h:87
LogPattern & WithPatternName(const char *value)
Definition LogPattern.h:70
void SetPatternSetName(const char *value)
Definition LogPattern.h:51
void SetPatternName(Aws::String &&value)
Definition LogPattern.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue