/** * 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 Http { class URI; } //namespace Http namespace IoT { namespace Model { /** */ class DetachSecurityProfileRequest : public IoTRequest { public: AWS_IOT_API DetachSecurityProfileRequest(); // 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 "DetachSecurityProfile"; } AWS_IOT_API Aws::String SerializePayload() const override; AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The security profile that is detached.

*/ inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; } /** *

The security profile that is detached.

*/ inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; } /** *

The security profile that is detached.

*/ inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; } /** *

The security profile that is detached.

*/ inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); } /** *

The security profile that is detached.

*/ inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); } /** *

The security profile that is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;} /** *

The security profile that is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;} /** *

The security profile that is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;} /** *

The ARN of the thing group from which the security profile is detached.

*/ inline const Aws::String& GetSecurityProfileTargetArn() const{ return m_securityProfileTargetArn; } /** *

The ARN of the thing group from which the security profile is detached.

*/ inline bool SecurityProfileTargetArnHasBeenSet() const { return m_securityProfileTargetArnHasBeenSet; } /** *

The ARN of the thing group from which the security profile is detached.

*/ inline void SetSecurityProfileTargetArn(const Aws::String& value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn = value; } /** *

The ARN of the thing group from which the security profile is detached.

*/ inline void SetSecurityProfileTargetArn(Aws::String&& value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn = std::move(value); } /** *

The ARN of the thing group from which the security profile is detached.

*/ inline void SetSecurityProfileTargetArn(const char* value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn.assign(value); } /** *

The ARN of the thing group from which the security profile is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(const Aws::String& value) { SetSecurityProfileTargetArn(value); return *this;} /** *

The ARN of the thing group from which the security profile is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(Aws::String&& value) { SetSecurityProfileTargetArn(std::move(value)); return *this;} /** *

The ARN of the thing group from which the security profile is detached.

*/ inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(const char* value) { SetSecurityProfileTargetArn(value); return *this;} private: Aws::String m_securityProfileName; bool m_securityProfileNameHasBeenSet = false; Aws::String m_securityProfileTargetArn; bool m_securityProfileTargetArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws