AWS SDK for C++

AWS SDK for C++ Version 1.11.853

Loading...
Searching...
No Matches
CodeCaptureConfiguration.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/CaptureLimitsConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApplicationSignals {
22namespace Model {
23
32 public:
33 AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration() = default;
34 AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<Aws::String>& GetCaptureArguments() const { return m_captureArguments; }
45 inline bool CaptureArgumentsHasBeenSet() const { return m_captureArgumentsHasBeenSet; }
46 template <typename CaptureArgumentsT = Aws::Vector<Aws::String>>
47 void SetCaptureArguments(CaptureArgumentsT&& value) {
48 m_captureArgumentsHasBeenSet = true;
49 m_captureArguments = std::forward<CaptureArgumentsT>(value);
50 }
51 template <typename CaptureArgumentsT = Aws::Vector<Aws::String>>
52 CodeCaptureConfiguration& WithCaptureArguments(CaptureArgumentsT&& value) {
53 SetCaptureArguments(std::forward<CaptureArgumentsT>(value));
54 return *this;
55 }
56 template <typename CaptureArgumentsT = Aws::String>
57 CodeCaptureConfiguration& AddCaptureArguments(CaptureArgumentsT&& value) {
58 m_captureArgumentsHasBeenSet = true;
59 m_captureArguments.emplace_back(std::forward<CaptureArgumentsT>(value));
60 return *this;
61 }
63
65
68 inline bool GetCaptureReturn() const { return m_captureReturn; }
69 inline bool CaptureReturnHasBeenSet() const { return m_captureReturnHasBeenSet; }
70 inline void SetCaptureReturn(bool value) {
71 m_captureReturnHasBeenSet = true;
72 m_captureReturn = value;
73 }
75 SetCaptureReturn(value);
76 return *this;
77 }
79
81
85 inline bool GetCaptureStackTrace() const { return m_captureStackTrace; }
86 inline bool CaptureStackTraceHasBeenSet() const { return m_captureStackTraceHasBeenSet; }
87 inline void SetCaptureStackTrace(bool value) {
88 m_captureStackTraceHasBeenSet = true;
89 m_captureStackTrace = value;
90 }
93 return *this;
94 }
96
98
102 inline const Aws::Vector<Aws::String>& GetCaptureLocals() const { return m_captureLocals; }
103 inline bool CaptureLocalsHasBeenSet() const { return m_captureLocalsHasBeenSet; }
104 template <typename CaptureLocalsT = Aws::Vector<Aws::String>>
105 void SetCaptureLocals(CaptureLocalsT&& value) {
106 m_captureLocalsHasBeenSet = true;
107 m_captureLocals = std::forward<CaptureLocalsT>(value);
108 }
109 template <typename CaptureLocalsT = Aws::Vector<Aws::String>>
111 SetCaptureLocals(std::forward<CaptureLocalsT>(value));
112 return *this;
113 }
114 template <typename CaptureLocalsT = Aws::String>
116 m_captureLocalsHasBeenSet = true;
117 m_captureLocals.emplace_back(std::forward<CaptureLocalsT>(value));
118 return *this;
119 }
121
123
127 inline const CaptureLimitsConfig& GetCaptureLimits() const { return m_captureLimits; }
128 inline bool CaptureLimitsHasBeenSet() const { return m_captureLimitsHasBeenSet; }
129 template <typename CaptureLimitsT = CaptureLimitsConfig>
130 void SetCaptureLimits(CaptureLimitsT&& value) {
131 m_captureLimitsHasBeenSet = true;
132 m_captureLimits = std::forward<CaptureLimitsT>(value);
133 }
134 template <typename CaptureLimitsT = CaptureLimitsConfig>
136 SetCaptureLimits(std::forward<CaptureLimitsT>(value));
137 return *this;
138 }
140 private:
141 Aws::Vector<Aws::String> m_captureArguments;
142
143 bool m_captureReturn{false};
144
145 bool m_captureStackTrace{false};
146
147 Aws::Vector<Aws::String> m_captureLocals;
148
149 CaptureLimitsConfig m_captureLimits;
150 bool m_captureArgumentsHasBeenSet = false;
151 bool m_captureReturnHasBeenSet = false;
152 bool m_captureStackTraceHasBeenSet = false;
153 bool m_captureLocalsHasBeenSet = false;
154 bool m_captureLimitsHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace ApplicationSignals
159} // namespace Aws
CodeCaptureConfiguration & WithCaptureLimits(CaptureLimitsT &&value)
CodeCaptureConfiguration & WithCaptureLocals(CaptureLocalsT &&value)
CodeCaptureConfiguration & WithCaptureArguments(CaptureArgumentsT &&value)
AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeCaptureConfiguration & AddCaptureArguments(CaptureArgumentsT &&value)
CodeCaptureConfiguration & AddCaptureLocals(CaptureLocalsT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetCaptureArguments() const
AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API CodeCaptureConfiguration()=default
const Aws::Vector< Aws::String > & GetCaptureLocals() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue