AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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/MCPServerGrafanaConfiguration.h>
16#include <aws/devops-agent/model/MCPServerNewRelicConfiguration.h>
17#include <aws/devops-agent/model/PagerDutyConfiguration.h>
18#include <aws/devops-agent/model/ServiceNowConfiguration.h>
19#include <aws/devops-agent/model/SlackConfiguration.h>
20#include <aws/devops-agent/model/SourceAwsConfiguration.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace DevOpsAgent {
32namespace Model {
33
41 public:
42 AWS_DEVOPSAGENT_API ServiceConfiguration() = default;
43 AWS_DEVOPSAGENT_API ServiceConfiguration(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
51 inline const SourceAwsConfiguration& GetSourceAws() const { return m_sourceAws; }
52 inline bool SourceAwsHasBeenSet() const { return m_sourceAwsHasBeenSet; }
53 template <typename SourceAwsT = SourceAwsConfiguration>
54 void SetSourceAws(SourceAwsT&& value) {
55 m_sourceAwsHasBeenSet = true;
56 m_sourceAws = std::forward<SourceAwsT>(value);
57 }
58 template <typename SourceAwsT = SourceAwsConfiguration>
59 ServiceConfiguration& WithSourceAws(SourceAwsT&& value) {
60 SetSourceAws(std::forward<SourceAwsT>(value));
61 return *this;
62 }
64
66
69 inline const AWSConfiguration& GetAws() const { return m_aws; }
70 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
71 template <typename AwsT = AWSConfiguration>
72 void SetAws(AwsT&& value) {
73 m_awsHasBeenSet = true;
74 m_aws = std::forward<AwsT>(value);
75 }
76 template <typename AwsT = AWSConfiguration>
78 SetAws(std::forward<AwsT>(value));
79 return *this;
80 }
82
84
87 inline const GitHubConfiguration& GetGithub() const { return m_github; }
88 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
89 template <typename GithubT = GitHubConfiguration>
90 void SetGithub(GithubT&& value) {
91 m_githubHasBeenSet = true;
92 m_github = std::forward<GithubT>(value);
93 }
94 template <typename GithubT = GitHubConfiguration>
95 ServiceConfiguration& WithGithub(GithubT&& value) {
96 SetGithub(std::forward<GithubT>(value));
97 return *this;
98 }
100
102
105 inline const SlackConfiguration& GetSlack() const { return m_slack; }
106 inline bool SlackHasBeenSet() const { return m_slackHasBeenSet; }
107 template <typename SlackT = SlackConfiguration>
108 void SetSlack(SlackT&& value) {
109 m_slackHasBeenSet = true;
110 m_slack = std::forward<SlackT>(value);
111 }
112 template <typename SlackT = SlackConfiguration>
114 SetSlack(std::forward<SlackT>(value));
115 return *this;
116 }
118
120
123 inline const DynatraceConfiguration& GetDynatrace() const { return m_dynatrace; }
124 inline bool DynatraceHasBeenSet() const { return m_dynatraceHasBeenSet; }
125 template <typename DynatraceT = DynatraceConfiguration>
126 void SetDynatrace(DynatraceT&& value) {
127 m_dynatraceHasBeenSet = true;
128 m_dynatrace = std::forward<DynatraceT>(value);
129 }
130 template <typename DynatraceT = DynatraceConfiguration>
131 ServiceConfiguration& WithDynatrace(DynatraceT&& value) {
132 SetDynatrace(std::forward<DynatraceT>(value));
133 return *this;
134 }
136
138
141 inline const ServiceNowConfiguration& GetServicenow() const { return m_servicenow; }
142 inline bool ServicenowHasBeenSet() const { return m_servicenowHasBeenSet; }
143 template <typename ServicenowT = ServiceNowConfiguration>
144 void SetServicenow(ServicenowT&& value) {
145 m_servicenowHasBeenSet = true;
146 m_servicenow = std::forward<ServicenowT>(value);
147 }
148 template <typename ServicenowT = ServiceNowConfiguration>
149 ServiceConfiguration& WithServicenow(ServicenowT&& value) {
150 SetServicenow(std::forward<ServicenowT>(value));
151 return *this;
152 }
154
156
159 inline const MCPServerNewRelicConfiguration& GetMcpservernewrelic() const { return m_mcpservernewrelic; }
160 inline bool McpservernewrelicHasBeenSet() const { return m_mcpservernewrelicHasBeenSet; }
161 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
162 void SetMcpservernewrelic(McpservernewrelicT&& value) {
163 m_mcpservernewrelicHasBeenSet = true;
164 m_mcpservernewrelic = std::forward<McpservernewrelicT>(value);
165 }
166 template <typename McpservernewrelicT = MCPServerNewRelicConfiguration>
167 ServiceConfiguration& WithMcpservernewrelic(McpservernewrelicT&& value) {
168 SetMcpservernewrelic(std::forward<McpservernewrelicT>(value));
169 return *this;
170 }
172
174
177 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
178 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
179 template <typename GitlabT = GitLabConfiguration>
180 void SetGitlab(GitlabT&& value) {
181 m_gitlabHasBeenSet = true;
182 m_gitlab = std::forward<GitlabT>(value);
183 }
184 template <typename GitlabT = GitLabConfiguration>
186 SetGitlab(std::forward<GitlabT>(value));
187 return *this;
188 }
190
192
195 inline const EventChannelConfiguration& GetEventChannel() const { return m_eventChannel; }
196 inline bool EventChannelHasBeenSet() const { return m_eventChannelHasBeenSet; }
197 template <typename EventChannelT = EventChannelConfiguration>
198 void SetEventChannel(EventChannelT&& value) {
199 m_eventChannelHasBeenSet = true;
200 m_eventChannel = std::forward<EventChannelT>(value);
201 }
202 template <typename EventChannelT = EventChannelConfiguration>
203 ServiceConfiguration& WithEventChannel(EventChannelT&& value) {
204 SetEventChannel(std::forward<EventChannelT>(value));
205 return *this;
206 }
208
210
213 inline const AzureConfiguration& GetAzure() const { return m_azure; }
214 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
215 template <typename AzureT = AzureConfiguration>
216 void SetAzure(AzureT&& value) {
217 m_azureHasBeenSet = true;
218 m_azure = std::forward<AzureT>(value);
219 }
220 template <typename AzureT = AzureConfiguration>
222 SetAzure(std::forward<AzureT>(value));
223 return *this;
224 }
226
228
231 inline const AzureDevOpsConfiguration& GetAzuredevops() const { return m_azuredevops; }
232 inline bool AzuredevopsHasBeenSet() const { return m_azuredevopsHasBeenSet; }
233 template <typename AzuredevopsT = AzureDevOpsConfiguration>
234 void SetAzuredevops(AzuredevopsT&& value) {
235 m_azuredevopsHasBeenSet = true;
236 m_azuredevops = std::forward<AzuredevopsT>(value);
237 }
238 template <typename AzuredevopsT = AzureDevOpsConfiguration>
239 ServiceConfiguration& WithAzuredevops(AzuredevopsT&& value) {
240 SetAzuredevops(std::forward<AzuredevopsT>(value));
241 return *this;
242 }
244
246
249 inline const MCPServerGrafanaConfiguration& GetMcpservergrafana() const { return m_mcpservergrafana; }
250 inline bool McpservergrafanaHasBeenSet() const { return m_mcpservergrafanaHasBeenSet; }
251 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
252 void SetMcpservergrafana(McpservergrafanaT&& value) {
253 m_mcpservergrafanaHasBeenSet = true;
254 m_mcpservergrafana = std::forward<McpservergrafanaT>(value);
255 }
256 template <typename McpservergrafanaT = MCPServerGrafanaConfiguration>
257 ServiceConfiguration& WithMcpservergrafana(McpservergrafanaT&& value) {
258 SetMcpservergrafana(std::forward<McpservergrafanaT>(value));
259 return *this;
260 }
262
264
267 inline const PagerDutyConfiguration& GetPagerduty() const { return m_pagerduty; }
268 inline bool PagerdutyHasBeenSet() const { return m_pagerdutyHasBeenSet; }
269 template <typename PagerdutyT = PagerDutyConfiguration>
270 void SetPagerduty(PagerdutyT&& value) {
271 m_pagerdutyHasBeenSet = true;
272 m_pagerduty = std::forward<PagerdutyT>(value);
273 }
274 template <typename PagerdutyT = PagerDutyConfiguration>
275 ServiceConfiguration& WithPagerduty(PagerdutyT&& value) {
276 SetPagerduty(std::forward<PagerdutyT>(value));
277 return *this;
278 }
280 private:
281 SourceAwsConfiguration m_sourceAws;
282
283 AWSConfiguration m_aws;
284
285 GitHubConfiguration m_github;
286
287 SlackConfiguration m_slack;
288
289 DynatraceConfiguration m_dynatrace;
290
291 ServiceNowConfiguration m_servicenow;
292
293 MCPServerNewRelicConfiguration m_mcpservernewrelic;
294
295 GitLabConfiguration m_gitlab;
296
297 EventChannelConfiguration m_eventChannel;
298
299 AzureConfiguration m_azure;
300
301 AzureDevOpsConfiguration m_azuredevops;
302
303 MCPServerGrafanaConfiguration m_mcpservergrafana;
304
305 PagerDutyConfiguration m_pagerduty;
306 bool m_sourceAwsHasBeenSet = false;
307 bool m_awsHasBeenSet = false;
308 bool m_githubHasBeenSet = false;
309 bool m_slackHasBeenSet = false;
310 bool m_dynatraceHasBeenSet = false;
311 bool m_servicenowHasBeenSet = false;
312 bool m_mcpservernewrelicHasBeenSet = false;
313 bool m_gitlabHasBeenSet = false;
314 bool m_eventChannelHasBeenSet = false;
315 bool m_azureHasBeenSet = false;
316 bool m_azuredevopsHasBeenSet = false;
317 bool m_mcpservergrafanaHasBeenSet = false;
318 bool m_pagerdutyHasBeenSet = false;
319};
320
321} // namespace Model
322} // namespace DevOpsAgent
323} // namespace Aws
ServiceConfiguration & WithAws(AwsT &&value)
const SlackConfiguration & GetSlack() const
ServiceConfiguration & WithGithub(GithubT &&value)
ServiceConfiguration & WithAzuredevops(AzuredevopsT &&value)
ServiceConfiguration & WithAzure(AzureT &&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)
const DynatraceConfiguration & GetDynatrace() 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)
ServiceConfiguration & WithServicenow(ServicenowT &&value)
const MCPServerNewRelicConfiguration & GetMcpservernewrelic() const
const SourceAwsConfiguration & GetSourceAws() const
ServiceConfiguration & WithGitlab(GitlabT &&value)
ServiceConfiguration & WithSlack(SlackT &&value)
const ServiceNowConfiguration & GetServicenow() const
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)
Aws::Utils::Json::JsonValue JsonValue