7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/SessionFinding.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BedrockAgentCore {
45 template <
typename SessionIdT = Aws::String>
47 m_sessionIdHasBeenSet =
true;
48 m_sessionId = std::forward<SessionIdT>(value);
50 template <
typename SessionIdT = Aws::String>
64 template <
typename LastSeenAtT = Aws::Utils::DateTime>
66 m_lastSeenAtHasBeenSet =
true;
67 m_lastSeenAt = std::forward<LastSeenAtT>(value);
69 template <
typename LastSeenAtT = Aws::Utils::DateTime>
83 template <
typename FindingsT = Aws::Vector<SessionFinding>>
85 m_findingsHasBeenSet =
true;
86 m_findings = std::forward<FindingsT>(value);
88 template <
typename FindingsT = Aws::Vector<SessionFinding>>
93 template <
typename FindingsT = SessionFinding>
95 m_findingsHasBeenSet =
true;
96 m_findings.emplace_back(std::forward<FindingsT>(value));
106 bool m_sessionIdHasBeenSet =
false;
107 bool m_lastSeenAtHasBeenSet =
false;
108 bool m_findingsHasBeenSet =
false;
bool SessionIdHasBeenSet() const
SampleSession & WithSessionId(SessionIdT &&value)
const Aws::String & GetSessionId() const
AWS_BEDROCKAGENTCORE_API SampleSession(Aws::Utils::Json::JsonView jsonValue)
SampleSession & WithLastSeenAt(LastSeenAtT &&value)
SampleSession & WithFindings(FindingsT &&value)
SampleSession & AddFindings(FindingsT &&value)
void SetSessionId(SessionIdT &&value)
bool FindingsHasBeenSet() const
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastSeenAt() const
AWS_BEDROCKAGENTCORE_API SampleSession()=default
AWS_BEDROCKAGENTCORE_API SampleSession & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastSeenAtHasBeenSet() const
void SetLastSeenAt(LastSeenAtT &&value)
const Aws::Vector< SessionFinding > & GetFindings() const
void SetFindings(FindingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue