AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateServiceIntegrationConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/KMSServerSideEncryptionIntegrationConfig.h>
9#include <aws/devops-guru/model/LogsAnomalyDetectionIntegrationConfig.h>
10#include <aws/devops-guru/model/OpsCenterIntegrationConfig.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 UpdateServiceIntegrationConfig() = default;
36 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const OpsCenterIntegrationConfig& GetOpsCenter() const { return m_opsCenter; }
41 inline bool OpsCenterHasBeenSet() const { return m_opsCenterHasBeenSet; }
42 template <typename OpsCenterT = OpsCenterIntegrationConfig>
43 void SetOpsCenter(OpsCenterT&& value) {
44 m_opsCenterHasBeenSet = true;
45 m_opsCenter = std::forward<OpsCenterT>(value);
46 }
47 template <typename OpsCenterT = OpsCenterIntegrationConfig>
49 SetOpsCenter(std::forward<OpsCenterT>(value));
50 return *this;
51 }
53
55
59 inline const LogsAnomalyDetectionIntegrationConfig& GetLogsAnomalyDetection() const { return m_logsAnomalyDetection; }
60 inline bool LogsAnomalyDetectionHasBeenSet() const { return m_logsAnomalyDetectionHasBeenSet; }
61 template <typename LogsAnomalyDetectionT = LogsAnomalyDetectionIntegrationConfig>
62 void SetLogsAnomalyDetection(LogsAnomalyDetectionT&& value) {
63 m_logsAnomalyDetectionHasBeenSet = true;
64 m_logsAnomalyDetection = std::forward<LogsAnomalyDetectionT>(value);
65 }
66 template <typename LogsAnomalyDetectionT = LogsAnomalyDetectionIntegrationConfig>
68 SetLogsAnomalyDetection(std::forward<LogsAnomalyDetectionT>(value));
69 return *this;
70 }
72
74
78 inline const KMSServerSideEncryptionIntegrationConfig& GetKMSServerSideEncryption() const { return m_kMSServerSideEncryption; }
79 inline bool KMSServerSideEncryptionHasBeenSet() const { return m_kMSServerSideEncryptionHasBeenSet; }
80 template <typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegrationConfig>
81 void SetKMSServerSideEncryption(KMSServerSideEncryptionT&& value) {
82 m_kMSServerSideEncryptionHasBeenSet = true;
83 m_kMSServerSideEncryption = std::forward<KMSServerSideEncryptionT>(value);
84 }
85 template <typename KMSServerSideEncryptionT = KMSServerSideEncryptionIntegrationConfig>
87 SetKMSServerSideEncryption(std::forward<KMSServerSideEncryptionT>(value));
88 return *this;
89 }
91 private:
93
94 LogsAnomalyDetectionIntegrationConfig m_logsAnomalyDetection;
95
96 KMSServerSideEncryptionIntegrationConfig m_kMSServerSideEncryption;
97 bool m_opsCenterHasBeenSet = false;
98 bool m_logsAnomalyDetectionHasBeenSet = false;
99 bool m_kMSServerSideEncryptionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace DevOpsGuru
104} // namespace Aws
UpdateServiceIntegrationConfig & WithOpsCenter(OpsCenterT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateServiceIntegrationConfig & WithKMSServerSideEncryption(KMSServerSideEncryptionT &&value)
const KMSServerSideEncryptionIntegrationConfig & GetKMSServerSideEncryption() const
AWS_DEVOPSGURU_API UpdateServiceIntegrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const LogsAnomalyDetectionIntegrationConfig & GetLogsAnomalyDetection() const
AWS_DEVOPSGURU_API UpdateServiceIntegrationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API UpdateServiceIntegrationConfig()=default
UpdateServiceIntegrationConfig & WithLogsAnomalyDetection(LogsAnomalyDetectionT &&value)
Aws::Utils::Json::JsonValue JsonValue