AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DatadogServiceDetails.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/DatadogAuthorizationConfig.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 DatadogServiceDetails() = default;
32 AWS_DEVOPSAGENT_API DatadogServiceDetails(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 DatadogServiceDetails& 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 DatadogServiceDetails& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
95 inline const DatadogAuthorizationConfig& GetAuthorizationConfig() const { return m_authorizationConfig; }
96 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
97 template <typename AuthorizationConfigT = DatadogAuthorizationConfig>
98 void SetAuthorizationConfig(AuthorizationConfigT&& value) {
99 m_authorizationConfigHasBeenSet = true;
100 m_authorizationConfig = std::forward<AuthorizationConfigT>(value);
101 }
102 template <typename AuthorizationConfigT = DatadogAuthorizationConfig>
103 DatadogServiceDetails& WithAuthorizationConfig(AuthorizationConfigT&& value) {
104 SetAuthorizationConfig(std::forward<AuthorizationConfigT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_name;
110
111 Aws::String m_endpoint;
112
113 Aws::String m_description;
114
115 DatadogAuthorizationConfig m_authorizationConfig;
116 bool m_nameHasBeenSet = false;
117 bool m_endpointHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_authorizationConfigHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace DevOpsAgent
124} // namespace Aws
const DatadogAuthorizationConfig & GetAuthorizationConfig() const
void SetAuthorizationConfig(AuthorizationConfigT &&value)
DatadogServiceDetails & WithName(NameT &&value)
DatadogServiceDetails & WithEndpoint(EndpointT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API DatadogServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API DatadogServiceDetails()=default
DatadogServiceDetails & WithAuthorizationConfig(AuthorizationConfigT &&value)
AWS_DEVOPSAGENT_API DatadogServiceDetails(Aws::Utils::Json::JsonView jsonValue)
DatadogServiceDetails & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue