/** * 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 { namespace FMS { namespace Model { /** */ class BatchDisassociateResourceRequest : public FMSRequest { public: AWS_FMS_API BatchDisassociateResourceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateResource"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline const Aws::String& GetResourceSetIdentifier() const{ return m_resourceSetIdentifier; } /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline bool ResourceSetIdentifierHasBeenSet() const { return m_resourceSetIdentifierHasBeenSet; } /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline void SetResourceSetIdentifier(const Aws::String& value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier = value; } /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline void SetResourceSetIdentifier(Aws::String&& value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier = std::move(value); } /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline void SetResourceSetIdentifier(const char* value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier.assign(value); } /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline BatchDisassociateResourceRequest& WithResourceSetIdentifier(const Aws::String& value) { SetResourceSetIdentifier(value); return *this;} /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline BatchDisassociateResourceRequest& WithResourceSetIdentifier(Aws::String&& value) { SetResourceSetIdentifier(std::move(value)); return *this;} /** *

A unique identifier for the resource set, used in a request to refer to the * resource set.

*/ inline BatchDisassociateResourceRequest& WithResourceSetIdentifier(const char* value) { SetResourceSetIdentifier(value); return *this;} /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline const Aws::Vector& GetItems() const{ return m_items; } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline void SetItems(const Aws::Vector& value) { m_itemsHasBeenSet = true; m_items = value; } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline void SetItems(Aws::Vector&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline BatchDisassociateResourceRequest& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline BatchDisassociateResourceRequest& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline BatchDisassociateResourceRequest& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline BatchDisassociateResourceRequest& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *

The uniform resource identifiers (URI) of resources that should be * disassociated from the resource set. The URIs must be Amazon Resource Names * (ARNs).

*/ inline BatchDisassociateResourceRequest& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } private: Aws::String m_resourceSetIdentifier; bool m_resourceSetIdentifierHasBeenSet = false; Aws::Vector m_items; bool m_itemsHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws