/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { class CreateResourceServerResult { public: AWS_COGNITOIDENTITYPROVIDER_API CreateResourceServerResult(); AWS_COGNITOIDENTITYPROVIDER_API CreateResourceServerResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITYPROVIDER_API 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;} 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 CreateResourceServerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateResourceServerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateResourceServerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ResourceServerType m_resourceServer; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws