AWS SDK for C++

AWS SDK for C++ Version 1.11.944

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/AgentSpaceConfiguration.h>
10#include <aws/devops-agent/model/AzureConfiguration.h>
11#include <aws/devops-agent/model/AzureDevOpsConfiguration.h>
12#include <aws/devops-agent/model/DynatraceConfiguration.h>
13#include <aws/devops-agent/model/EventChannelConfiguration.h>
14#include <aws/devops-agent/model/GitHubConfiguration.h>
15#include <aws/devops-agent/model/GitLabConfiguration.h>
16#include <aws/devops-agent/model/MCPServerConfiguration.h>
17#include <aws/devops-agent/model/MCPServerDatadogConfiguration.h>
18#include <aws/devops-agent/model/MCPServerGrafanaConfiguration.h>
19#include <aws/devops-agent/model/MCPServerNewRelicConfiguration.h>
20#include <aws/devops-agent/model/MCPServerSigV4Configuration.h>
21#include <aws/devops-agent/model/MCPServerSplunkConfiguration.h>
22#include <aws/devops-agent/model/MSTeamsConfiguration.h>
23#include <aws/devops-agent/model/PagerDutyConfiguration.h>
24#include <aws/devops-agent/model/ReleaseManagementConfiguration.h>
25#include <aws/devops-agent/model/RemoteAgentConfiguration.h>
26#include <aws/devops-agent/model/RemoteAgentSigV4Configuration.h>
27#include <aws/devops-agent/model/ServiceNowConfiguration.h>
28#include <aws/devops-agent/model/SlackConfiguration.h>
29#include <aws/devops-agent/model/SourceAwsConfiguration.h>
30#include <aws/devops-agent/model/SourceAwsOrgConfiguration.h>
31
32#include <utility>
33
34namespace Aws {
35namespace Utils {
36namespace Json {
37class JsonValue;
38class JsonView;
39} // namespace Json
40} // namespace Utils
41namespace DevOpsAgent {
42namespace Model {
43
51 public:
52 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
53 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
55 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
56
58
61 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
62 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
63 template <typename SourceAwsT = SourceAwsConfiguration>
64 void SetSourceAws(SourceAwsT&& value) {
65 m_sourceAwsHasBeenSet = true;
66 m_sourceAws = std::forward<SourceAwsT>(value);
67 }
68 template <typename SourceAwsT = SourceAwsConfiguration>
69 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
70 SetSourceAws(std::forward<SourceAwsT>(value));
71 return *this;
72 }
74
76
81 inline const SourceAwsOrgConfiguration& GetSourceAwsOrg() const { return m_sourceAwsOrg; }
82 inline bool SourceAwsOrgHasBeenSet() const { return m_sourceAwsOrgHasBeenSet; }
83 template <typename SourceAwsOrgT = SourceAwsOrgConfiguration>
84 void SetSourceAwsOrg(SourceAwsOrgT&& value) {
85 m_sourceAwsOrgHasBeenSet = true;
86 m_sourceAwsOrg = std::forward<SourceAwsOrgT>(value);
87 }
88 template <typename SourceAwsOrgT = SourceAwsOrgConfiguration>
89 ServiceConfiguration& WithSourceAwsOrg(SourceAwsOrgT&& value) {
90 SetSourceAwsOrg(std::forward<SourceAwsOrgT>(value));
91 return *this;
92 }
94
96
99 inline const AWSConfiguration& GetAws() const { return m_aws; }
100 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
101 template <typename AwsT = AWSConfiguration>
102 void SetAws(AwsT&& value) {
103 m_awsHasBeenSet = true;
104 m_aws = std::forward<AwsT>(value);
105 }
106 template <typename AwsT = AWSConfiguration>
108 SetAws(std::forward<AwsT>(value));
109 return *this;
110 }
112
114
117 inline const GitHubConfiguration& GetGithub() const { return m_github; }
118 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
119 template <typename GithubT = GitHubConfiguration>
120 void SetGithub(GithubT&& value) {
121 m_githubHasBeenSet = true;
122 m_github = std::forward<GithubT>(value);
123 }
124 template <typename GithubT = GitHubConfiguration>
126 SetGithub(std::forward<GithubT>(value));
127 return *this;
128 }
130
132
135 inline const SlackConfiguration& GetSlack() const { return m_slack; }
136 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
137 template <typename SlackT = SlackConfiguration>
138 void SetSlack(SlackT&& value) {
139 m_slackHasBeenSet = true;
140 m_slack = std::forward<SlackT>(value);
141 }
142 template <typename SlackT = SlackConfiguration>
144 SetSlack(std::forward<SlackT>(value));
145 return *this;
146 }
148
150
153 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
154 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
155 template <typename DynatraceT = DynatraceConfiguration>
156 void SetDynatrace(DynatraceT&& value) {
157 m_dynatraceHasBeenSet = true;
158 m_dynatrace = std::forward<DynatraceT>(value);
159 }
160 template <typename DynatraceT = DynatraceConfiguration>
161 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
162 SetDynatrace(std::forward<DynatraceT>(value));
163 return *this;
164 }
166
168
171 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
172 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
173 template <typename ServicenowT = ServiceNowConfiguration>
174 void SetServicenow(ServicenowT&& value) {
175 m_servicenowHasBeenSet = true;
176 m_servicenow = std::forward<ServicenowT>(value);
177 }
178 template <typename ServicenowT = ServiceNowConfiguration>
179 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
180 SetServicenow(std::forward<ServicenowT>(value));
181 return *this;
182 }
184
186
189 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
190 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
191 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
192 void SetMcpservernewrelic(McpservernewrelicT&& value) {
193 m_mcpservernewrelicHasBeenSet = true;
194 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
195 }
196 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
197 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
198 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
199 return *this;
200 }
202
204
207 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
208 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
209 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
210 void SetMcpserverdatadog(McpserverdatadogT&& value) {
211 m_mcpserverdatadogHasBeenSet = true;
212 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
213 }
214 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
215 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
216 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
217 return *this;
218 }
220
222
225 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
226 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
227 template <typename McpserverT = MCPServerConfiguration>
228 void SetMcpserver(McpserverT&& value) {
229 m_mcpserverHasBeenSet = true;
230 m_mcpserver = std::forward<McpserverT>(value);
231 }
232 template <typename McpserverT = MCPServerConfiguration>
233 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
234 SetMcpserver(std::forward<McpserverT>(value));
235 return *this;
236 }
238
240
243 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
244 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
245 template <typename GitlabT = GitLabConfiguration>
246 void SetGitlab(GitlabT&& value) {
247 m_gitlabHasBeenSet = true;
248 m_gitlab = std::forward<GitlabT>(value);
249 }
250 template <typename GitlabT = GitLabConfiguration>
252 SetGitlab(std::forward<GitlabT>(value));
253 return *this;
254 }
256
258
261 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
262 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
263 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
264 void SetMcpserversplunk(McpserversplunkT&& value) {
265 m_mcpserversplunkHasBeenSet = true;
266 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
267 }
268 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
269 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
270 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
271 return *this;
272 }
274
276
279 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
280 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
281 template <typename EventChannelT = EventChannelConfiguration>
282 void SetEventChannel(EventChannelT&& value) {
283 m_eventChannelHasBeenSet = true;
284 m_eventChannel = std::forward<EventChannelT>(value);
285 }
286 template <typename EventChannelT = EventChannelConfiguration>
287 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
288 SetEventChannel(std::forward<EventChannelT>(value));
289 return *this;
290 }
292
294
297 inline const AzureConfiguration& GetAzure() const { return m_azure; }
298 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
299 template <typename AzureT = AzureConfiguration>
300 void SetAzure(AzureT&& value) {
301 m_azureHasBeenSet = true;
302 m_azure = std::forward<AzureT>(value);
303 }
304 template <typename AzureT = AzureConfiguration>
306 SetAzure(std::forward<AzureT>(value));
307 return *this;
308 }
310
312
315 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
316 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
317 template <typename AzuredevopsT = AzureDevOpsConfiguration>
318 void SetAzuredevops(AzuredevopsT&& value) {
319 m_azuredevopsHasBeenSet = true;
320 m_azuredevops = std::forward<AzuredevopsT>(value);
321 }
322 template <typename AzuredevopsT = AzureDevOpsConfiguration>
323 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
324 SetAzuredevops(std::forward<AzuredevopsT>(value));
325 return *this;
326 }
328
330
333 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
334 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
335 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
336 void SetMcpservergrafana(McpservergrafanaT&& value) {
337 m_mcpservergrafanaHasBeenSet = true;
338 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
339 }
340 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
341 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
342 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
343 return *this;
344 }
346
348
351 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
352 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
353 template <typename PagerdutyT = PagerDutyConfiguration>
354 void SetPagerduty(PagerdutyT&& value) {
355 m_pagerdutyHasBeenSet = true;
356 m_pagerduty = std::forward<PagerdutyT>(value);
357 }
358 template <typename PagerdutyT = PagerDutyConfiguration>
359 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
360 SetPagerduty(std::forward<PagerdutyT>(value));
361 return *this;
362 }
364
366
369 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
370 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
371 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
372 void SetMcpserversigv4(Mcpserversigv4T&& value) {
373 m_mcpserversigv4HasBeenSet = true;
374 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
375 }
376 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
377 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
378 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
379 return *this;
380 }
382
384
387 inline const RemoteAgentConfiguration& GetRemoteagent() const { return m_remoteagent; }
388 inline bool RemoteagentHasBeenSet() const { return m_remoteagentHasBeenSet; }
389 template <typename RemoteagentT = RemoteAgentConfiguration>
390 void SetRemoteagent(RemoteagentT&& value) {
391 m_remoteagentHasBeenSet = true;
392 m_remoteagent = std::forward<RemoteagentT>(value);
393 }
394 template <typename RemoteagentT = RemoteAgentConfiguration>
395 ServiceConfiguration& WithRemoteagent(RemoteagentT&& value) {
396 SetRemoteagent(std::forward<RemoteagentT>(value));
397 return *this;
398 }
400
402
405 inline const RemoteAgentSigV4Configuration& GetRemoteagentsigv4() const { return m_remoteagentsigv4; }
406 inline bool Remoteagentsigv4HasBeenSet() const { return m_remoteagentsigv4HasBeenSet; }
407 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
408 void SetRemoteagentsigv4(Remoteagentsigv4T&& value) {
409 m_remoteagentsigv4HasBeenSet = true;
410 m_remoteagentsigv4 = std::forward<Remoteagentsigv4T>(value);
411 }
412 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
413 ServiceConfiguration& WithRemoteagentsigv4(Remoteagentsigv4T&& value) {
414 SetRemoteagentsigv4(std::forward<Remoteagentsigv4T>(value));
415 return *this;
416 }
418
420
424 inline const MSTeamsConfiguration& GetMsteams() const { return m_msteams; }
425 inline bool MsteamsHasBeenSet() const { return m_msteamsHasBeenSet; }
426 template <typename MsteamsT = MSTeamsConfiguration>
427 void SetMsteams(MsteamsT&& value) {
428 m_msteamsHasBeenSet = true;
429 m_msteams = std::forward<MsteamsT>(value);
430 }
431 template <typename MsteamsT = MSTeamsConfiguration>
433 SetMsteams(std::forward<MsteamsT>(value));
434 return *this;
435 }
437
439
444 inline const AgentSpaceConfiguration& GetAgentspace() const { return m_agentspace; }
445 inline bool AgentspaceHasBeenSet() const { return m_agentspaceHasBeenSet; }
446 template <typename AgentspaceT = AgentSpaceConfiguration>
447 void SetAgentspace(AgentspaceT&& value) {
448 m_agentspaceHasBeenSet = true;
449 m_agentspace = std::forward<AgentspaceT>(value);
450 }
451 template <typename AgentspaceT = AgentSpaceConfiguration>
452 ServiceConfiguration& WithAgentspace(AgentspaceT&& value) {
453 SetAgentspace(std::forward<AgentspaceT>(value));
454 return *this;
455 }
457
459
462 inline const ReleaseManagementConfiguration& GetReleaseManagement() const { return m_releaseManagement; }
463 inline bool ReleaseManagementHasBeenSet() const { return m_releaseManagementHasBeenSet; }
464 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
465 void SetReleaseManagement(ReleaseManagementT&& value) {
466 m_releaseManagementHasBeenSet = true;
467 m_releaseManagement = std::forward<ReleaseManagementT>(value);
468 }
469 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
470 ServiceConfiguration& WithReleaseManagement(ReleaseManagementT&& value) {
471 SetReleaseManagement(std::forward<ReleaseManagementT>(value));
472 return *this;
473 }
475 private:
476 SourceAwsConfiguration m_sourceAws;
477
478 SourceAwsOrgConfiguration m_sourceAwsOrg;
479
480 AWSConfiguration m_aws;
481
482 GitHubConfiguration m_github;
483
484 SlackConfiguration m_slack;
485
486 DynatraceConfiguration m_dynatrace;
487
488 ServiceNowConfiguration m_servicenow;
489
490 MCPServerNewRelicConfiguration m_mcpservernewrelic;
491
492 MCPServerDatadogConfiguration m_mcpserverdatadog;
493
494 MCPServerConfiguration m_mcpserver;
495
496 GitLabConfiguration m_gitlab;
497
498 MCPServerSplunkConfiguration m_mcpserversplunk;
499
500 EventChannelConfiguration m_eventChannel;
501
502 AzureConfiguration m_azure;
503
504 AzureDevOpsConfiguration m_azuredevops;
505
506 MCPServerGrafanaConfiguration m_mcpservergrafana;
507
508 PagerDutyConfiguration m_pagerduty;
509
510 MCPServerSigV4Configuration m_mcpserversigv4;
511
512 RemoteAgentConfiguration m_remoteagent;
513
514 RemoteAgentSigV4Configuration m_remoteagentsigv4;
515
516 MSTeamsConfiguration m_msteams;
517
518 AgentSpaceConfiguration m_agentspace;
519
520 ReleaseManagementConfiguration m_releaseManagement;
521 bool m_sourceAwsHasBeenSet = false;
522 bool m_sourceAwsOrgHasBeenSet = false;
523 bool m_awsHasBeenSet = false;
524 bool m_githubHasBeenSet = false;
525 bool m_slackHasBeenSet = false;
526 bool m_dynatraceHasBeenSet = false;
527 bool m_servicenowHasBeenSet = false;
528 bool m_mcpservernewrelicHasBeenSet = false;
529 bool m_mcpserverdatadogHasBeenSet = false;
530 bool m_mcpserverHasBeenSet = false;
531 bool m_gitlabHasBeenSet = false;
532 bool m_mcpserversplunkHasBeenSet = false;
533 bool m_eventChannelHasBeenSet = false;
534 bool m_azureHasBeenSet = false;
535 bool m_azuredevopsHasBeenSet = false;
536 bool m_mcpservergrafanaHasBeenSet = false;
537 bool m_pagerdutyHasBeenSet = false;
538 bool m_mcpserversigv4HasBeenSet = false;
539 bool m_remoteagentHasBeenSet = false;
540 bool m_remoteagentsigv4HasBeenSet = false;
541 bool m_msteamsHasBeenSet = false;
542 bool m_agentspaceHasBeenSet = false;
543 bool m_releaseManagementHasBeenSet = false;
544};
545
546} // namespace Model
547} // namespace DevOpsAgent
548} // namespace Aws
ServiceConfiguration & WithAws(AwsT &&value)
const SlackConfiguration & GetSlack() const
ServiceConfiguration & WithGithub(GithubT &&value)
ServiceConfiguration & WithAzuredevops(AzuredevopsT &&value)
ServiceConfiguration & WithAzure(AzureT &&value)
ServiceConfiguration & WithMcpserversigv4(Mcpserversigv4T &&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 RemoteAgentSigV4Configuration & GetRemoteagentsigv4() const
ServiceConfiguration & WithSourceAwsOrg(SourceAwsOrgT &&value)
const DynatraceConfiguration & GetDynatrace() const
const MCPServerSigV4Configuration & GetMcpserversigv4() const
const SourceAwsOrgConfiguration & GetSourceAwsOrg() const
ServiceConfiguration & WithEventChannel(EventChannelT &&value)
const MSTeamsConfiguration & GetMsteams() const
ServiceConfiguration & WithPagerduty(PagerdutyT &&value)
const ReleaseManagementConfiguration & GetReleaseManagement() const
const GitHubConfiguration & GetGithub() const
const AzureDevOpsConfiguration & GetAzuredevops() const
const AzureConfiguration & GetAzure() const
ServiceConfiguration & WithRemoteagent(RemoteagentT &&value)
AWS_DEVOPSAGENT_API ServiceConfiguration()=default
AWS_DEVOPSAGENT_API ServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MCPServerConfiguration & GetMcpserver() const
const MCPServerSplunkConfiguration & GetMcpserversplunk() const
const RemoteAgentConfiguration & GetRemoteagent() const
ServiceConfiguration & WithServicenow(ServicenowT &&value)
const MCPServerNewRelicConfiguration & GetMcpservernewrelic() const
void SetRemoteagentsigv4(Remoteagentsigv4T &&value)
const AgentSpaceConfiguration & GetAgentspace() const
const SourceAwsConfiguration & GetSourceAws() const
ServiceConfiguration & WithGitlab(GitlabT &&value)
ServiceConfiguration & WithAgentspace(AgentspaceT &&value)
ServiceConfiguration & WithSlack(SlackT &&value)
const MCPServerDatadogConfiguration & GetMcpserverdatadog() const
void SetReleaseManagement(ReleaseManagementT &&value)
const ServiceNowConfiguration & GetServicenow() const
ServiceConfiguration & WithMcpserverdatadog(McpserverdatadogT &&value)
const GitLabConfiguration & GetGitlab() const
ServiceConfiguration & WithRemoteagentsigv4(Remoteagentsigv4T &&value)
ServiceConfiguration & WithDynatrace(DynatraceT &&value)
ServiceConfiguration & WithMcpservergrafana(McpservergrafanaT &&value)
ServiceConfiguration & WithSourceAws(SourceAwsT &&value)
ServiceConfiguration & WithMsteams(MsteamsT &&value)
ServiceConfiguration & WithReleaseManagement(ReleaseManagementT &&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