/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace FMS { namespace Model { /** */ class GetResourceSetRequest : public FMSRequest { public: AWS_FMS_API GetResourceSetRequest(); // 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 "GetResourceSet"; } 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& GetIdentifier() const{ return m_identifier; } /** *

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

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

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

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

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

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

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

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

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

*/ inline GetResourceSetRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

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

*/ inline GetResourceSetRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

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

*/ inline GetResourceSetRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws