AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
ServiceIntegrationConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/KMSServerSideEncryptionIntegration.h>
9#include <aws/devops-guru/model/LogsAnomalyDetectionIntegration.h>
10#include <aws/devops-guru/model/OpsCenterIntegration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DevOpsGuru {
22namespace Model {
23
32 public:
33 AWS_DEVOPSGURU_API ServiceIntegrationConfig() = default;
36 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const OpsCenterIntegration& GetOpsCenter() const { return m_opsCenter; }
44 inline bool OpsCenterHasBeenSet() const { return m_opsCenterHasBeenSet; }
45 template <typename OpsCenterT = OpsCenterIntegration>
46 void SetOpsCenter(OpsCenterT&& value) {
47 m_opsCenterHasBeenSet = true;
48 m_opsCenter = std::forward<OpsCenterT>(value);
49 }
50 template <typename OpsCenterT = OpsCenterIntegration>
52 SetOpsCenter(std::forward<OpsCenterT>(value));
53 return *this;
54 }
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) {
66 m_logsAnomalyDetectionHasBeenSet = true;
67 m_logsAnomalyDetection = std::forward<LogsAnomalyDetectionT>(value);
68 }
69 template <typename LogsAnomalyDetectionT = LogsAnomalyDetectionIntegration>
70 ServiceIntegrationConfig& WithLogsAnomalyDetection(LogsAnomalyDetectionT&& value) {
71 SetLogsAnomalyDetection(std::forward<LogsAnomalyDetectionT>(value));
72 return *this;
73 }
75
77
81 inline const KMSServerSideEncryptionIntegration& GetKMSServerSideEncryption() const { return m_kMSServerSideEncryption; }
82 inline bool KMSServerSideEncryptionHasBeenSet() const { return m_kMSServerSideEncryptionHasBeenSet; }
83 template <typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegration>
84 void SetKMSServerSideEncryption(KMSServerSideEncryptionT&& value) {
85 m_kMSServerSideEncryptionHasBeenSet = true;
86 m_kMSServerSideEncryption = std::forward<KMSServerSideEncryptionT>(value);
87 }
88 template <typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegration>
89 ServiceIntegrationConfig& WithKMSServerSideEncryption(KMSServerSideEncryptionT&& value) {
90 SetKMSServerSideEncryption(std::forward<KMSServerSideEncryptionT>(value));
91 return *this;
92 }
94 private:
95 OpsCenterIntegration m_opsCenter;
96
97 LogsAnomalyDetectionIntegration m_logsAnomalyDetection;
98
99 KMSServerSideEncryptionIntegration m_kMSServerSideEncryption;
100 bool m_opsCenterHasBeenSet = false;
101 bool m_logsAnomalyDetectionHasBeenSet = false;
102 bool m_kMSServerSideEncryptionHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace DevOpsGuru
107} // 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