AWS SDK for C++

AWS SDK for C++ Version 1.11.927

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/MCPServerSigV4Configuration.h>
20#include <aws/devops-agent/model/MCPServerSplunkConfiguration.h>
21#include <aws/devops-agent/model/MSTeamsConfiguration.h>
22#include <aws/devops-agent/model/PagerDutyConfiguration.h>
23#include <aws/devops-agent/model/ReleaseManagementConfiguration.h>
24#include <aws/devops-agent/model/RemoteAgentConfiguration.h>
25#include <aws/devops-agent/model/RemoteAgentSigV4Configuration.h>
26#include <aws/devops-agent/model/ServiceNowConfiguration.h>
27#include <aws/devops-agent/model/SlackConfiguration.h>
28#include <aws/devops-agent/model/SourceAwsConfiguration.h>
29
30#include <utility>
31
32namespace Aws {
33namespace Utils {
34namespace Json {
35class JsonValue;
36class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace DevOpsAgent {
40namespace Model {
41
49 public:
50 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
51 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
53 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
54
56
59 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
60 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
61 template <typename SourceAwsT = SourceAwsConfiguration>
62 void SetSourceAws(SourceAwsT&& value) {
63 m_sourceAwsHasBeenSet = true;
64 m_sourceAws = std::forward<SourceAwsT>(value);
65 }
66 template <typename SourceAwsT = SourceAwsConfiguration>
67 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
68 SetSourceAws(std::forward<SourceAwsT>(value));
69 return *this;
70 }
72
74
77 inline const AWSConfiguration& GetAws() const { return m_aws; }
78 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
79 template <typename AwsT = AWSConfiguration>
80 void SetAws(AwsT&& value) {
81 m_awsHasBeenSet = true;
82 m_aws = std::forward<AwsT>(value);
83 }
84 template <typename AwsT = AWSConfiguration>
86 SetAws(std::forward<AwsT>(value));
87 return *this;
88 }
90
92
95 inline const GitHubConfiguration& GetGithub() const { return m_github; }
96 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
97 template <typename GithubT = GitHubConfiguration>
98 void SetGithub(GithubT&& value) {
99 m_githubHasBeenSet = true;
100 m_github = std::forward<GithubT>(value);
101 }
102 template <typename GithubT = GitHubConfiguration>
104 SetGithub(std::forward<GithubT>(value));
105 return *this;
106 }
108
110
113 inline const SlackConfiguration& GetSlack() const { return m_slack; }
114 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
115 template <typename SlackT = SlackConfiguration>
116 void SetSlack(SlackT&& value) {
117 m_slackHasBeenSet = true;
118 m_slack = std::forward<SlackT>(value);
119 }
120 template <typename SlackT = SlackConfiguration>
122 SetSlack(std::forward<SlackT>(value));
123 return *this;
124 }
126
128
131 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
132 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
133 template <typename DynatraceT = DynatraceConfiguration>
134 void SetDynatrace(DynatraceT&& value) {
135 m_dynatraceHasBeenSet = true;
136 m_dynatrace = std::forward<DynatraceT>(value);
137 }
138 template <typename DynatraceT = DynatraceConfiguration>
139 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
140 SetDynatrace(std::forward<DynatraceT>(value));
141 return *this;
142 }
144
146
149 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
150 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
151 template <typename ServicenowT = ServiceNowConfiguration>
152 void SetServicenow(ServicenowT&& value) {
153 m_servicenowHasBeenSet = true;
154 m_servicenow = std::forward<ServicenowT>(value);
155 }
156 template <typename ServicenowT = ServiceNowConfiguration>
157 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
158 SetServicenow(std::forward<ServicenowT>(value));
159 return *this;
160 }
162
164
167 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
168 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
169 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
170 void SetMcpservernewrelic(McpservernewrelicT&& value) {
171 m_mcpservernewrelicHasBeenSet = true;
172 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
173 }
174 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
175 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
176 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
177 return *this;
178 }
180
182
185 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
186 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
187 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
188 void SetMcpserverdatadog(McpserverdatadogT&& value) {
189 m_mcpserverdatadogHasBeenSet = true;
190 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
191 }
192 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
193 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
194 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
195 return *this;
196 }
198
200
203 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
204 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
205 template <typename McpserverT = MCPServerConfiguration>
206 void SetMcpserver(McpserverT&& value) {
207 m_mcpserverHasBeenSet = true;
208 m_mcpserver = std::forward<McpserverT>(value);
209 }
210 template <typename McpserverT = MCPServerConfiguration>
211 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
212 SetMcpserver(std::forward<McpserverT>(value));
213 return *this;
214 }
216
218
221 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
222 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
223 template <typename GitlabT = GitLabConfiguration>
224 void SetGitlab(GitlabT&& value) {
225 m_gitlabHasBeenSet = true;
226 m_gitlab = std::forward<GitlabT>(value);
227 }
228 template <typename GitlabT = GitLabConfiguration>
230 SetGitlab(std::forward<GitlabT>(value));
231 return *this;
232 }
234
236
239 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
240 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
241 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
242 void SetMcpserversplunk(McpserversplunkT&& value) {
243 m_mcpserversplunkHasBeenSet = true;
244 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
245 }
246 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
247 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
248 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
249 return *this;
250 }
252
254
257 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
258 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
259 template <typename EventChannelT = EventChannelConfiguration>
260 void SetEventChannel(EventChannelT&& value) {
261 m_eventChannelHasBeenSet = true;
262 m_eventChannel = std::forward<EventChannelT>(value);
263 }
264 template <typename EventChannelT = EventChannelConfiguration>
265 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
266 SetEventChannel(std::forward<EventChannelT>(value));
267 return *this;
268 }
270
272
275 inline const AzureConfiguration& GetAzure() const { return m_azure; }
276 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
277 template <typename AzureT = AzureConfiguration>
278 void SetAzure(AzureT&& value) {
279 m_azureHasBeenSet = true;
280 m_azure = std::forward<AzureT>(value);
281 }
282 template <typename AzureT = AzureConfiguration>
284 SetAzure(std::forward<AzureT>(value));
285 return *this;
286 }
288
290
293 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
294 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
295 template <typename AzuredevopsT = AzureDevOpsConfiguration>
296 void SetAzuredevops(AzuredevopsT&& value) {
297 m_azuredevopsHasBeenSet = true;
298 m_azuredevops = std::forward<AzuredevopsT>(value);
299 }
300 template <typename AzuredevopsT = AzureDevOpsConfiguration>
301 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
302 SetAzuredevops(std::forward<AzuredevopsT>(value));
303 return *this;
304 }
306
308
311 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
312 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
313 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
314 void SetMcpservergrafana(McpservergrafanaT&& value) {
315 m_mcpservergrafanaHasBeenSet = true;
316 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
317 }
318 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
319 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
320 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
321 return *this;
322 }
324
326
329 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
330 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
331 template <typename PagerdutyT = PagerDutyConfiguration>
332 void SetPagerduty(PagerdutyT&& value) {
333 m_pagerdutyHasBeenSet = true;
334 m_pagerduty = std::forward<PagerdutyT>(value);
335 }
336 template <typename PagerdutyT = PagerDutyConfiguration>
337 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
338 SetPagerduty(std::forward<PagerdutyT>(value));
339 return *this;
340 }
342
344
347 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
348 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
349 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
350 void SetMcpserversigv4(Mcpserversigv4T&& value) {
351 m_mcpserversigv4HasBeenSet = true;
352 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
353 }
354 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
355 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
356 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
357 return *this;
358 }
360
362
365 inline const RemoteAgentConfiguration& GetRemoteagent() const { return m_remoteagent; }
366 inline bool RemoteagentHasBeenSet() const { return m_remoteagentHasBeenSet; }
367 template <typename RemoteagentT = RemoteAgentConfiguration>
368 void SetRemoteagent(RemoteagentT&& value) {
369 m_remoteagentHasBeenSet = true;
370 m_remoteagent = std::forward<RemoteagentT>(value);
371 }
372 template <typename RemoteagentT = RemoteAgentConfiguration>
373 ServiceConfiguration& WithRemoteagent(RemoteagentT&& value) {
374 SetRemoteagent(std::forward<RemoteagentT>(value));
375 return *this;
376 }
378
380
383 inline const RemoteAgentSigV4Configuration& GetRemoteagentsigv4() const { return m_remoteagentsigv4; }
384 inline bool Remoteagentsigv4HasBeenSet() const { return m_remoteagentsigv4HasBeenSet; }
385 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
386 void SetRemoteagentsigv4(Remoteagentsigv4T&& value) {
387 m_remoteagentsigv4HasBeenSet = true;
388 m_remoteagentsigv4 = std::forward<Remoteagentsigv4T>(value);
389 }
390 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
391 ServiceConfiguration& WithRemoteagentsigv4(Remoteagentsigv4T&& value) {
392 SetRemoteagentsigv4(std::forward<Remoteagentsigv4T>(value));
393 return *this;
394 }
396
398
402 inline const MSTeamsConfiguration& GetMsteams() const { return m_msteams; }
403 inline bool MsteamsHasBeenSet() const { return m_msteamsHasBeenSet; }
404 template <typename MsteamsT = MSTeamsConfiguration>
405 void SetMsteams(MsteamsT&& value) {
406 m_msteamsHasBeenSet = true;
407 m_msteams = std::forward<MsteamsT>(value);
408 }
409 template <typename MsteamsT = MSTeamsConfiguration>
411 SetMsteams(std::forward<MsteamsT>(value));
412 return *this;
413 }
415
417
420 inline const ReleaseManagementConfiguration& GetReleaseManagement() const { return m_releaseManagement; }
421 inline bool ReleaseManagementHasBeenSet() const { return m_releaseManagementHasBeenSet; }
422 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
423 void SetReleaseManagement(ReleaseManagementT&& value) {
424 m_releaseManagementHasBeenSet = true;
425 m_releaseManagement = std::forward<ReleaseManagementT>(value);
426 }
427 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
428 ServiceConfiguration& WithReleaseManagement(ReleaseManagementT&& value) {
429 SetReleaseManagement(std::forward<ReleaseManagementT>(value));
430 return *this;
431 }
433 private:
434 SourceAwsConfiguration m_sourceAws;
435
436 AWSConfiguration m_aws;
437
438 GitHubConfiguration m_github;
439
440 SlackConfiguration m_slack;
441
442 DynatraceConfiguration m_dynatrace;
443
444 ServiceNowConfiguration m_servicenow;
445
446 MCPServerNewRelicConfiguration m_mcpservernewrelic;
447
448 MCPServerDatadogConfiguration m_mcpserverdatadog;
449
450 MCPServerConfiguration m_mcpserver;
451
452 GitLabConfiguration m_gitlab;
453
454 MCPServerSplunkConfiguration m_mcpserversplunk;
455
456 EventChannelConfiguration m_eventChannel;
457
458 AzureConfiguration m_azure;
459
460 AzureDevOpsConfiguration m_azuredevops;
461
462 MCPServerGrafanaConfiguration m_mcpservergrafana;
463
464 PagerDutyConfiguration m_pagerduty;
465
466 MCPServerSigV4Configuration m_mcpserversigv4;
467
468 RemoteAgentConfiguration m_remoteagent;
469
470 RemoteAgentSigV4Configuration m_remoteagentsigv4;
471
472 MSTeamsConfiguration m_msteams;
473
474 ReleaseManagementConfiguration m_releaseManagement;
475 bool m_sourceAwsHasBeenSet = false;
476 bool m_awsHasBeenSet = false;
477 bool m_githubHasBeenSet = false;
478 bool m_slackHasBeenSet = false;
479 bool m_dynatraceHasBeenSet = false;
480 bool m_servicenowHasBeenSet = false;
481 bool m_mcpservernewrelicHasBeenSet = false;
482 bool m_mcpserverdatadogHasBeenSet = false;
483 bool m_mcpserverHasBeenSet = false;
484 bool m_gitlabHasBeenSet = false;
485 bool m_mcpserversplunkHasBeenSet = false;
486 bool m_eventChannelHasBeenSet = false;
487 bool m_azureHasBeenSet = false;
488 bool m_azuredevopsHasBeenSet = false;
489 bool m_mcpservergrafanaHasBeenSet = false;
490 bool m_pagerdutyHasBeenSet = false;
491 bool m_mcpserversigv4HasBeenSet = false;
492 bool m_remoteagentHasBeenSet = false;
493 bool m_remoteagentsigv4HasBeenSet = false;
494 bool m_msteamsHasBeenSet = false;
495 bool m_releaseManagementHasBeenSet = false;
496};
497
498} // namespace Model
499} // namespace DevOpsAgent
500} // 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
const DynatraceConfiguration & GetDynatrace() const
const MCPServerSigV4Configuration & GetMcpserversigv4() 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 SourceAwsConfiguration & GetSourceAws() const
ServiceConfiguration & WithGitlab(GitlabT &&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