/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace FMS { namespace Model { /** */ class PutResourceSetRequest : public FMSRequest { public: AWS_FMS_API PutResourceSetRequest(); // 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 "PutResourceSet"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Details about the resource set to be created or updated.>

*/ inline const ResourceSet& GetResourceSet() const{ return m_resourceSet; } /** *

Details about the resource set to be created or updated.>

*/ inline bool ResourceSetHasBeenSet() const { return m_resourceSetHasBeenSet; } /** *

Details about the resource set to be created or updated.>

*/ inline void SetResourceSet(const ResourceSet& value) { m_resourceSetHasBeenSet = true; m_resourceSet = value; } /** *

Details about the resource set to be created or updated.>

*/ inline void SetResourceSet(ResourceSet&& value) { m_resourceSetHasBeenSet = true; m_resourceSet = std::move(value); } /** *

Details about the resource set to be created or updated.>

*/ inline PutResourceSetRequest& WithResourceSet(const ResourceSet& value) { SetResourceSet(value); return *this;} /** *

Details about the resource set to be created or updated.>

*/ inline PutResourceSetRequest& WithResourceSet(ResourceSet&& value) { SetResourceSet(std::move(value)); return *this;} /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline const Aws::Vector& GetTagList() const{ return m_tagList; } /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; } /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline void SetTagList(const Aws::Vector& value) { m_tagListHasBeenSet = true; m_tagList = value; } /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline void SetTagList(Aws::Vector&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); } /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline PutResourceSetRequest& WithTagList(const Aws::Vector& value) { SetTagList(value); return *this;} /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline PutResourceSetRequest& WithTagList(Aws::Vector&& value) { SetTagList(std::move(value)); return *this;} /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline PutResourceSetRequest& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; } /** *

Retrieves the tags associated with the specified resource set. Tags are * key:value pairs that you can use to categorize and manage your resources, for * purposes like billing. For example, you might set the tag key to "customer" and * the value to the customer name or ID. You can specify one or more tags to add to * each Amazon Web Services resource, up to 50 tags for a resource.

*/ inline PutResourceSetRequest& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; } private: ResourceSet m_resourceSet; bool m_resourceSetHasBeenSet = false; Aws::Vector m_tagList; bool m_tagListHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws