AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Insight.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
30class Insight {
31 public:
32 AWS_BEDROCKAGENTCORE_API Insight() = default;
33 AWS_BEDROCKAGENTCORE_API Insight(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API Insight& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetInsightId() const { return m_insightId; }
42 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
43 template <typename InsightIdT = Aws::String>
44 void SetInsightId(InsightIdT&& value) {
45 m_insightIdHasBeenSet = true;
46 m_insightId = std::forward<InsightIdT>(value);
47 }
48 template <typename InsightIdT = Aws::String>
49 Insight& WithInsightId(InsightIdT&& value) {
50 SetInsightId(std::forward<InsightIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_insightId;
56 bool m_insightIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace BedrockAgentCore
61} // namespace Aws
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInsightId(InsightIdT &&value)
Definition Insight.h:44
const Aws::String & GetInsightId() const
Definition Insight.h:41
Insight & WithInsightId(InsightIdT &&value)
Definition Insight.h:49
AWS_BEDROCKAGENTCORE_API Insight(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Insight()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue