AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SessionSummaryConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgent {
17namespace Model {
18
26 public:
27 AWS_BEDROCKAGENT_API SessionSummaryConfiguration() = default;
30 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetMaxRecentSessions() const { return m_maxRecentSessions; }
38 inline bool MaxRecentSessionsHasBeenSet() const { return m_maxRecentSessionsHasBeenSet; }
39 inline void SetMaxRecentSessions(int value) {
40 m_maxRecentSessionsHasBeenSet = true;
41 m_maxRecentSessions = value;
42 }
45 return *this;
46 }
48 private:
49 int m_maxRecentSessions{0};
50 bool m_maxRecentSessionsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace BedrockAgent
55} // namespace Aws
SessionSummaryConfiguration & WithMaxRecentSessions(int value)
AWS_BEDROCKAGENT_API SessionSummaryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API SessionSummaryConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API SessionSummaryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue