AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceIntegrationConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/OpsCenterIntegration.h>
9#include <aws/devops-guru/model/LogsAnomalyDetectionIntegration.h>
10#include <aws/devops-guru/model/KMSServerSideEncryptionIntegration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DevOpsGuru
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DEVOPSGURU_API ServiceIntegrationConfig() = default;
41 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const OpsCenterIntegration& GetOpsCenter() const { return m_opsCenter; }
50 inline bool OpsCenterHasBeenSet() const { return m_opsCenterHasBeenSet; }
51 template<typename OpsCenterT = OpsCenterIntegration>
52 void SetOpsCenter(OpsCenterT&& value) { m_opsCenterHasBeenSet = true; m_opsCenter = std::forward<OpsCenterT>(value); }
53 template<typename OpsCenterT = OpsCenterIntegration>
54 ServiceIntegrationConfig& WithOpsCenter(OpsCenterT&& value) { SetOpsCenter(std::forward<OpsCenterT>(value)); return *this;}
56
58
62 inline const LogsAnomalyDetectionIntegration& GetLogsAnomalyDetection() const { return m_logsAnomalyDetection; }
63 inline bool LogsAnomalyDetectionHasBeenSet() const { return m_logsAnomalyDetectionHasBeenSet; }
64 template<typename LogsAnomalyDetectionT = LogsAnomalyDetectionIntegration>
65 void SetLogsAnomalyDetection(LogsAnomalyDetectionT&& value) { m_logsAnomalyDetectionHasBeenSet = true; m_logsAnomalyDetection = std::forward<LogsAnomalyDetectionT>(value); }
66 template<typename LogsAnomalyDetectionT = LogsAnomalyDetectionIntegration>
67 ServiceIntegrationConfig& WithLogsAnomalyDetection(LogsAnomalyDetectionT&& value) { SetLogsAnomalyDetection(std::forward<LogsAnomalyDetectionT>(value)); return *this;}
69
71
75 inline const KMSServerSideEncryptionIntegration& GetKMSServerSideEncryption() const { return m_kMSServerSideEncryption; }
76 inline bool KMSServerSideEncryptionHasBeenSet() const { return m_kMSServerSideEncryptionHasBeenSet; }
77 template<typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegration>
78 void SetKMSServerSideEncryption(KMSServerSideEncryptionT&& value) { m_kMSServerSideEncryptionHasBeenSet = true; m_kMSServerSideEncryption = std::forward<KMSServerSideEncryptionT>(value); }
79 template<typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegration>
80 ServiceIntegrationConfig& WithKMSServerSideEncryption(KMSServerSideEncryptionT&& value) { SetKMSServerSideEncryption(std::forward<KMSServerSideEncryptionT>(value)); return *this;}
82 private:
83
84 OpsCenterIntegration m_opsCenter;
85 bool m_opsCenterHasBeenSet = false;
86
87 LogsAnomalyDetectionIntegration m_logsAnomalyDetection;
88 bool m_logsAnomalyDetectionHasBeenSet = false;
89
90 KMSServerSideEncryptionIntegration m_kMSServerSideEncryption;
91 bool m_kMSServerSideEncryptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DevOpsGuru
96} // namespace Aws
ServiceIntegrationConfig & WithOpsCenter(OpsCenterT &&value)
const KMSServerSideEncryptionIntegration & GetKMSServerSideEncryption() const
ServiceIntegrationConfig & WithKMSServerSideEncryption(KMSServerSideEncryptionT &&value)
ServiceIntegrationConfig & WithLogsAnomalyDetection(LogsAnomalyDetectionT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogsAnomalyDetection(LogsAnomalyDetectionT &&value)
const LogsAnomalyDetectionIntegration & GetLogsAnomalyDetection() const
AWS_DEVOPSGURU_API ServiceIntegrationConfig()=default
AWS_DEVOPSGURU_API ServiceIntegrationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetKMSServerSideEncryption(KMSServerSideEncryptionT &&value)
AWS_DEVOPSGURU_API ServiceIntegrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue