AWS SDK for C++

AWS SDK for C++ Version 1.11.934

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