AWS SDK for C++

AWS SDK for C++ Version 1.11.844

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/RemoteAgentConfiguration.h>
23#include <aws/devops-agent/model/RemoteAgentSigV4Configuration.h>
24#include <aws/devops-agent/model/ServiceNowConfiguration.h>
25#include <aws/devops-agent/model/SlackConfiguration.h>
26#include <aws/devops-agent/model/SourceAwsConfiguration.h>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace DevOpsAgent {
38namespace Model {
39
47 public:
48 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
49 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
51 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
58 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
59 template <typename SourceAwsT = SourceAwsConfiguration>
60 void SetSourceAws(SourceAwsT&& value) {
61 m_sourceAwsHasBeenSet = true;
62 m_sourceAws = std::forward<SourceAwsT>(value);
63 }
64 template <typename SourceAwsT = SourceAwsConfiguration>
65 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
66 SetSourceAws(std::forward<SourceAwsT>(value));
67 return *this;
68 }
70
72
75 inline const AWSConfiguration& GetAws() const { return m_aws; }
76 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
77 template <typename AwsT = AWSConfiguration>
78 void SetAws(AwsT&& value) {
79 m_awsHasBeenSet = true;
80 m_aws = std::forward<AwsT>(value);
81 }
82 template <typename AwsT = AWSConfiguration>
84 SetAws(std::forward<AwsT>(value));
85 return *this;
86 }
88
90
93 inline const GitHubConfiguration& GetGithub() const { return m_github; }
94 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
95 template <typename GithubT = GitHubConfiguration>
96 void SetGithub(GithubT&& value) {
97 m_githubHasBeenSet = true;
98 m_github = std::forward<GithubT>(value);
99 }
100 template <typename GithubT = GitHubConfiguration>
102 SetGithub(std::forward<GithubT>(value));
103 return *this;
104 }
106
108
111 inline const SlackConfiguration& GetSlack() const { return m_slack; }
112 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
113 template <typename SlackT = SlackConfiguration>
114 void SetSlack(SlackT&& value) {
115 m_slackHasBeenSet = true;
116 m_slack = std::forward<SlackT>(value);
117 }
118 template <typename SlackT = SlackConfiguration>
120 SetSlack(std::forward<SlackT>(value));
121 return *this;
122 }
124
126
129 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
130 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
131 template <typename DynatraceT = DynatraceConfiguration>
132 void SetDynatrace(DynatraceT&& value) {
133 m_dynatraceHasBeenSet = true;
134 m_dynatrace = std::forward<DynatraceT>(value);
135 }
136 template <typename DynatraceT = DynatraceConfiguration>
137 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
138 SetDynatrace(std::forward<DynatraceT>(value));
139 return *this;
140 }
142
144
147 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
148 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
149 template <typename ServicenowT = ServiceNowConfiguration>
150 void SetServicenow(ServicenowT&& value) {
151 m_servicenowHasBeenSet = true;
152 m_servicenow = std::forward<ServicenowT>(value);
153 }
154 template <typename ServicenowT = ServiceNowConfiguration>
155 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
156 SetServicenow(std::forward<ServicenowT>(value));
157 return *this;
158 }
160
162
165 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
166 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
167 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
168 void SetMcpservernewrelic(McpservernewrelicT&& value) {
169 m_mcpservernewrelicHasBeenSet = true;
170 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
171 }
172 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
173 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
174 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
175 return *this;
176 }
178
180
183 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
184 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
185 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
186 void SetMcpserverdatadog(McpserverdatadogT&& value) {
187 m_mcpserverdatadogHasBeenSet = true;
188 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
189 }
190 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
191 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
192 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
193 return *this;
194 }
196
198
201 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
202 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
203 template <typename McpserverT = MCPServerConfiguration>
204 void SetMcpserver(McpserverT&& value) {
205 m_mcpserverHasBeenSet = true;
206 m_mcpserver = std::forward<McpserverT>(value);
207 }
208 template <typename McpserverT = MCPServerConfiguration>
209 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
210 SetMcpserver(std::forward<McpserverT>(value));
211 return *this;
212 }
214
216
219 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
220 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
221 template <typename GitlabT = GitLabConfiguration>
222 void SetGitlab(GitlabT&& value) {
223 m_gitlabHasBeenSet = true;
224 m_gitlab = std::forward<GitlabT>(value);
225 }
226 template <typename GitlabT = GitLabConfiguration>
228 SetGitlab(std::forward<GitlabT>(value));
229 return *this;
230 }
232
234
237 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
238 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
239 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
240 void SetMcpserversplunk(McpserversplunkT&& value) {
241 m_mcpserversplunkHasBeenSet = true;
242 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
243 }
244 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
245 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
246 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
247 return *this;
248 }
250
252
255 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
256 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
257 template <typename EventChannelT = EventChannelConfiguration>
258 void SetEventChannel(EventChannelT&& value) {
259 m_eventChannelHasBeenSet = true;
260 m_eventChannel = std::forward<EventChannelT>(value);
261 }
262 template <typename EventChannelT = EventChannelConfiguration>
263 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
264 SetEventChannel(std::forward<EventChannelT>(value));
265 return *this;
266 }
268
270
273 inline const AzureConfiguration& GetAzure() const { return m_azure; }
274 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
275 template <typename AzureT = AzureConfiguration>
276 void SetAzure(AzureT&& value) {
277 m_azureHasBeenSet = true;
278 m_azure = std::forward<AzureT>(value);
279 }
280 template <typename AzureT = AzureConfiguration>
282 SetAzure(std::forward<AzureT>(value));
283 return *this;
284 }
286
288
291 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
292 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
293 template <typename AzuredevopsT = AzureDevOpsConfiguration>
294 void SetAzuredevops(AzuredevopsT&& value) {
295 m_azuredevopsHasBeenSet = true;
296 m_azuredevops = std::forward<AzuredevopsT>(value);
297 }
298 template <typename AzuredevopsT = AzureDevOpsConfiguration>
299 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
300 SetAzuredevops(std::forward<AzuredevopsT>(value));
301 return *this;
302 }
304
306
309 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
310 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
311 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
312 void SetMcpservergrafana(McpservergrafanaT&& value) {
313 m_mcpservergrafanaHasBeenSet = true;
314 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
315 }
316 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
317 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
318 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
319 return *this;
320 }
322
324
327 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
328 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
329 template <typename PagerdutyT = PagerDutyConfiguration>
330 void SetPagerduty(PagerdutyT&& value) {
331 m_pagerdutyHasBeenSet = true;
332 m_pagerduty = std::forward<PagerdutyT>(value);
333 }
334 template <typename PagerdutyT = PagerDutyConfiguration>
335 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
336 SetPagerduty(std::forward<PagerdutyT>(value));
337 return *this;
338 }
340
342
345 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
346 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
347 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
348 void SetMcpserversigv4(Mcpserversigv4T&& value) {
349 m_mcpserversigv4HasBeenSet = true;
350 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
351 }
352 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
353 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
354 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
355 return *this;
356 }
358
360
363 inline const RemoteAgentConfiguration& GetRemoteagent() const { return m_remoteagent; }
364 inline bool RemoteagentHasBeenSet() const { return m_remoteagentHasBeenSet; }
365 template <typename RemoteagentT = RemoteAgentConfiguration>
366 void SetRemoteagent(RemoteagentT&& value) {
367 m_remoteagentHasBeenSet = true;
368 m_remoteagent = std::forward<RemoteagentT>(value);
369 }
370 template <typename RemoteagentT = RemoteAgentConfiguration>
371 ServiceConfiguration& WithRemoteagent(RemoteagentT&& value) {
372 SetRemoteagent(std::forward<RemoteagentT>(value));
373 return *this;
374 }
376
378
381 inline const RemoteAgentSigV4Configuration& GetRemoteagentsigv4() const { return m_remoteagentsigv4; }
382 inline bool Remoteagentsigv4HasBeenSet() const { return m_remoteagentsigv4HasBeenSet; }
383 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
384 void SetRemoteagentsigv4(Remoteagentsigv4T&& value) {
385 m_remoteagentsigv4HasBeenSet = true;
386 m_remoteagentsigv4 = std::forward<Remoteagentsigv4T>(value);
387 }
388 template <typename Remoteagentsigv4T = RemoteAgentSigV4Configuration>
389 ServiceConfiguration& WithRemoteagentsigv4(Remoteagentsigv4T&& value) {
390 SetRemoteagentsigv4(std::forward<Remoteagentsigv4T>(value));
391 return *this;
392 }
394 private:
395 SourceAwsConfiguration m_sourceAws;
396
397 AWSConfiguration m_aws;
398
399 GitHubConfiguration m_github;
400
401 SlackConfiguration m_slack;
402
403 DynatraceConfiguration m_dynatrace;
404
405 ServiceNowConfiguration m_servicenow;
406
407 MCPServerNewRelicConfiguration m_mcpservernewrelic;
408
409 MCPServerDatadogConfiguration m_mcpserverdatadog;
410
411 MCPServerConfiguration m_mcpserver;
412
413 GitLabConfiguration m_gitlab;
414
415 MCPServerSplunkConfiguration m_mcpserversplunk;
416
417 EventChannelConfiguration m_eventChannel;
418
419 AzureConfiguration m_azure;
420
421 AzureDevOpsConfiguration m_azuredevops;
422
423 MCPServerGrafanaConfiguration m_mcpservergrafana;
424
425 PagerDutyConfiguration m_pagerduty;
426
427 MCPServerSigV4Configuration m_mcpserversigv4;
428
429 RemoteAgentConfiguration m_remoteagent;
430
431 RemoteAgentSigV4Configuration m_remoteagentsigv4;
432 bool m_sourceAwsHasBeenSet = false;
433 bool m_awsHasBeenSet = false;
434 bool m_githubHasBeenSet = false;
435 bool m_slackHasBeenSet = false;
436 bool m_dynatraceHasBeenSet = false;
437 bool m_servicenowHasBeenSet = false;
438 bool m_mcpservernewrelicHasBeenSet = false;
439 bool m_mcpserverdatadogHasBeenSet = false;
440 bool m_mcpserverHasBeenSet = false;
441 bool m_gitlabHasBeenSet = false;
442 bool m_mcpserversplunkHasBeenSet = false;
443 bool m_eventChannelHasBeenSet = false;
444 bool m_azureHasBeenSet = false;
445 bool m_azuredevopsHasBeenSet = false;
446 bool m_mcpservergrafanaHasBeenSet = false;
447 bool m_pagerdutyHasBeenSet = false;
448 bool m_mcpserversigv4HasBeenSet = false;
449 bool m_remoteagentHasBeenSet = false;
450 bool m_remoteagentsigv4HasBeenSet = false;
451};
452
453} // namespace Model
454} // namespace DevOpsAgent
455} // 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 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
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)
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