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

Information about the associations.

*/ inline const Aws::Vector& GetResourceShareAssociations() const{ return m_resourceShareAssociations; } /** *

Information about the associations.

*/ inline void SetResourceShareAssociations(const Aws::Vector& value) { m_resourceShareAssociations = value; } /** *

Information about the associations.

*/ inline void SetResourceShareAssociations(Aws::Vector&& value) { m_resourceShareAssociations = std::move(value); } /** *

Information about the associations.

*/ inline DisassociateResourceShareResult& WithResourceShareAssociations(const Aws::Vector& value) { SetResourceShareAssociations(value); return *this;} /** *

Information about the associations.

*/ inline DisassociateResourceShareResult& WithResourceShareAssociations(Aws::Vector&& value) { SetResourceShareAssociations(std::move(value)); return *this;} /** *

Information about the associations.

*/ inline DisassociateResourceShareResult& AddResourceShareAssociations(const ResourceShareAssociation& value) { m_resourceShareAssociations.push_back(value); return *this; } /** *

Information about the associations.

*/ inline DisassociateResourceShareResult& AddResourceShareAssociations(ResourceShareAssociation&& value) { m_resourceShareAssociations.push_back(std::move(value)); return *this; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

*/ inline DisassociateResourceShareResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

*/ inline DisassociateResourceShareResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request.

*/ inline DisassociateResourceShareResult& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::Vector m_resourceShareAssociations; Aws::String m_clientToken; }; } // namespace Model } // namespace RAM } // namespace Aws