AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GenerationIdentifiers.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentCore {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENTCORE_API GenerationIdentifiers() = default;
33 AWS_BEDROCKAGENTCORE_API GenerationIdentifiers(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API GenerationIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetSessionIds() const { return m_sessionIds; }
42 inline bool SessionIdsHasBeenSet() const { return m_sessionIdsHasBeenSet; }
43 template <typename SessionIdsT = Aws::Vector<Aws::String>>
44 void SetSessionIds(SessionIdsT&& value) {
45 m_sessionIdsHasBeenSet = true;
46 m_sessionIds = std::forward<SessionIdsT>(value);
47 }
48 template <typename SessionIdsT = Aws::Vector<Aws::String>>
49 GenerationIdentifiers& WithSessionIds(SessionIdsT&& value) {
50 SetSessionIds(std::forward<SessionIdsT>(value));
51 return *this;
52 }
53 template <typename SessionIdsT = Aws::String>
54 GenerationIdentifiers& AddSessionIds(SessionIdsT&& value) {
55 m_sessionIdsHasBeenSet = true;
56 m_sessionIds.emplace_back(std::forward<SessionIdsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<Aws::String>& GetTraceIds() const { return m_traceIds; }
66 inline bool TraceIdsHasBeenSet() const { return m_traceIdsHasBeenSet; }
67 template <typename TraceIdsT = Aws::Vector<Aws::String>>
68 void SetTraceIds(TraceIdsT&& value) {
69 m_traceIdsHasBeenSet = true;
70 m_traceIds = std::forward<TraceIdsT>(value);
71 }
72 template <typename TraceIdsT = Aws::Vector<Aws::String>>
73 GenerationIdentifiers& WithTraceIds(TraceIdsT&& value) {
74 SetTraceIds(std::forward<TraceIdsT>(value));
75 return *this;
76 }
77 template <typename TraceIdsT = Aws::String>
78 GenerationIdentifiers& AddTraceIds(TraceIdsT&& value) {
79 m_traceIdsHasBeenSet = true;
80 m_traceIds.emplace_back(std::forward<TraceIdsT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<Aws::String> m_sessionIds;
86
87 Aws::Vector<Aws::String> m_traceIds;
88 bool m_sessionIdsHasBeenSet = false;
89 bool m_traceIdsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace BedrockAgentCore
94} // namespace Aws
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTraceIds() const
AWS_BEDROCKAGENTCORE_API GenerationIdentifiers & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API GenerationIdentifiers(Aws::Utils::Json::JsonView jsonValue)
GenerationIdentifiers & WithTraceIds(TraceIdsT &&value)
AWS_BEDROCKAGENTCORE_API GenerationIdentifiers()=default
GenerationIdentifiers & AddTraceIds(TraceIdsT &&value)
GenerationIdentifiers & WithSessionIds(SessionIdsT &&value)
GenerationIdentifiers & AddSessionIds(SessionIdsT &&value)
const Aws::Vector< Aws::String > & GetSessionIds() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue