/** * 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 DescribeAuditSuppressionRequest : public IoTRequest { public: AWS_IOT_API DescribeAuditSuppressionRequest(); // 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 "DescribeAuditSuppression"; } AWS_IOT_API Aws::String SerializePayload() const override; inline const Aws::String& GetCheckName() const{ return m_checkName; } inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; } inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; } inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); } inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); } inline DescribeAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;} inline DescribeAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;} inline DescribeAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;} inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } inline DescribeAuditSuppressionRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;} inline DescribeAuditSuppressionRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;} private: Aws::String m_checkName; bool m_checkNameHasBeenSet = false; ResourceIdentifier m_resourceIdentifier; bool m_resourceIdentifierHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws