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

The name of the scheduled audit whose information you want to get.

*/ inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; } /** *

The name of the scheduled audit whose information you want to get.

*/ inline bool ScheduledAuditNameHasBeenSet() const { return m_scheduledAuditNameHasBeenSet; } /** *

The name of the scheduled audit whose information you want to get.

*/ inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = value; } /** *

The name of the scheduled audit whose information you want to get.

*/ inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = std::move(value); } /** *

The name of the scheduled audit whose information you want to get.

*/ inline void SetScheduledAuditName(const char* value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName.assign(value); } /** *

The name of the scheduled audit whose information you want to get.

*/ inline DescribeScheduledAuditRequest& WithScheduledAuditName(const Aws::String& value) { SetScheduledAuditName(value); return *this;} /** *

The name of the scheduled audit whose information you want to get.

*/ inline DescribeScheduledAuditRequest& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;} /** *

The name of the scheduled audit whose information you want to get.

*/ inline DescribeScheduledAuditRequest& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;} private: Aws::String m_scheduledAuditName; bool m_scheduledAuditNameHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws