/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A resource with the same name already exists.See Also:
AWS
* API Reference
A resource with the same name already exists.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *A resource with the same name already exists.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *A resource with the same name already exists.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *A resource with the same name already exists.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *A resource with the same name already exists.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *A resource with the same name already exists.
*/ inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *A resource with the same name already exists.
*/ inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *A resource with the same name already exists.
*/ inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws