AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
MCPServerConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/MCPToolDetail.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DevOpsAgent {
22namespace Model {
23
31 public:
32 AWS_DEVOPSAGENT_API MCPServerConfiguration() = default;
33 AWS_DEVOPSAGENT_API MCPServerConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetTools() const { return m_tools; }
42 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
43 template <typename ToolsT = Aws::Vector<Aws::String>>
44 void SetTools(ToolsT&& value) {
45 m_toolsHasBeenSet = true;
46 m_tools = std::forward<ToolsT>(value);
47 }
48 template <typename ToolsT = Aws::Vector<Aws::String>>
50 SetTools(std::forward<ToolsT>(value));
51 return *this;
52 }
53 template <typename ToolsT = Aws::String>
55 m_toolsHasBeenSet = true;
56 m_tools.emplace_back(std::forward<ToolsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<MCPToolDetail>& GetToolDetails() const { return m_toolDetails; }
67 inline bool ToolDetailsHasBeenSet() const { return m_toolDetailsHasBeenSet; }
68 template <typename ToolDetailsT = Aws::Vector<MCPToolDetail>>
69 void SetToolDetails(ToolDetailsT&& value) {
70 m_toolDetailsHasBeenSet = true;
71 m_toolDetails = std::forward<ToolDetailsT>(value);
72 }
73 template <typename ToolDetailsT = Aws::Vector<MCPToolDetail>>
74 MCPServerConfiguration& WithToolDetails(ToolDetailsT&& value) {
75 SetToolDetails(std::forward<ToolDetailsT>(value));
76 return *this;
77 }
78 template <typename ToolDetailsT = MCPToolDetail>
79 MCPServerConfiguration& AddToolDetails(ToolDetailsT&& value) {
80 m_toolDetailsHasBeenSet = true;
81 m_toolDetails.emplace_back(std::forward<ToolDetailsT>(value));
82 return *this;
83 }
85 private:
87
88 Aws::Vector<MCPToolDetail> m_toolDetails;
89 bool m_toolsHasBeenSet = false;
90 bool m_toolDetailsHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace DevOpsAgent
95} // namespace Aws
AWS_DEVOPSAGENT_API MCPServerConfiguration()=default
AWS_DEVOPSAGENT_API MCPServerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MCPToolDetail > & GetToolDetails() const
const Aws::Vector< Aws::String > & GetTools() const
MCPServerConfiguration & WithToolDetails(ToolDetailsT &&value)
AWS_DEVOPSAGENT_API MCPServerConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
MCPServerConfiguration & AddTools(ToolsT &&value)
MCPServerConfiguration & WithTools(ToolsT &&value)
MCPServerConfiguration & AddToolDetails(ToolDetailsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue