/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SecurityLake { namespace Model { /** */ class DeleteAwsLogSourceRequest : public SecurityLakeRequest { public: AWS_SECURITYLAKE_API DeleteAwsLogSourceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteAwsLogSource"; } AWS_SECURITYLAKE_API Aws::String SerializePayload() const override; /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline void SetSources(const Aws::Vector& value) { m_sourcesHasBeenSet = true; m_sources = value; } /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline void SetSources(Aws::Vector&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); } /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline DeleteAwsLogSourceRequest& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline DeleteAwsLogSourceRequest& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline DeleteAwsLogSourceRequest& AddSources(const AwsLogSourceConfiguration& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *

Specify the natively-supported Amazon Web Services service to remove as a * source in Security Lake.

*/ inline DeleteAwsLogSourceRequest& AddSources(AwsLogSourceConfiguration&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } private: Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws