This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/StartOnDemandAuditTaskRequest.h

126 lines
5.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/iot/IoTRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoT
{
namespace Model
{
/**
*/
class AWS_IOT_API StartOnDemandAuditTaskRequest : public IoTRequest
{
public:
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::String SerializePayload() const override;
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline const Aws::Vector<Aws::String>& GetTargetCheckNames() const{ return m_targetCheckNames; }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline bool TargetCheckNamesHasBeenSet() const { return m_targetCheckNamesHasBeenSet; }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline void SetTargetCheckNames(const Aws::Vector<Aws::String>& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = value; }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline void SetTargetCheckNames(Aws::Vector<Aws::String>&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = std::move(value); }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline StartOnDemandAuditTaskRequest& WithTargetCheckNames(const Aws::Vector<Aws::String>& value) { SetTargetCheckNames(value); return *this;}
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline StartOnDemandAuditTaskRequest& WithTargetCheckNames(Aws::Vector<Aws::String>&& value) { SetTargetCheckNames(std::move(value)); return *this;}
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(const Aws::String& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(Aws::String&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(std::move(value)); return *this; }
/**
* <p>Which checks are performed during the audit. The checks you specify must be
* enabled for your account or an exception occurs. Use
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
* including those that are enabled or <code>UpdateAccountAuditConfiguration</code>
* to select which checks are enabled.</p>
*/
inline StartOnDemandAuditTaskRequest& AddTargetCheckNames(const char* value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_targetCheckNames;
bool m_targetCheckNamesHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws