AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GrafanaServiceDetails.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/MCPServerAuthorizationConfig.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 GrafanaServiceDetails() = default;
32 AWS_DEVOPSAGENT_API GrafanaServiceDetails(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>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
59 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
60 template <typename EndpointT = Aws::String>
61 void SetEndpoint(EndpointT&& value) {
62 m_endpointHasBeenSet = true;
63 m_endpoint = std::forward<EndpointT>(value);
64 }
65 template <typename EndpointT = Aws::String>
66 GrafanaServiceDetails& WithEndpoint(EndpointT&& value) {
67 SetEndpoint(std::forward<EndpointT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 GrafanaServiceDetails& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const MCPServerAuthorizationConfig& GetAuthorizationConfig() const { return m_authorizationConfig; }
95 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
96 template <typename AuthorizationConfigT = MCPServerAuthorizationConfig>
97 void SetAuthorizationConfig(AuthorizationConfigT&& value) {
98 m_authorizationConfigHasBeenSet = true;
99 m_authorizationConfig = std::forward<AuthorizationConfigT>(value);
100 }
101 template <typename AuthorizationConfigT = MCPServerAuthorizationConfig>
102 GrafanaServiceDetails& WithAuthorizationConfig(AuthorizationConfigT&& value) {
103 SetAuthorizationConfig(std::forward<AuthorizationConfigT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_name;
109
110 Aws::String m_endpoint;
111
112 Aws::String m_description;
113
114 MCPServerAuthorizationConfig m_authorizationConfig;
115 bool m_nameHasBeenSet = false;
116 bool m_endpointHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_authorizationConfigHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace DevOpsAgent
123} // namespace Aws
void SetAuthorizationConfig(AuthorizationConfigT &&value)
AWS_DEVOPSAGENT_API GrafanaServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
GrafanaServiceDetails & WithDescription(DescriptionT &&value)
GrafanaServiceDetails & WithEndpoint(EndpointT &&value)
const MCPServerAuthorizationConfig & GetAuthorizationConfig() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
GrafanaServiceDetails & WithName(NameT &&value)
AWS_DEVOPSAGENT_API GrafanaServiceDetails()=default
AWS_DEVOPSAGENT_API GrafanaServiceDetails(Aws::Utils::Json::JsonView jsonValue)
GrafanaServiceDetails & WithAuthorizationConfig(AuthorizationConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue