/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request has conflicting operations. This can occur if you're trying to
* perform more than one operation on the same resource at the same
* time.See Also:
AWS
* API Reference
The resource on which there are conflicting operations.
*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *The resource on which there are conflicting operations.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *The resource on which there are conflicting operations.
*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *The resource on which there are conflicting operations.
*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *The resource on which there are conflicting operations.
*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *The resource on which there are conflicting operations.
*/ inline ConflictException& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *The resource on which there are conflicting operations.
*/ inline ConflictException& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *The resource on which there are conflicting operations.
*/ inline ConflictException& WithResource(const char* value) { SetResource(value); return *this;} /** *The type of resource on which there are conflicting operations..
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The type of resource on which there are conflicting operations..
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of resource on which there are conflicting operations..
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of resource on which there are conflicting operations..
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of resource on which there are conflicting operations..
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The type of resource on which there are conflicting operations..
*/ inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The type of resource on which there are conflicting operations..
*/ inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The type of resource on which there are conflicting operations..
*/ inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resource; bool m_resourceHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws