/** * 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 ValidateSecurityProfileBehaviorsRequest : public IoTRequest { public: AWS_IOT_API ValidateSecurityProfileBehaviorsRequest(); // 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 "ValidateSecurityProfileBehaviors"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline const Aws::Vector& GetBehaviors() const{ return m_behaviors; } /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline bool BehaviorsHasBeenSet() const { return m_behaviorsHasBeenSet; } /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline void SetBehaviors(const Aws::Vector& value) { m_behaviorsHasBeenSet = true; m_behaviors = value; } /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline void SetBehaviors(Aws::Vector&& value) { m_behaviorsHasBeenSet = true; m_behaviors = std::move(value); } /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline ValidateSecurityProfileBehaviorsRequest& WithBehaviors(const Aws::Vector& value) { SetBehaviors(value); return *this;} /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline ValidateSecurityProfileBehaviorsRequest& WithBehaviors(Aws::Vector&& value) { SetBehaviors(std::move(value)); return *this;} /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline ValidateSecurityProfileBehaviorsRequest& AddBehaviors(const Behavior& value) { m_behaviorsHasBeenSet = true; m_behaviors.push_back(value); return *this; } /** *

Specifies the behaviors that, when violated by a device (thing), cause an * alert.

*/ inline ValidateSecurityProfileBehaviorsRequest& AddBehaviors(Behavior&& value) { m_behaviorsHasBeenSet = true; m_behaviors.push_back(std::move(value)); return *this; } private: Aws::Vector m_behaviors; bool m_behaviorsHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws