/** * 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 CognitoIdentityProvider { namespace Model { class AWS_COGNITOIDENTITYPROVIDER_API CreateResourceServerResult { public: CreateResourceServerResult(); CreateResourceServerResult(const Aws::AmazonWebServiceResult& result); CreateResourceServerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The newly created resource server.

*/ inline const ResourceServerType& GetResourceServer() const{ return m_resourceServer; } /** *

The newly created resource server.

*/ inline void SetResourceServer(const ResourceServerType& value) { m_resourceServer = value; } /** *

The newly created resource server.

*/ inline void SetResourceServer(ResourceServerType&& value) { m_resourceServer = std::move(value); } /** *

The newly created resource server.

*/ inline CreateResourceServerResult& WithResourceServer(const ResourceServerType& value) { SetResourceServer(value); return *this;} /** *

The newly created resource server.

*/ inline CreateResourceServerResult& WithResourceServer(ResourceServerType&& value) { SetResourceServer(std::move(value)); return *this;} private: ResourceServerType m_resourceServer; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws