AWS SDK for C++

AWS SDK for C++ Version 1.11.789

Loading...
Searching...
No Matches
ServiceConfiguration.h
1
6#pragma once
7#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
8#include <aws/devops-agent/model/AWSConfiguration.h>
9#include <aws/devops-agent/model/AzureConfiguration.h>
10#include <aws/devops-agent/model/AzureDevOpsConfiguration.h>
11#include <aws/devops-agent/model/DynatraceConfiguration.h>
12#include <aws/devops-agent/model/EventChannelConfiguration.h>
13#include <aws/devops-agent/model/GitHubConfiguration.h>
14#include <aws/devops-agent/model/GitLabConfiguration.h>
15#include <aws/devops-agent/model/MCPServerConfiguration.h>
16#include <aws/devops-agent/model/MCPServerDatadogConfiguration.h>
17#include <aws/devops-agent/model/MCPServerGrafanaConfiguration.h>
18#include <aws/devops-agent/model/MCPServerNewRelicConfiguration.h>
19#include <aws/devops-agent/model/MCPServerSplunkConfiguration.h>
20#include <aws/devops-agent/model/PagerDutyConfiguration.h>
21#include <aws/devops-agent/model/ServiceNowConfiguration.h>
22#include <aws/devops-agent/model/SlackConfiguration.h>
23#include <aws/devops-agent/model/SourceAwsConfiguration.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace DevOpsAgent {
35namespace Model {
36
44 public:
45 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
46 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
48 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
55 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
56 template <typename SourceAwsT = SourceAwsConfiguration>
57 void SetSourceAws(SourceAwsT&& value) {
58 m_sourceAwsHasBeenSet = true;
59 m_sourceAws = std::forward<SourceAwsT>(value);
60 }
61 template <typename SourceAwsT = SourceAwsConfiguration>
62 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
63 SetSourceAws(std::forward<SourceAwsT>(value));
64 return *this;
65 }
67
69
72 inline const AWSConfiguration& GetAws() const { return m_aws; }
73 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
74 template <typename AwsT = AWSConfiguration>
75 void SetAws(AwsT&& value) {
76 m_awsHasBeenSet = true;
77 m_aws = std::forward<AwsT>(value);
78 }
79 template <typename AwsT = AWSConfiguration>
81 SetAws(std::forward<AwsT>(value));
82 return *this;
83 }
85
87
90 inline const GitHubConfiguration& GetGithub() const { return m_github; }
91 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
92 template <typename GithubT = GitHubConfiguration>
93 void SetGithub(GithubT&& value) {
94 m_githubHasBeenSet = true;
95 m_github = std::forward<GithubT>(value);
96 }
97 template <typename GithubT = GitHubConfiguration>
98 ServiceConfiguration& WithGithub(GithubT&& value) {
99 SetGithub(std::forward<GithubT>(value));
100 return *this;
101 }
103
105
108 inline const SlackConfiguration& GetSlack() const { return m_slack; }
109 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
110 template <typename SlackT = SlackConfiguration>
111 void SetSlack(SlackT&& value) {
112 m_slackHasBeenSet = true;
113 m_slack = std::forward<SlackT>(value);
114 }
115 template <typename SlackT = SlackConfiguration>
117 SetSlack(std::forward<SlackT>(value));
118 return *this;
119 }
121
123
126 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
127 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
128 template <typename DynatraceT = DynatraceConfiguration>
129 void SetDynatrace(DynatraceT&& value) {
130 m_dynatraceHasBeenSet = true;
131 m_dynatrace = std::forward<DynatraceT>(value);
132 }
133 template <typename DynatraceT = DynatraceConfiguration>
134 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
135 SetDynatrace(std::forward<DynatraceT>(value));
136 return *this;
137 }
139
141
144 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
145 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
146 template <typename ServicenowT = ServiceNowConfiguration>
147 void SetServicenow(ServicenowT&& value) {
148 m_servicenowHasBeenSet = true;
149 m_servicenow = std::forward<ServicenowT>(value);
150 }
151 template <typename ServicenowT = ServiceNowConfiguration>
152 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
153 SetServicenow(std::forward<ServicenowT>(value));
154 return *this;
155 }
157
159
162 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
163 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
164 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
165 void SetMcpservernewrelic(McpservernewrelicT&& value) {
166 m_mcpservernewrelicHasBeenSet = true;
167 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
168 }
169 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
170 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
171 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
172 return *this;
173 }
175
177
180 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
181 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
182 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
183 void SetMcpserverdatadog(McpserverdatadogT&& value) {
184 m_mcpserverdatadogHasBeenSet = true;
185 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
186 }
187 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
188 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
189 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
190 return *this;
191 }
193
195
198 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
199 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
200 template <typename McpserverT = MCPServerConfiguration>
201 void SetMcpserver(McpserverT&& value) {
202 m_mcpserverHasBeenSet = true;
203 m_mcpserver = std::forward<McpserverT>(value);
204 }
205 template <typename McpserverT = MCPServerConfiguration>
206 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
207 SetMcpserver(std::forward<McpserverT>(value));
208 return *this;
209 }
211
213
216 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
217 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
218 template <typename GitlabT = GitLabConfiguration>
219 void SetGitlab(GitlabT&& value) {
220 m_gitlabHasBeenSet = true;
221 m_gitlab = std::forward<GitlabT>(value);
222 }
223 template <typename GitlabT = GitLabConfiguration>
225 SetGitlab(std::forward<GitlabT>(value));
226 return *this;
227 }
229
231
234 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
235 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
236 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
237 void SetMcpserversplunk(McpserversplunkT&& value) {
238 m_mcpserversplunkHasBeenSet = true;
239 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
240 }
241 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
242 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
243 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
244 return *this;
245 }
247
249
252 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
253 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
254 template <typename EventChannelT = EventChannelConfiguration>
255 void SetEventChannel(EventChannelT&& value) {
256 m_eventChannelHasBeenSet = true;
257 m_eventChannel = std::forward<EventChannelT>(value);
258 }
259 template <typename EventChannelT = EventChannelConfiguration>
260 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
261 SetEventChannel(std::forward<EventChannelT>(value));
262 return *this;
263 }
265
267
270 inline const AzureConfiguration& GetAzure() const { return m_azure; }
271 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
272 template <typename AzureT = AzureConfiguration>
273 void SetAzure(AzureT&& value) {
274 m_azureHasBeenSet = true;
275 m_azure = std::forward<AzureT>(value);
276 }
277 template <typename AzureT = AzureConfiguration>
279 SetAzure(std::forward<AzureT>(value));
280 return *this;
281 }
283
285
288 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
289 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
290 template <typename AzuredevopsT = AzureDevOpsConfiguration>
291 void SetAzuredevops(AzuredevopsT&& value) {
292 m_azuredevopsHasBeenSet = true;
293 m_azuredevops = std::forward<AzuredevopsT>(value);
294 }
295 template <typename AzuredevopsT = AzureDevOpsConfiguration>
296 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
297 SetAzuredevops(std::forward<AzuredevopsT>(value));
298 return *this;
299 }
301
303
306 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
307 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
308 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
309 void SetMcpservergrafana(McpservergrafanaT&& value) {
310 m_mcpservergrafanaHasBeenSet = true;
311 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
312 }
313 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
314 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
315 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
316 return *this;
317 }
319
321
324 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
325 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
326 template <typename PagerdutyT = PagerDutyConfiguration>
327 void SetPagerduty(PagerdutyT&& value) {
328 m_pagerdutyHasBeenSet = true;
329 m_pagerduty = std::forward<PagerdutyT>(value);
330 }
331 template <typename PagerdutyT = PagerDutyConfiguration>
332 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
333 SetPagerduty(std::forward<PagerdutyT>(value));
334 return *this;
335 }
337 private:
338 SourceAwsConfiguration m_sourceAws;
339
340 AWSConfiguration m_aws;
341
342 GitHubConfiguration m_github;
343
344 SlackConfiguration m_slack;
345
346 DynatraceConfiguration m_dynatrace;
347
348 ServiceNowConfiguration m_servicenow;
349
350 MCPServerNewRelicConfiguration m_mcpservernewrelic;
351
352 MCPServerDatadogConfiguration m_mcpserverdatadog;
353
354 MCPServerConfiguration m_mcpserver;
355
356 GitLabConfiguration m_gitlab;
357
358 MCPServerSplunkConfiguration m_mcpserversplunk;
359
360 EventChannelConfiguration m_eventChannel;
361
362 AzureConfiguration m_azure;
363
364 AzureDevOpsConfiguration m_azuredevops;
365
366 MCPServerGrafanaConfiguration m_mcpservergrafana;
367
368 PagerDutyConfiguration m_pagerduty;
369 bool m_sourceAwsHasBeenSet = false;
370 bool m_awsHasBeenSet = false;
371 bool m_githubHasBeenSet = false;
372 bool m_slackHasBeenSet = false;
373 bool m_dynatraceHasBeenSet = false;
374 bool m_servicenowHasBeenSet = false;
375 bool m_mcpservernewrelicHasBeenSet = false;
376 bool m_mcpserverdatadogHasBeenSet = false;
377 bool m_mcpserverHasBeenSet = false;
378 bool m_gitlabHasBeenSet = false;
379 bool m_mcpserversplunkHasBeenSet = false;
380 bool m_eventChannelHasBeenSet = false;
381 bool m_azureHasBeenSet = false;
382 bool m_azuredevopsHasBeenSet = false;
383 bool m_mcpservergrafanaHasBeenSet = false;
384 bool m_pagerdutyHasBeenSet = false;
385};
386
387} // namespace Model
388} // namespace DevOpsAgent
389} // namespace Aws
ServiceConfiguration & WithAws(AwsT &&value)
const SlackConfiguration & GetSlack() const
ServiceConfiguration & WithGithub(GithubT &&value)
ServiceConfiguration & WithAzuredevops(AzuredevopsT &&value)
ServiceConfiguration & WithAzure(AzureT &&value)
AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMcpservernewrelic(McpservernewrelicT &&value)
ServiceConfiguration & WithMcpservernewrelic(McpservernewrelicT &&value)
ServiceConfiguration & WithMcpserver(McpserverT &&value)
const DynatraceConfiguration & GetDynatrace() const
ServiceConfiguration & WithEventChannel(EventChannelT &&value)
ServiceConfiguration & WithPagerduty(PagerdutyT &&value)
const GitHubConfiguration & GetGithub() const
const AzureDevOpsConfiguration & GetAzuredevops() const
const AzureConfiguration & GetAzure() const
AWS_DEVOPSAGENT_API ServiceConfiguration()=default
AWS_DEVOPSAGENT_API ServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MCPServerConfiguration & GetMcpserver() const
const MCPServerSplunkConfiguration & GetMcpserversplunk() const
ServiceConfiguration & WithServicenow(ServicenowT &&value)
const MCPServerNewRelicConfiguration & GetMcpservernewrelic() const
const SourceAwsConfiguration & GetSourceAws() const
ServiceConfiguration & WithGitlab(GitlabT &&value)
ServiceConfiguration & WithSlack(SlackT &&value)
const MCPServerDatadogConfiguration & GetMcpserverdatadog() const
const ServiceNowConfiguration & GetServicenow() const
ServiceConfiguration & WithMcpserverdatadog(McpserverdatadogT &&value)
const GitLabConfiguration & GetGitlab() const
ServiceConfiguration & WithDynatrace(DynatraceT &&value)
ServiceConfiguration & WithMcpservergrafana(McpservergrafanaT &&value)
ServiceConfiguration & WithSourceAws(SourceAwsT &&value)
const EventChannelConfiguration & GetEventChannel() const
const MCPServerGrafanaConfiguration & GetMcpservergrafana() const
const PagerDutyConfiguration & GetPagerduty() const
void SetMcpservergrafana(McpservergrafanaT &&value)
ServiceConfiguration & WithMcpserversplunk(McpserversplunkT &&value)
void SetMcpserverdatadog(McpserverdatadogT &&value)
Aws::Utils::Json::JsonValue JsonValue