/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class UpdateAuthorizerResult { public: AWS_IOT_API UpdateAuthorizerResult(); AWS_IOT_API UpdateAuthorizerResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API UpdateAuthorizerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The authorizer name.

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

The authorizer name.

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

The authorizer name.

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

The authorizer name.

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

The authorizer name.

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

The authorizer name.

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

The authorizer name.

*/ inline UpdateAuthorizerResult& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;} /** *

The authorizer ARN.

*/ inline const Aws::String& GetAuthorizerArn() const{ return m_authorizerArn; } /** *

The authorizer ARN.

*/ inline void SetAuthorizerArn(const Aws::String& value) { m_authorizerArn = value; } /** *

The authorizer ARN.

*/ inline void SetAuthorizerArn(Aws::String&& value) { m_authorizerArn = std::move(value); } /** *

The authorizer ARN.

*/ inline void SetAuthorizerArn(const char* value) { m_authorizerArn.assign(value); } /** *

The authorizer ARN.

*/ inline UpdateAuthorizerResult& WithAuthorizerArn(const Aws::String& value) { SetAuthorizerArn(value); return *this;} /** *

The authorizer ARN.

*/ inline UpdateAuthorizerResult& WithAuthorizerArn(Aws::String&& value) { SetAuthorizerArn(std::move(value)); return *this;} /** *

The authorizer ARN.

*/ inline UpdateAuthorizerResult& WithAuthorizerArn(const char* value) { SetAuthorizerArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateAuthorizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAuthorizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAuthorizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_authorizerName; Aws::String m_authorizerArn; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws