AWS SDK for C++

AWS SDK for C++ Version 1.11.911

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/PagerDutyConfiguration.h>
22#include <aws/devops-agent/model/ReleaseManagementConfiguration.h>
23#include <aws/devops-agent/model/RemoteAgentConfiguration.h>
24#include <aws/devops-agent/model/RemoteAgentSigV4Configuration.h>
25#include <aws/devops-agent/model/ServiceNowConfiguration.h>
26#include <aws/devops-agent/model/SlackConfiguration.h>
27#include <aws/devops-agent/model/SourceAwsConfiguration.h>
28
29#include <utility>
30
31namespace Aws {
32namespace Utils {
33namespace Json {
34class JsonValue;
35class JsonView;
36} // namespace Json
37} // namespace Utils
38namespace DevOpsAgent {
39namespace Model {
40
48 public:
49 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
50 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
52 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
55
58 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
59 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
60 template <typename SourceAwsT = SourceAwsConfiguration>
61 void SetSourceAws(SourceAwsT&& value) {
62 m_sourceAwsHasBeenSet = true;
63 m_sourceAws = std::forward<SourceAwsT>(value);
64 }
65 template <typename SourceAwsT = SourceAwsConfiguration>
66 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
67 SetSourceAws(std::forward<SourceAwsT>(value));
68 return *this;
69 }
71
73
76 inline const AWSConfiguration& GetAws() const { return m_aws; }
77 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
78 template <typename AwsT = AWSConfiguration>
79 void SetAws(AwsT&& value) {
80 m_awsHasBeenSet = true;
81 m_aws = std::forward<AwsT>(value);
82 }
83 template <typename AwsT = AWSConfiguration>
85 SetAws(std::forward<AwsT>(value));
86 return *this;
87 }
89
91
94 inline const GitHubConfiguration& GetGithub() const { return m_github; }
95 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
96 template <typename GithubT = GitHubConfiguration>
97 void SetGithub(GithubT&& value) {
98 m_githubHasBeenSet = true;
99 m_github = std::forward<GithubT>(value);
100 }
101 template <typename GithubT = GitHubConfiguration>
103 SetGithub(std::forward<GithubT>(value));
104 return *this;
105 }
107
109
112 inline const SlackConfiguration& GetSlack() const { return m_slack; }
113 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
114 template <typename SlackT = SlackConfiguration>
115 void SetSlack(SlackT&& value) {
116 m_slackHasBeenSet = true;
117 m_slack = std::forward<SlackT>(value);
118 }
119 template <typename SlackT = SlackConfiguration>
121 SetSlack(std::forward<SlackT>(value));
122 return *this;
123 }
125
127
130 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
131 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
132 template <typename DynatraceT = DynatraceConfiguration>
133 void SetDynatrace(DynatraceT&& value) {
134 m_dynatraceHasBeenSet = true;
135 m_dynatrace = std::forward<DynatraceT>(value);
136 }
137 template <typename DynatraceT = DynatraceConfiguration>
138 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
139 SetDynatrace(std::forward<DynatraceT>(value));
140 return *this;
141 }
143
145
148 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
149 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
150 template <typename ServicenowT = ServiceNowConfiguration>
151 void SetServicenow(ServicenowT&& value) {
152 m_servicenowHasBeenSet = true;
153 m_servicenow = std::forward<ServicenowT>(value);
154 }
155 template <typename ServicenowT = ServiceNowConfiguration>
156 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
157 SetServicenow(std::forward<ServicenowT>(value));
158 return *this;
159 }
161
163
166 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
167 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
168 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
169 void SetMcpservernewrelic(McpservernewrelicT&& value) {
170 m_mcpservernewrelicHasBeenSet = true;
171 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
172 }
173 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
174 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
175 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
176 return *this;
177 }
179
181
184 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
185 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
186 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
187 void SetMcpserverdatadog(McpserverdatadogT&& value) {
188 m_mcpserverdatadogHasBeenSet = true;
189 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
190 }
191 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
192 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
193 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
194 return *this;
195 }
197
199
202 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
203 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
204 template <typename McpserverT = MCPServerConfiguration>
205 void SetMcpserver(McpserverT&& value) {
206 m_mcpserverHasBeenSet = true;
207 m_mcpserver = std::forward<McpserverT>(value);
208 }
209 template <typename McpserverT = MCPServerConfiguration>
210 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
211 SetMcpserver(std::forward<McpserverT>(value));
212 return *this;
213 }
215
217
220 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
221 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
222 template <typename GitlabT = GitLabConfiguration>
223 void SetGitlab(GitlabT&& value) {
224 m_gitlabHasBeenSet = true;
225 m_gitlab = std::forward<GitlabT>(value);
226 }
227 template <typename GitlabT = GitLabConfiguration>
229 SetGitlab(std::forward<GitlabT>(value));
230 return *this;
231 }
233
235
238 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
239 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
240 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
241 void SetMcpserversplunk(McpserversplunkT&& value) {
242 m_mcpserversplunkHasBeenSet = true;
243 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
244 }
245 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
246 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
247 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
248 return *this;
249 }
251
253
256 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
257 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
258 template <typename EventChannelT = EventChannelConfiguration>
259 void SetEventChannel(EventChannelT&& value) {
260 m_eventChannelHasBeenSet = true;
261 m_eventChannel = std::forward<EventChannelT>(value);
262 }
263 template <typename EventChannelT = EventChannelConfiguration>
264 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
265 SetEventChannel(std::forward<EventChannelT>(value));
266 return *this;
267 }
269
271
274 inline const AzureConfiguration& GetAzure() const { return m_azure; }
275 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
276 template <typename AzureT = AzureConfiguration>
277 void SetAzure(AzureT&& value) {
278 m_azureHasBeenSet = true;
279 m_azure = std::forward<AzureT>(value);
280 }
281 template <typename AzureT = AzureConfiguration>
283 SetAzure(std::forward<AzureT>(value));
284 return *this;
285 }
287
289
292 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
293 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
294 template <typename AzuredevopsT = AzureDevOpsConfiguration>
295 void SetAzuredevops(AzuredevopsT&& value) {
296 m_azuredevopsHasBeenSet = true;
297 m_azuredevops = std::forward<AzuredevopsT>(value);
298 }
299 template <typename AzuredevopsT = AzureDevOpsConfiguration>
300 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
301 SetAzuredevops(std::forward<AzuredevopsT>(value));
302 return *this;
303 }
305
307
310 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
311 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
312 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
313 void SetMcpservergrafana(McpservergrafanaT&& value) {
314 m_mcpservergrafanaHasBeenSet = true;
315 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
316 }
317 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
318 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
319 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
320 return *this;
321 }
323
325
328 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
329 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
330 template <typename PagerdutyT = PagerDutyConfiguration>
331 void SetPagerduty(PagerdutyT&& value) {
332 m_pagerdutyHasBeenSet = true;
333 m_pagerduty = std::forward<PagerdutyT>(value);
334 }
335 template <typename PagerdutyT = PagerDutyConfiguration>
336 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
337 SetPagerduty(std::forward<PagerdutyT>(value));
338 return *this;
339 }
341
343
346 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
347 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
348 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
349 void SetMcpserversigv4(Mcpserversigv4T&& value) {
350 m_mcpserversigv4HasBeenSet = true;
351 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
352 }
353 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
354 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
355 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
356 return *this;
357 }
359
361
364 inline const RemoteAgentConfiguration& GetRemoteagent() const { return m_remoteagent; }
365 inline bool RemoteagentHasBeenSet() const { return m_remoteagentHasBeenSet; }
366 template <typename RemoteagentT = RemoteAgentConfiguration>
367 void SetRemoteagent(RemoteagentT&& value) {
368 m_remoteagentHasBeenSet = true;
369 m_remoteagent = std::forward<RemoteagentT>(value);
370 }
371 template <typename RemoteagentT = RemoteAgentConfiguration>
372 ServiceConfiguration& WithRemoteagent(RemoteagentT&& value) {
373 SetRemoteagent(std::forward<RemoteagentT>(value));
374 return *this;
375 }
377
379
382 inline const RemoteAgentSigV4Configuration& GetRemoteagentsigv4() const { return m_remoteagentsigv4; }
383 inline bool Remoteagentsigv4HasBeenSet() const { return m_remoteagentsigv4HasBeenSet; }
384 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
385 void SetRemoteagentsigv4(Remoteagentsigv4T&& value) {
386 m_remoteagentsigv4HasBeenSet = true;
387 m_remoteagentsigv4 = std::forward<Remoteagentsigv4T>(value);
388 }
389 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
390 ServiceConfiguration& WithRemoteagentsigv4(Remoteagentsigv4T&& value) {
391 SetRemoteagentsigv4(std::forward<Remoteagentsigv4T>(value));
392 return *this;
393 }
395
397
400 inline const ReleaseManagementConfiguration& GetReleaseManagement() const { return m_releaseManagement; }
401 inline bool ReleaseManagementHasBeenSet() const { return m_releaseManagementHasBeenSet; }
402 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
403 void SetReleaseManagement(ReleaseManagementT&& value) {
404 m_releaseManagementHasBeenSet = true;
405 m_releaseManagement = std::forward<ReleaseManagementT>(value);
406 }
407 template <typename ReleaseManagementT = ReleaseManagementConfiguration>
408 ServiceConfiguration& WithReleaseManagement(ReleaseManagementT&& value) {
409 SetReleaseManagement(std::forward<ReleaseManagementT>(value));
410 return *this;
411 }
413 private:
414 SourceAwsConfiguration m_sourceAws;
415
416 AWSConfiguration m_aws;
417
418 GitHubConfiguration m_github;
419
420 SlackConfiguration m_slack;
421
422 DynatraceConfiguration m_dynatrace;
423
424 ServiceNowConfiguration m_servicenow;
425
426 MCPServerNewRelicConfiguration m_mcpservernewrelic;
427
428 MCPServerDatadogConfiguration m_mcpserverdatadog;
429
430 MCPServerConfiguration m_mcpserver;
431
432 GitLabConfiguration m_gitlab;
433
434 MCPServerSplunkConfiguration m_mcpserversplunk;
435
436 EventChannelConfiguration m_eventChannel;
437
438 AzureConfiguration m_azure;
439
440 AzureDevOpsConfiguration m_azuredevops;
441
442 MCPServerGrafanaConfiguration m_mcpservergrafana;
443
444 PagerDutyConfiguration m_pagerduty;
445
446 MCPServerSigV4Configuration m_mcpserversigv4;
447
448 RemoteAgentConfiguration m_remoteagent;
449
450 RemoteAgentSigV4Configuration m_remoteagentsigv4;
451
452 ReleaseManagementConfiguration m_releaseManagement;
453 bool m_sourceAwsHasBeenSet = false;
454 bool m_awsHasBeenSet = false;
455 bool m_githubHasBeenSet = false;
456 bool m_slackHasBeenSet = false;
457 bool m_dynatraceHasBeenSet = false;
458 bool m_servicenowHasBeenSet = false;
459 bool m_mcpservernewrelicHasBeenSet = false;
460 bool m_mcpserverdatadogHasBeenSet = false;
461 bool m_mcpserverHasBeenSet = false;
462 bool m_gitlabHasBeenSet = false;
463 bool m_mcpserversplunkHasBeenSet = false;
464 bool m_eventChannelHasBeenSet = false;
465 bool m_azureHasBeenSet = false;
466 bool m_azuredevopsHasBeenSet = false;
467 bool m_mcpservergrafanaHasBeenSet = false;
468 bool m_pagerdutyHasBeenSet = false;
469 bool m_mcpserversigv4HasBeenSet = false;
470 bool m_remoteagentHasBeenSet = false;
471 bool m_remoteagentsigv4HasBeenSet = false;
472 bool m_releaseManagementHasBeenSet = false;
473};
474
475} // namespace Model
476} // namespace DevOpsAgent
477} // 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)
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 & 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