AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SkillDefinition.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
29 public:
30 AWS_BEDROCKAGENTCORE_API SkillDefinition() = default;
31 AWS_BEDROCKAGENTCORE_API SkillDefinition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API SkillDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
41 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
42 template <typename SchemaVersionT = Aws::String>
43 void SetSchemaVersion(SchemaVersionT&& value) {
44 m_schemaVersionHasBeenSet = true;
45 m_schemaVersion = std::forward<SchemaVersionT>(value);
46 }
47 template <typename SchemaVersionT = Aws::String>
48 SkillDefinition& WithSchemaVersion(SchemaVersionT&& value) {
49 SetSchemaVersion(std::forward<SchemaVersionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetInlineContent() const { return m_inlineContent; }
59 inline bool InlineContentHasBeenSet() const { return m_inlineContentHasBeenSet; }
60 template <typename InlineContentT = Aws::String>
61 void SetInlineContent(InlineContentT&& value) {
62 m_inlineContentHasBeenSet = true;
63 m_inlineContent = std::forward<InlineContentT>(value);
64 }
65 template <typename InlineContentT = Aws::String>
66 SkillDefinition& WithInlineContent(InlineContentT&& value) {
67 SetInlineContent(std::forward<InlineContentT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_schemaVersion;
73
74 Aws::String m_inlineContent;
75 bool m_schemaVersionHasBeenSet = false;
76 bool m_inlineContentHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgentCore
81} // namespace Aws
AWS_BEDROCKAGENTCORE_API SkillDefinition()=default
SkillDefinition & WithSchemaVersion(SchemaVersionT &&value)
SkillDefinition & WithInlineContent(InlineContentT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API SkillDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaVersion(SchemaVersionT &&value)
AWS_BEDROCKAGENTCORE_API SkillDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInlineContent(InlineContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue