/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Amazon Security Lake can collect logs and events from third-party custom
* sources.See Also:
AWS
* API Reference
The attributes of a third-party custom source.
*/ inline const CustomLogSourceAttributes& GetAttributes() const{ return m_attributes; } /** *The attributes of a third-party custom source.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *The attributes of a third-party custom source.
*/ inline void SetAttributes(const CustomLogSourceAttributes& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *The attributes of a third-party custom source.
*/ inline void SetAttributes(CustomLogSourceAttributes&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *The attributes of a third-party custom source.
*/ inline CustomLogSourceResource& WithAttributes(const CustomLogSourceAttributes& value) { SetAttributes(value); return *this;} /** *The attributes of a third-party custom source.
*/ inline CustomLogSourceResource& WithAttributes(CustomLogSourceAttributes&& value) { SetAttributes(std::move(value)); return *this;} /** *The details of the log provider for a third-party custom source.
*/ inline const CustomLogSourceProvider& GetProvider() const{ return m_provider; } /** *The details of the log provider for a third-party custom source.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *The details of the log provider for a third-party custom source.
*/ inline void SetProvider(const CustomLogSourceProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *The details of the log provider for a third-party custom source.
*/ inline void SetProvider(CustomLogSourceProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *The details of the log provider for a third-party custom source.
*/ inline CustomLogSourceResource& WithProvider(const CustomLogSourceProvider& value) { SetProvider(value); return *this;} /** *The details of the log provider for a third-party custom source.
*/ inline CustomLogSourceResource& WithProvider(CustomLogSourceProvider&& value) { SetProvider(std::move(value)); return *this;} /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline const Aws::String& GetSourceName() const{ return m_sourceName; } /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; } /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; } /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); } /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); } /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;} /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;} /** *The name for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceName(const char* value) { SetSourceName(value); return *this;} /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; } /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; } /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; } /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); } /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); } /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;} /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;} /** *The version for a third-party custom source. This must be a Regionally unique * value.
*/ inline CustomLogSourceResource& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;} private: CustomLogSourceAttributes m_attributes; bool m_attributesHasBeenSet = false; CustomLogSourceProvider m_provider; bool m_providerHasBeenSet = false; Aws::String m_sourceName; bool m_sourceNameHasBeenSet = false; Aws::String m_sourceVersion; bool m_sourceVersionHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws