AWS SDK for C++

AWS SDK for C++ Version 1.11.852

Loading...
Searching...
No Matches
CaptureLimitsConfig.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ApplicationSignals {
17namespace Model {
18
26 public:
27 AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig() = default;
28 AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig(Aws::Utils::Json::JsonView jsonValue);
29 AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetMaxHits() const { return m_maxHits; }
38 inline bool MaxHitsHasBeenSet() const { return m_maxHitsHasBeenSet; }
39 inline void SetMaxHits(int value) {
40 m_maxHitsHasBeenSet = true;
41 m_maxHits = value;
42 }
43 inline CaptureLimitsConfig& WithMaxHits(int value) {
44 SetMaxHits(value);
45 return *this;
46 }
48
50
54 inline int GetMaxStringLength() const { return m_maxStringLength; }
55 inline bool MaxStringLengthHasBeenSet() const { return m_maxStringLengthHasBeenSet; }
56 inline void SetMaxStringLength(int value) {
57 m_maxStringLengthHasBeenSet = true;
58 m_maxStringLength = value;
59 }
61 SetMaxStringLength(value);
62 return *this;
63 }
65
67
71 inline int GetMaxCollectionWidth() const { return m_maxCollectionWidth; }
72 inline bool MaxCollectionWidthHasBeenSet() const { return m_maxCollectionWidthHasBeenSet; }
73 inline void SetMaxCollectionWidth(int value) {
74 m_maxCollectionWidthHasBeenSet = true;
75 m_maxCollectionWidth = value;
76 }
79 return *this;
80 }
82
84
87 inline int GetMaxCollectionDepth() const { return m_maxCollectionDepth; }
88 inline bool MaxCollectionDepthHasBeenSet() const { return m_maxCollectionDepthHasBeenSet; }
89 inline void SetMaxCollectionDepth(int value) {
90 m_maxCollectionDepthHasBeenSet = true;
91 m_maxCollectionDepth = value;
92 }
95 return *this;
96 }
98
100
104 inline int GetMaxStackFrames() const { return m_maxStackFrames; }
105 inline bool MaxStackFramesHasBeenSet() const { return m_maxStackFramesHasBeenSet; }
106 inline void SetMaxStackFrames(int value) {
107 m_maxStackFramesHasBeenSet = true;
108 m_maxStackFrames = value;
109 }
111 SetMaxStackFrames(value);
112 return *this;
113 }
115
117
121 inline int GetMaxStackTraceSize() const { return m_maxStackTraceSize; }
122 inline bool MaxStackTraceSizeHasBeenSet() const { return m_maxStackTraceSizeHasBeenSet; }
123 inline void SetMaxStackTraceSize(int value) {
124 m_maxStackTraceSizeHasBeenSet = true;
125 m_maxStackTraceSize = value;
126 }
129 return *this;
130 }
132
134
138 inline int GetMaxObjectDepth() const { return m_maxObjectDepth; }
139 inline bool MaxObjectDepthHasBeenSet() const { return m_maxObjectDepthHasBeenSet; }
140 inline void SetMaxObjectDepth(int value) {
141 m_maxObjectDepthHasBeenSet = true;
142 m_maxObjectDepth = value;
143 }
145 SetMaxObjectDepth(value);
146 return *this;
147 }
149
151
154 inline int GetMaxFieldsPerObject() const { return m_maxFieldsPerObject; }
155 inline bool MaxFieldsPerObjectHasBeenSet() const { return m_maxFieldsPerObjectHasBeenSet; }
156 inline void SetMaxFieldsPerObject(int value) {
157 m_maxFieldsPerObjectHasBeenSet = true;
158 m_maxFieldsPerObject = value;
159 }
162 return *this;
163 }
165 private:
166 int m_maxHits{0};
167
168 int m_maxStringLength{0};
169
170 int m_maxCollectionWidth{0};
171
172 int m_maxCollectionDepth{0};
173
174 int m_maxStackFrames{0};
175
176 int m_maxStackTraceSize{0};
177
178 int m_maxObjectDepth{0};
179
180 int m_maxFieldsPerObject{0};
181 bool m_maxHitsHasBeenSet = false;
182 bool m_maxStringLengthHasBeenSet = false;
183 bool m_maxCollectionWidthHasBeenSet = false;
184 bool m_maxCollectionDepthHasBeenSet = false;
185 bool m_maxStackFramesHasBeenSet = false;
186 bool m_maxStackTraceSizeHasBeenSet = false;
187 bool m_maxObjectDepthHasBeenSet = false;
188 bool m_maxFieldsPerObjectHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace ApplicationSignals
193} // namespace Aws
CaptureLimitsConfig & WithMaxCollectionWidth(int value)
AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig()=default
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API CaptureLimitsConfig(Aws::Utils::Json::JsonView jsonValue)
CaptureLimitsConfig & WithMaxCollectionDepth(int value)
Aws::Utils::Json::JsonValue JsonValue