AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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/ServiceNowConfiguration.h>
23#include <aws/devops-agent/model/SlackConfiguration.h>
24#include <aws/devops-agent/model/SourceAwsConfiguration.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace DevOpsAgent {
36namespace Model {
37
45 public:
46 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
47 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
49 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
55 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
56 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
57 template <typename SourceAwsT = SourceAwsConfiguration>
58 void SetSourceAws(SourceAwsT&& value) {
59 m_sourceAwsHasBeenSet = true;
60 m_sourceAws = std::forward<SourceAwsT>(value);
61 }
62 template <typename SourceAwsT = SourceAwsConfiguration>
63 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
64 SetSourceAws(std::forward<SourceAwsT>(value));
65 return *this;
66 }
68
70
73 inline const AWSConfiguration& GetAws() const { return m_aws; }
74 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
75 template <typename AwsT = AWSConfiguration>
76 void SetAws(AwsT&& value) {
77 m_awsHasBeenSet = true;
78 m_aws = std::forward<AwsT>(value);
79 }
80 template <typename AwsT = AWSConfiguration>
82 SetAws(std::forward<AwsT>(value));
83 return *this;
84 }
86
88
91 inline const GitHubConfiguration& GetGithub() const { return m_github; }
92 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
93 template <typename GithubT = GitHubConfiguration>
94 void SetGithub(GithubT&& value) {
95 m_githubHasBeenSet = true;
96 m_github = std::forward<GithubT>(value);
97 }
98 template <typename GithubT = GitHubConfiguration>
99 ServiceConfiguration& WithGithub(GithubT&& value) {
100 SetGithub(std::forward<GithubT>(value));
101 return *this;
102 }
104
106
109 inline const SlackConfiguration& GetSlack() const { return m_slack; }
110 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
111 template <typename SlackT = SlackConfiguration>
112 void SetSlack(SlackT&& value) {
113 m_slackHasBeenSet = true;
114 m_slack = std::forward<SlackT>(value);
115 }
116 template <typename SlackT = SlackConfiguration>
118 SetSlack(std::forward<SlackT>(value));
119 return *this;
120 }
122
124
127 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
128 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
129 template <typename DynatraceT = DynatraceConfiguration>
130 void SetDynatrace(DynatraceT&& value) {
131 m_dynatraceHasBeenSet = true;
132 m_dynatrace = std::forward<DynatraceT>(value);
133 }
134 template <typename DynatraceT = DynatraceConfiguration>
135 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
136 SetDynatrace(std::forward<DynatraceT>(value));
137 return *this;
138 }
140
142
145 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
146 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
147 template <typename ServicenowT = ServiceNowConfiguration>
148 void SetServicenow(ServicenowT&& value) {
149 m_servicenowHasBeenSet = true;
150 m_servicenow = std::forward<ServicenowT>(value);
151 }
152 template <typename ServicenowT = ServiceNowConfiguration>
153 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
154 SetServicenow(std::forward<ServicenowT>(value));
155 return *this;
156 }
158
160
163 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
164 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
165 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
166 void SetMcpservernewrelic(McpservernewrelicT&& value) {
167 m_mcpservernewrelicHasBeenSet = true;
168 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
169 }
170 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
171 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
172 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
173 return *this;
174 }
176
178
181 inline const MCPServerDatadogConfiguration& GetMcpserverdatadog() const { return m_mcpserverdatadog; }
182 inline bool McpserverdatadogHasBeenSet() const { return m_mcpserverdatadogHasBeenSet; }
183 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
184 void SetMcpserverdatadog(McpserverdatadogT&& value) {
185 m_mcpserverdatadogHasBeenSet = true;
186 m_mcpserverdatadog = std::forward<McpserverdatadogT>(value);
187 }
188 template <typename McpserverdatadogT = MCPServerDatadogConfiguration>
189 ServiceConfiguration& WithMcpserverdatadog(McpserverdatadogT&& value) {
190 SetMcpserverdatadog(std::forward<McpserverdatadogT>(value));
191 return *this;
192 }
194
196
199 inline const MCPServerConfiguration& GetMcpserver() const { return m_mcpserver; }
200 inline bool McpserverHasBeenSet() const { return m_mcpserverHasBeenSet; }
201 template <typename McpserverT = MCPServerConfiguration>
202 void SetMcpserver(McpserverT&& value) {
203 m_mcpserverHasBeenSet = true;
204 m_mcpserver = std::forward<McpserverT>(value);
205 }
206 template <typename McpserverT = MCPServerConfiguration>
207 ServiceConfiguration& WithMcpserver(McpserverT&& value) {
208 SetMcpserver(std::forward<McpserverT>(value));
209 return *this;
210 }
212
214
217 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
218 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
219 template <typename GitlabT = GitLabConfiguration>
220 void SetGitlab(GitlabT&& value) {
221 m_gitlabHasBeenSet = true;
222 m_gitlab = std::forward<GitlabT>(value);
223 }
224 template <typename GitlabT = GitLabConfiguration>
226 SetGitlab(std::forward<GitlabT>(value));
227 return *this;
228 }
230
232
235 inline const MCPServerSplunkConfiguration& GetMcpserversplunk() const { return m_mcpserversplunk; }
236 inline bool McpserversplunkHasBeenSet() const { return m_mcpserversplunkHasBeenSet; }
237 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
238 void SetMcpserversplunk(McpserversplunkT&& value) {
239 m_mcpserversplunkHasBeenSet = true;
240 m_mcpserversplunk = std::forward<McpserversplunkT>(value);
241 }
242 template <typename McpserversplunkT = MCPServerSplunkConfiguration>
243 ServiceConfiguration& WithMcpserversplunk(McpserversplunkT&& value) {
244 SetMcpserversplunk(std::forward<McpserversplunkT>(value));
245 return *this;
246 }
248
250
253 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
254 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
255 template <typename EventChannelT = EventChannelConfiguration>
256 void SetEventChannel(EventChannelT&& value) {
257 m_eventChannelHasBeenSet = true;
258 m_eventChannel = std::forward<EventChannelT>(value);
259 }
260 template <typename EventChannelT = EventChannelConfiguration>
261 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
262 SetEventChannel(std::forward<EventChannelT>(value));
263 return *this;
264 }
266
268
271 inline const AzureConfiguration& GetAzure() const { return m_azure; }
272 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
273 template <typename AzureT = AzureConfiguration>
274 void SetAzure(AzureT&& value) {
275 m_azureHasBeenSet = true;
276 m_azure = std::forward<AzureT>(value);
277 }
278 template <typename AzureT = AzureConfiguration>
280 SetAzure(std::forward<AzureT>(value));
281 return *this;
282 }
284
286
289 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
290 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
291 template <typename AzuredevopsT = AzureDevOpsConfiguration>
292 void SetAzuredevops(AzuredevopsT&& value) {
293 m_azuredevopsHasBeenSet = true;
294 m_azuredevops = std::forward<AzuredevopsT>(value);
295 }
296 template <typename AzuredevopsT = AzureDevOpsConfiguration>
297 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
298 SetAzuredevops(std::forward<AzuredevopsT>(value));
299 return *this;
300 }
302
304
307 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
308 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
309 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
310 void SetMcpservergrafana(McpservergrafanaT&& value) {
311 m_mcpservergrafanaHasBeenSet = true;
312 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
313 }
314 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
315 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
316 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
317 return *this;
318 }
320
322
325 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
326 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
327 template <typename PagerdutyT = PagerDutyConfiguration>
328 void SetPagerduty(PagerdutyT&& value) {
329 m_pagerdutyHasBeenSet = true;
330 m_pagerduty = std::forward<PagerdutyT>(value);
331 }
332 template <typename PagerdutyT = PagerDutyConfiguration>
333 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
334 SetPagerduty(std::forward<PagerdutyT>(value));
335 return *this;
336 }
338
340
343 inline const MCPServerSigV4Configuration& GetMcpserversigv4() const { return m_mcpserversigv4; }
344 inline bool Mcpserversigv4HasBeenSet() const { return m_mcpserversigv4HasBeenSet; }
345 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
346 void SetMcpserversigv4(Mcpserversigv4T&& value) {
347 m_mcpserversigv4HasBeenSet = true;
348 m_mcpserversigv4 = std::forward<Mcpserversigv4T>(value);
349 }
350 template <typename Mcpserversigv4T = MCPServerSigV4Configuration>
351 ServiceConfiguration& WithMcpserversigv4(Mcpserversigv4T&& value) {
352 SetMcpserversigv4(std::forward<Mcpserversigv4T>(value));
353 return *this;
354 }
356 private:
357 SourceAwsConfiguration m_sourceAws;
358
359 AWSConfiguration m_aws;
360
361 GitHubConfiguration m_github;
362
363 SlackConfiguration m_slack;
364
365 DynatraceConfiguration m_dynatrace;
366
367 ServiceNowConfiguration m_servicenow;
368
369 MCPServerNewRelicConfiguration m_mcpservernewrelic;
370
371 MCPServerDatadogConfiguration m_mcpserverdatadog;
372
373 MCPServerConfiguration m_mcpserver;
374
375 GitLabConfiguration m_gitlab;
376
377 MCPServerSplunkConfiguration m_mcpserversplunk;
378
379 EventChannelConfiguration m_eventChannel;
380
381 AzureConfiguration m_azure;
382
383 AzureDevOpsConfiguration m_azuredevops;
384
385 MCPServerGrafanaConfiguration m_mcpservergrafana;
386
387 PagerDutyConfiguration m_pagerduty;
388
389 MCPServerSigV4Configuration m_mcpserversigv4;
390 bool m_sourceAwsHasBeenSet = false;
391 bool m_awsHasBeenSet = false;
392 bool m_githubHasBeenSet = false;
393 bool m_slackHasBeenSet = false;
394 bool m_dynatraceHasBeenSet = false;
395 bool m_servicenowHasBeenSet = false;
396 bool m_mcpservernewrelicHasBeenSet = false;
397 bool m_mcpserverdatadogHasBeenSet = false;
398 bool m_mcpserverHasBeenSet = false;
399 bool m_gitlabHasBeenSet = false;
400 bool m_mcpserversplunkHasBeenSet = false;
401 bool m_eventChannelHasBeenSet = false;
402 bool m_azureHasBeenSet = false;
403 bool m_azuredevopsHasBeenSet = false;
404 bool m_mcpservergrafanaHasBeenSet = false;
405 bool m_pagerdutyHasBeenSet = false;
406 bool m_mcpserversigv4HasBeenSet = false;
407};
408
409} // namespace Model
410} // namespace DevOpsAgent
411} // 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 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
AWS_DEVOPSAGENT_API ServiceConfiguration()=default
AWS_DEVOPSAGENT_API ServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MCPServerConfiguration & GetMcpserver() const
const MCPServerSplunkConfiguration & GetMcpserversplunk() const
ServiceConfiguration & WithServicenow(ServicenowT &&value)
const MCPServerNewRelicConfiguration & GetMcpservernewrelic() const
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 & 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