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

The authorizer name.

*/ inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; } /** *

The authorizer name.

*/ inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; } /** *

The authorizer name.

*/ inline void SetAuthorizerName(const Aws::String& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = value; } /** *

The authorizer name.

*/ inline void SetAuthorizerName(Aws::String&& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = std::move(value); } /** *

The authorizer name.

*/ inline void SetAuthorizerName(const char* value) { m_authorizerNameHasBeenSet = true; m_authorizerName.assign(value); } /** *

The authorizer name.

*/ inline SetDefaultAuthorizerRequest& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;} /** *

The authorizer name.

*/ inline SetDefaultAuthorizerRequest& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;} /** *

The authorizer name.

*/ inline SetDefaultAuthorizerRequest& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;} private: Aws::String m_authorizerName; bool m_authorizerNameHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws