/** * 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 AppSync { namespace Model { /** */ class DeleteResolverRequest : public AppSyncRequest { public: AWS_APPSYNC_API DeleteResolverRequest(); // 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 "DeleteResolver"; } AWS_APPSYNC_API Aws::String SerializePayload() const override; /** *

The API ID.

*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *

The API ID.

*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *

The API ID.

*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *

The API ID.

*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *

The API ID.

*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *

The API ID.

*/ inline DeleteResolverRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *

The API ID.

*/ inline DeleteResolverRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *

The API ID.

*/ inline DeleteResolverRequest& WithApiId(const char* value) { SetApiId(value); return *this;} /** *

The name of the resolver type.

*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *

The name of the resolver type.

*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *

The name of the resolver type.

*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *

The name of the resolver type.

*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *

The name of the resolver type.

*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *

The name of the resolver type.

*/ inline DeleteResolverRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *

The name of the resolver type.

*/ inline DeleteResolverRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *

The name of the resolver type.

*/ inline DeleteResolverRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *

The resolver field name.

*/ inline const Aws::String& GetFieldName() const{ return m_fieldName; } /** *

The resolver field name.

*/ inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } /** *

The resolver field name.

*/ inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } /** *

The resolver field name.

*/ inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } /** *

The resolver field name.

*/ inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } /** *

The resolver field name.

*/ inline DeleteResolverRequest& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} /** *

The resolver field name.

*/ inline DeleteResolverRequest& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} /** *

The resolver field name.

*/ inline DeleteResolverRequest& WithFieldName(const char* value) { SetFieldName(value); return *this;} private: Aws::String m_apiId; bool m_apiIdHasBeenSet = false; Aws::String m_typeName; bool m_typeNameHasBeenSet = false; Aws::String m_fieldName; bool m_fieldNameHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws