AWS SDK for C++

AWS SDK for C++ Version 1.11.789

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API MCPServerConfiguration() = default;
32 AWS_DEVOPSAGENT_API MCPServerConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetTools() const { return m_tools; }
41 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
42 template <typename ToolsT = Aws::Vector<Aws::String>>
43 void SetTools(ToolsT&& value) {
44 m_toolsHasBeenSet = true;
45 m_tools = std::forward<ToolsT>(value);
46 }
47 template <typename ToolsT = Aws::Vector<Aws::String>>
49 SetTools(std::forward<ToolsT>(value));
50 return *this;
51 }
52 template <typename ToolsT = Aws::String>
54 m_toolsHasBeenSet = true;
55 m_tools.emplace_back(std::forward<ToolsT>(value));
56 return *this;
57 }
59 private:
61 bool m_toolsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace DevOpsAgent
66} // namespace Aws
AWS_DEVOPSAGENT_API MCPServerConfiguration()=default
AWS_DEVOPSAGENT_API MCPServerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTools() const
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)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue