/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Retrieves the Logs status for the Amazon Security Lake account.See
* Also:
AWS
* API Reference
Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline DataLakeSourceStatus& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline DataLakeSourceStatus& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *Defines path the stored logs are available which has information on your * systems, applications, and services.
*/ inline DataLakeSourceStatus& WithResource(const char* value) { SetResource(value); return *this;} /** *The health status of services, including error codes and patterns.
*/ inline const SourceCollectionStatus& GetStatus() const{ return m_status; } /** *The health status of services, including error codes and patterns.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The health status of services, including error codes and patterns.
*/ inline void SetStatus(const SourceCollectionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The health status of services, including error codes and patterns.
*/ inline void SetStatus(SourceCollectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The health status of services, including error codes and patterns.
*/ inline DataLakeSourceStatus& WithStatus(const SourceCollectionStatus& value) { SetStatus(value); return *this;} /** *The health status of services, including error codes and patterns.
*/ inline DataLakeSourceStatus& WithStatus(SourceCollectionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_resource; bool m_resourceHasBeenSet = false; SourceCollectionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws