AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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#include <aws/devops-agent/model/SourceAwsOrgConfiguration.h>
30
31#include <utility>
32
33namespace Aws {
34namespace Utils {
35namespace Json {
36class JsonValue;
37class JsonView;
38} // namespace Json
39} // namespace Utils
40namespace DevOpsAgent {
41namespace Model {
42
50 public:
51 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
52 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
54 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
55
57
60 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
61 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
62 template <typename SourceAwsT = SourceAwsConfiguration>
63 void SetSourceAws(SourceAwsT&& value) {
64 m_sourceAwsHasBeenSet = true;
65 m_sourceAws = std::forward<SourceAwsT>(value);
66 }
67 template <typename SourceAwsT = SourceAwsConfiguration>
68 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
69 SetSourceAws(std::forward<SourceAwsT>(value));
70 return *this;
71 }
73
75
80 inline const SourceAwsOrgConfiguration& GetSourceAwsOrg() const { return m_sourceAwsOrg; }
81 inline bool SourceAwsOrgHasBeenSet() const { return m_sourceAwsOrgHasBeenSet; }
82 template <typename SourceAwsOrgT = SourceAwsOrgConfiguration>
83 void SetSourceAwsOrg(SourceAwsOrgT&& value) {
84 m_sourceAwsOrgHasBeenSet = true;
85 m_sourceAwsOrg = std::forward<SourceAwsOrgT>(value);
86 }
87 template <typename SourceAwsOrgT = SourceAwsOrgConfiguration>
88 ServiceConfiguration& WithSourceAwsOrg(SourceAwsOrgT&& value) {
89 SetSourceAwsOrg(std::forward<SourceAwsOrgT>(value));
90 return *this;
91 }
93
95
98 inline const AWSConfiguration& GetAws() const { return m_aws; }
99 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
100 template <typename AwsT = AWSConfiguration>
101 void SetAws(AwsT&& value) {
102 m_awsHasBeenSet = true;
103 m_aws = std::forward<AwsT>(value);
104 }
105 template <typename AwsT = AWSConfiguration>
107 SetAws(std::forward<AwsT>(value));
108 return *this;
109 }
111
113
116 inline const GitHubConfiguration& GetGithub() const { return m_github; }
117 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
118 template <typename GithubT = GitHubConfiguration>
119 void SetGithub(GithubT&& value) {
120 m_githubHasBeenSet = true;
121 m_github = std::forward<GithubT>(value);
122 }
123 template <typename GithubT = GitHubConfiguration>
125 SetGithub(std::forward<GithubT>(value));
126 return *this;
127 }
129
131
134 inline const SlackConfiguration& GetSlack() const { return m_slack; }
135 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
136 template <typename SlackT = SlackConfiguration>
137 void SetSlack(SlackT&& value) {
138 m_slackHasBeenSet = true;
139 m_slack = std::forward<SlackT>(value);
140 }
141 template <typename SlackT = SlackConfiguration>
143 SetSlack(std::forward<SlackT>(value));
144 return *this;
145 }
147
149
152 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
153 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
154 template <typename DynatraceT = DynatraceConfiguration>
155 void SetDynatrace(DynatraceT&& value) {
156 m_dynatraceHasBeenSet = true;
157 m_dynatrace = std::forward<DynatraceT>(value);
158 }
159 template <typename DynatraceT = DynatraceConfiguration>
160 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
161 SetDynatrace(std::forward<DynatraceT>(value));
162 return *this;
163 }
165
167
170 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
171 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
172 template <typename ServicenowT = ServiceNowConfiguration>
173 void SetServicenow(ServicenowT&& value) {
174 m_servicenowHasBeenSet = true;
175 m_servicenow = std::forward<ServicenowT>(value);
176 }
177 template <typename ServicenowT = ServiceNowConfiguration>
178 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
179 SetServicenow(std::forward<ServicenowT>(value));
180 return *this;
181 }
183
185
188 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
189 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
190 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
191 void SetMcpservernewrelic(McpservernewrelicT&& value) {
192 m_mcpservernewrelicHasBeenSet = true;
193 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
194 }
195 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
196 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
197 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
198 return *this;
199 }
201
203
206 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
207 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
208 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
209 void SetMcpserverdatadog(McpserverdatadogT&& value) {
210 m_mcpserverdatadogHasBeenSet = true;
211 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
212 }
213 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
214 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
215 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
216 return *this;
217 }
219
221
224 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
225 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
226 template <typename McpserverT = MCPServerConfiguration>
227 void SetMcpserver(McpserverT&& value) {
228 m_mcpserverHasBeenSet = true;
229 m_mcpserver = std::forward<McpserverT>(value);
230 }
231 template <typename McpserverT = MCPServerConfiguration>
232 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
233 SetMcpserver(std::forward<McpserverT>(value));
234 return *this;
235 }
237
239
242 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
243 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
244 template <typename GitlabT = GitLabConfiguration>
245 void SetGitlab(GitlabT&& value) {
246 m_gitlabHasBeenSet = true;
247 m_gitlab = std::forward<GitlabT>(value);
248 }
249 template <typename GitlabT = GitLabConfiguration>
251 SetGitlab(std::forward<GitlabT>(value));
252 return *this;
253 }
255
257
260 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
261 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
262 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
263 void SetMcpserversplunk(McpserversplunkT&& value) {
264 m_mcpserversplunkHasBeenSet = true;
265 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
266 }
267 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
268 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
269 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
270 return *this;
271 }
273
275
278 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
279 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
280 template <typename EventChannelT = EventChannelConfiguration>
281 void SetEventChannel(EventChannelT&& value) {
282 m_eventChannelHasBeenSet = true;
283 m_eventChannel = std::forward<EventChannelT>(value);
284 }
285 template <typename EventChannelT = EventChannelConfiguration>
286 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
287 SetEventChannel(std::forward<EventChannelT>(value));
288 return *this;
289 }
291
293
296 inline const AzureConfiguration& GetAzure() const { return m_azure; }
297 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
298 template <typename AzureT = AzureConfiguration>
299 void SetAzure(AzureT&& value) {
300 m_azureHasBeenSet = true;
301 m_azure = std::forward<AzureT>(value);
302 }
303 template <typename AzureT = AzureConfiguration>
305 SetAzure(std::forward<AzureT>(value));
306 return *this;
307 }
309
311
314 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
315 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
316 template <typename AzuredevopsT = AzureDevOpsConfiguration>
317 void SetAzuredevops(AzuredevopsT&& value) {
318 m_azuredevopsHasBeenSet = true;
319 m_azuredevops = std::forward<AzuredevopsT>(value);
320 }
321 template <typename AzuredevopsT = AzureDevOpsConfiguration>
322 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
323 SetAzuredevops(std::forward<AzuredevopsT>(value));
324 return *this;
325 }
327
329
332 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
333 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
334 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
335 void SetMcpservergrafana(McpservergrafanaT&& value) {
336 m_mcpservergrafanaHasBeenSet = true;
337 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
338 }
339 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
340 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
341 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
342 return *this;
343 }
345
347
350 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
351 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
352 template <typename PagerdutyT = PagerDutyConfiguration>
353 void SetPagerduty(PagerdutyT&& value) {
354 m_pagerdutyHasBeenSet = true;
355 m_pagerduty = std::forward<PagerdutyT>(value);
356 }
357 template <typename PagerdutyT = PagerDutyConfiguration>
358 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
359 SetPagerduty(std::forward<PagerdutyT>(value));
360 return *this;
361 }
363
365
368 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
369 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
370 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
371 void SetMcpserversigv4(Mcpserversigv4T&& value) {
372 m_mcpserversigv4HasBeenSet = true;
373 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
374 }
375 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
376 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
377 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
378 return *this;
379 }
381
383
386 inline const RemoteAgentConfiguration& GetRemoteagent() const { return m_remoteagent; }
387 inline bool RemoteagentHasBeenSet() const { return m_remoteagentHasBeenSet; }
388 template <typename RemoteagentT = RemoteAgentConfiguration>
389 void SetRemoteagent(RemoteagentT&& value) {
390 m_remoteagentHasBeenSet = true;
391 m_remoteagent = std::forward<RemoteagentT>(value);
392 }
393 template <typename RemoteagentT = RemoteAgentConfiguration>
394 ServiceConfiguration& WithRemoteagent(RemoteagentT&& value) {
395 SetRemoteagent(std::forward<RemoteagentT>(value));
396 return *this;
397 }
399
401
404 inline const RemoteAgentSigV4Configuration& GetRemoteagentsigv4() const { return m_remoteagentsigv4; }
405 inline bool Remoteagentsigv4HasBeenSet() const { return m_remoteagentsigv4HasBeenSet; }
406 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
407 void SetRemoteagentsigv4(Remoteagentsigv4T&& value) {
408 m_remoteagentsigv4HasBeenSet = true;
409 m_remoteagentsigv4 = std::forward<Remoteagentsigv4T>(value);
410 }
411 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
412 ServiceConfiguration& WithRemoteagentsigv4(Remoteagentsigv4T&& value) {
413 SetRemoteagentsigv4(std::forward<Remoteagentsigv4T>(value));
414 return *this;
415 }
417
419
423 inline const MSTeamsConfiguration& GetMsteams() const { return m_msteams; }
424 inline bool MsteamsHasBeenSet() const { return m_msteamsHasBeenSet; }
425 template <typename MsteamsT = MSTeamsConfiguration>
426 void SetMsteams(MsteamsT&& value) {
427 m_msteamsHasBeenSet = true;
428 m_msteams = std::forward<MsteamsT>(value);
429 }
430 template <typename MsteamsT = MSTeamsConfiguration>
432 SetMsteams(std::forward<MsteamsT>(value));
433 return *this;
434 }
436
438
441 inline const ReleaseManagementConfiguration& GetReleaseManagement() const { return m_releaseManagement; }
442 inline bool ReleaseManagementHasBeenSet() const { return m_releaseManagementHasBeenSet; }
443 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
444 void SetReleaseManagement(ReleaseManagementT&& value) {
445 m_releaseManagementHasBeenSet = true;
446 m_releaseManagement = std::forward<ReleaseManagementT>(value);
447 }
448 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
449 ServiceConfiguration& WithReleaseManagement(ReleaseManagementT&& value) {
450 SetReleaseManagement(std::forward<ReleaseManagementT>(value));
451 return *this;
452 }
454 private:
455 SourceAwsConfiguration m_sourceAws;
456
457 SourceAwsOrgConfiguration m_sourceAwsOrg;
458
459 AWSConfiguration m_aws;
460
461 GitHubConfiguration m_github;
462
463 SlackConfiguration m_slack;
464
465 DynatraceConfiguration m_dynatrace;
466
467 ServiceNowConfiguration m_servicenow;
468
469 MCPServerNewRelicConfiguration m_mcpservernewrelic;
470
471 MCPServerDatadogConfiguration m_mcpserverdatadog;
472
473 MCPServerConfiguration m_mcpserver;
474
475 GitLabConfiguration m_gitlab;
476
477 MCPServerSplunkConfiguration m_mcpserversplunk;
478
479 EventChannelConfiguration m_eventChannel;
480
481 AzureConfiguration m_azure;
482
483 AzureDevOpsConfiguration m_azuredevops;
484
485 MCPServerGrafanaConfiguration m_mcpservergrafana;
486
487 PagerDutyConfiguration m_pagerduty;
488
489 MCPServerSigV4Configuration m_mcpserversigv4;
490
491 RemoteAgentConfiguration m_remoteagent;
492
493 RemoteAgentSigV4Configuration m_remoteagentsigv4;
494
495 MSTeamsConfiguration m_msteams;
496
497 ReleaseManagementConfiguration m_releaseManagement;
498 bool m_sourceAwsHasBeenSet = false;
499 bool m_sourceAwsOrgHasBeenSet = false;
500 bool m_awsHasBeenSet = false;
501 bool m_githubHasBeenSet = false;
502 bool m_slackHasBeenSet = false;
503 bool m_dynatraceHasBeenSet = false;
504 bool m_servicenowHasBeenSet = false;
505 bool m_mcpservernewrelicHasBeenSet = false;
506 bool m_mcpserverdatadogHasBeenSet = false;
507 bool m_mcpserverHasBeenSet = false;
508 bool m_gitlabHasBeenSet = false;
509 bool m_mcpserversplunkHasBeenSet = false;
510 bool m_eventChannelHasBeenSet = false;
511 bool m_azureHasBeenSet = false;
512 bool m_azuredevopsHasBeenSet = false;
513 bool m_mcpservergrafanaHasBeenSet = false;
514 bool m_pagerdutyHasBeenSet = false;
515 bool m_mcpserversigv4HasBeenSet = false;
516 bool m_remoteagentHasBeenSet = false;
517 bool m_remoteagentsigv4HasBeenSet = false;
518 bool m_msteamsHasBeenSet = false;
519 bool m_releaseManagementHasBeenSet = false;
520};
521
522} // namespace Model
523} // namespace DevOpsAgent
524} // 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 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