AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
MCPToolDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/ToolClassification.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 MCPToolDetail() = default;
32 AWS_DEVOPSAGENT_API MCPToolDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API MCPToolDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 MCPToolDetail& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline ToolClassification GetToolClassification() const { return m_toolClassification; }
59 inline bool ToolClassificationHasBeenSet() const { return m_toolClassificationHasBeenSet; }
61 m_toolClassificationHasBeenSet = true;
62 m_toolClassification = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_name;
71
73 bool m_nameHasBeenSet = false;
74 bool m_toolClassificationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DevOpsAgent
79} // namespace Aws
void SetToolClassification(ToolClassification value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API MCPToolDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API MCPToolDetail()=default
ToolClassification GetToolClassification() const
MCPToolDetail & WithName(NameT &&value)
MCPToolDetail & WithToolClassification(ToolClassification value)
const Aws::String & GetName() const
AWS_DEVOPSAGENT_API MCPToolDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue