/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace GuardDuty { namespace Model { /** */ class GetCoverageStatisticsRequest : public GuardDutyRequest { public: AWS_GUARDDUTY_API GetCoverageStatisticsRequest(); // 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 "GetCoverageStatistics"; } AWS_GUARDDUTY_API Aws::String SerializePayload() const override; /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline GetCoverageStatisticsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline GetCoverageStatisticsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The unique ID of the GuardDuty detector associated to the coverage * statistics.

*/ inline GetCoverageStatisticsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

Represents the criteria used to filter the coverage statistics

*/ inline const CoverageFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; } /** *

Represents the criteria used to filter the coverage statistics

*/ inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; } /** *

Represents the criteria used to filter the coverage statistics

*/ inline void SetFilterCriteria(const CoverageFilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; } /** *

Represents the criteria used to filter the coverage statistics

*/ inline void SetFilterCriteria(CoverageFilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); } /** *

Represents the criteria used to filter the coverage statistics

*/ inline GetCoverageStatisticsRequest& WithFilterCriteria(const CoverageFilterCriteria& value) { SetFilterCriteria(value); return *this;} /** *

Represents the criteria used to filter the coverage statistics

*/ inline GetCoverageStatisticsRequest& WithFilterCriteria(CoverageFilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;} /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline const Aws::Vector& GetStatisticsType() const{ return m_statisticsType; } /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline bool StatisticsTypeHasBeenSet() const { return m_statisticsTypeHasBeenSet; } /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline void SetStatisticsType(const Aws::Vector& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType = value; } /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline void SetStatisticsType(Aws::Vector&& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType = std::move(value); } /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline GetCoverageStatisticsRequest& WithStatisticsType(const Aws::Vector& value) { SetStatisticsType(value); return *this;} /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline GetCoverageStatisticsRequest& WithStatisticsType(Aws::Vector&& value) { SetStatisticsType(std::move(value)); return *this;} /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline GetCoverageStatisticsRequest& AddStatisticsType(const CoverageStatisticsType& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType.push_back(value); return *this; } /** *

Represents the statistics type used to aggregate the coverage details.

*/ inline GetCoverageStatisticsRequest& AddStatisticsType(CoverageStatisticsType&& value) { m_statisticsTypeHasBeenSet = true; m_statisticsType.push_back(std::move(value)); return *this; } private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; CoverageFilterCriteria m_filterCriteria; bool m_filterCriteriaHasBeenSet = false; Aws::Vector m_statisticsType; bool m_statisticsTypeHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws