/** * 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 IoT { namespace Model { /** */ class StartOnDemandAuditTaskRequest : public IoTRequest { public: AWS_IOT_API StartOnDemandAuditTaskRequest(); // 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 "StartOnDemandAuditTask"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline const Aws::Vector& GetTargetCheckNames() const{ return m_targetCheckNames; } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline bool TargetCheckNamesHasBeenSet() const { return m_targetCheckNamesHasBeenSet; } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline void SetTargetCheckNames(const Aws::Vector& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = value; } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline void SetTargetCheckNames(Aws::Vector&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = std::move(value); } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline StartOnDemandAuditTaskRequest& WithTargetCheckNames(const Aws::Vector& value) { SetTargetCheckNames(value); return *this;} /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline StartOnDemandAuditTaskRequest& WithTargetCheckNames(Aws::Vector&& value) { SetTargetCheckNames(std::move(value)); return *this;} /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(const Aws::String& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(Aws::String&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(std::move(value)); return *this; } /** *

Which checks are performed during the audit. The checks you specify must be * enabled for your account or an exception occurs. Use * DescribeAccountAuditConfiguration to see the list of all checks, * including those that are enabled or UpdateAccountAuditConfiguration * to select which checks are enabled.

*/ inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(const char* value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; } private: Aws::Vector m_targetCheckNames; bool m_targetCheckNamesHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws