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

The identifier of the server that the user is attached to.

*/ inline const Aws::String& GetServerId() const{ return m_serverId; } /** *

The identifier of the server that the user is attached to.

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

The identifier of the server that the user is attached to.

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

The identifier of the server that the user is attached to.

*/ inline void SetServerId(const char* value) { m_serverId.assign(value); } /** *

The identifier of the server that the user is attached to.

*/ inline UpdateAccessResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;} /** *

The identifier of the server that the user is attached to.

*/ inline UpdateAccessResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;} /** *

The identifier of the server that the user is attached to.

*/ inline UpdateAccessResult& WithServerId(const char* value) { SetServerId(value); return *this;} /** *

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

*/ inline const Aws::String& GetExternalId() const{ return m_externalId; } /** *

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

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

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

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

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

*/ inline void SetExternalId(const char* value) { m_externalId.assign(value); } /** *

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

*/ inline UpdateAccessResult& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;} /** *

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

*/ inline UpdateAccessResult& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;} /** *

The external identifier of the group whose users have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Amazon Web * ServicesTransfer Family.

*/ inline UpdateAccessResult& WithExternalId(const char* value) { SetExternalId(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 UpdateAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_serverId; Aws::String m_externalId; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws