AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
RegisteredGrafanaServerDetails.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/MCPServerAuthorizationMethod.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 RegisteredGrafanaServerDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
41 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
42 template <typename EndpointT = Aws::String>
43 void SetEndpoint(EndpointT&& value) {
44 m_endpointHasBeenSet = true;
45 m_endpoint = std::forward<EndpointT>(value);
46 }
47 template <typename EndpointT = Aws::String>
49 SetEndpoint(std::forward<EndpointT>(value));
50 return *this;
51 }
53
55
58 inline MCPServerAuthorizationMethod GetAuthorizationMethod() const { return m_authorizationMethod; }
59 inline bool AuthorizationMethodHasBeenSet() const { return m_authorizationMethodHasBeenSet; }
61 m_authorizationMethodHasBeenSet = true;
62 m_authorizationMethod = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_endpoint;
71
73 bool m_endpointHasBeenSet = false;
74 bool m_authorizationMethodHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DevOpsAgent
79} // namespace Aws
AWS_DEVOPSAGENT_API RegisteredGrafanaServerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API RegisteredGrafanaServerDetails()=default
AWS_DEVOPSAGENT_API RegisteredGrafanaServerDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RegisteredGrafanaServerDetails & WithAuthorizationMethod(MCPServerAuthorizationMethod value)
RegisteredGrafanaServerDetails & WithEndpoint(EndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue