7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/OpenSearchApplication.h>
9#include <aws/logs/model/OpenSearchCollection.h>
10#include <aws/logs/model/OpenSearchDataAccessPolicy.h>
11#include <aws/logs/model/OpenSearchDataSource.h>
12#include <aws/logs/model/OpenSearchEncryptionPolicy.h>
13#include <aws/logs/model/OpenSearchLifecyclePolicy.h>
14#include <aws/logs/model/OpenSearchNetworkPolicy.h>
15#include <aws/logs/model/OpenSearchWorkspace.h>
26namespace CloudWatchLogs {
57 template <
typename DataSourceT = OpenSearchDataSource>
59 m_dataSourceHasBeenSet =
true;
60 m_dataSource = std::forward<DataSourceT>(value);
62 template <
typename DataSourceT = OpenSearchDataSource>
78 template <
typename ApplicationT = OpenSearchApplication>
80 m_applicationHasBeenSet =
true;
81 m_application = std::forward<ApplicationT>(value);
83 template <
typename ApplicationT = OpenSearchApplication>
102 template <
typename CollectionT = OpenSearchCollection>
104 m_collectionHasBeenSet =
true;
105 m_collection = std::forward<CollectionT>(value);
107 template <
typename CollectionT = OpenSearchCollection>
125 template <
typename WorkspaceT = OpenSearchWorkspace>
127 m_workspaceHasBeenSet =
true;
128 m_workspace = std::forward<WorkspaceT>(value);
130 template <
typename WorkspaceT = OpenSearchWorkspace>
147 template <
typename EncryptionPolicyT = OpenSearchEncryptionPolicy>
149 m_encryptionPolicyHasBeenSet =
true;
150 m_encryptionPolicy = std::forward<EncryptionPolicyT>(value);
152 template <
typename EncryptionPolicyT = OpenSearchEncryptionPolicy>
169 template <
typename NetworkPolicyT = OpenSearchNetworkPolicy>
171 m_networkPolicyHasBeenSet =
true;
172 m_networkPolicy = std::forward<NetworkPolicyT>(value);
174 template <
typename NetworkPolicyT = OpenSearchNetworkPolicy>
194 template <
typename AccessPolicyT = OpenSearchDataAccessPolicy>
196 m_accessPolicyHasBeenSet =
true;
197 m_accessPolicy = std::forward<AccessPolicyT>(value);
199 template <
typename AccessPolicyT = OpenSearchDataAccessPolicy>
218 template <
typename LifecyclePolicyT = OpenSearchLifecyclePolicy>
220 m_lifecyclePolicyHasBeenSet =
true;
221 m_lifecyclePolicy = std::forward<LifecyclePolicyT>(value);
223 template <
typename LifecyclePolicyT = OpenSearchLifecyclePolicy>
245 bool m_dataSourceHasBeenSet =
false;
246 bool m_applicationHasBeenSet =
false;
247 bool m_collectionHasBeenSet =
false;
248 bool m_workspaceHasBeenSet =
false;
249 bool m_encryptionPolicyHasBeenSet =
false;
250 bool m_networkPolicyHasBeenSet =
false;
251 bool m_accessPolicyHasBeenSet =
false;
252 bool m_lifecyclePolicyHasBeenSet =
false;
bool NetworkPolicyHasBeenSet() const
OpenSearchIntegrationDetails & WithAccessPolicy(AccessPolicyT &&value)
void SetEncryptionPolicy(EncryptionPolicyT &&value)
bool AccessPolicyHasBeenSet() const
const OpenSearchNetworkPolicy & GetNetworkPolicy() const
void SetWorkspace(WorkspaceT &&value)
AWS_CLOUDWATCHLOGS_API OpenSearchIntegrationDetails(Aws::Utils::Json::JsonView jsonValue)
bool LifecyclePolicyHasBeenSet() const
OpenSearchIntegrationDetails & WithWorkspace(WorkspaceT &&value)
const OpenSearchEncryptionPolicy & GetEncryptionPolicy() const
OpenSearchIntegrationDetails & WithCollection(CollectionT &&value)
OpenSearchIntegrationDetails & WithDataSource(DataSourceT &&value)
const OpenSearchDataAccessPolicy & GetAccessPolicy() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
const OpenSearchWorkspace & GetWorkspace() const
OpenSearchIntegrationDetails & WithLifecyclePolicy(LifecyclePolicyT &&value)
const OpenSearchDataSource & GetDataSource() const
void SetAccessPolicy(AccessPolicyT &&value)
const OpenSearchCollection & GetCollection() const
OpenSearchIntegrationDetails & WithEncryptionPolicy(EncryptionPolicyT &&value)
bool DataSourceHasBeenSet() const
AWS_CLOUDWATCHLOGS_API OpenSearchIntegrationDetails()=default
OpenSearchIntegrationDetails & WithNetworkPolicy(NetworkPolicyT &&value)
AWS_CLOUDWATCHLOGS_API OpenSearchIntegrationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CollectionHasBeenSet() const
void SetApplication(ApplicationT &&value)
OpenSearchIntegrationDetails & WithApplication(ApplicationT &&value)
void SetDataSource(DataSourceT &&value)
bool ApplicationHasBeenSet() const
void SetCollection(CollectionT &&value)
bool WorkspaceHasBeenSet() const
const OpenSearchLifecyclePolicy & GetLifecyclePolicy() const
bool EncryptionPolicyHasBeenSet() const
void SetNetworkPolicy(NetworkPolicyT &&value)
void SetLifecyclePolicy(LifecyclePolicyT &&value)
const OpenSearchApplication & GetApplication() const
Aws::Utils::Json::JsonValue JsonValue