/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updating or deleting a resource causes an inconsistent state.See
* Also:
AWS
* API Reference
The identifier of the requested resource
*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** *The identifier of the requested resource
*/ inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } /** *The identifier of the requested resource
*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } /** *The identifier of the requested resource
*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } /** *The identifier of the requested resource
*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } /** *The identifier of the requested resource
*/ inline ConflictException& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** *The identifier of the requested resource
*/ inline ConflictException& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** *The identifier of the requested resource
*/ inline ConflictException& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} /** *The resource type
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The resource type
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type
*/ inline ConflictException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The resource type
*/ inline ConflictException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *If present in the output, the operation can be retried after this time
*/ inline const Aws::Utils::DateTime& GetRetryAfter() const{ return m_retryAfter; } /** *If present in the output, the operation can be retried after this time
*/ inline bool RetryAfterHasBeenSet() const { return m_retryAfterHasBeenSet; } /** *If present in the output, the operation can be retried after this time
*/ inline void SetRetryAfter(const Aws::Utils::DateTime& value) { m_retryAfterHasBeenSet = true; m_retryAfter = value; } /** *If present in the output, the operation can be retried after this time
*/ inline void SetRetryAfter(Aws::Utils::DateTime&& value) { m_retryAfterHasBeenSet = true; m_retryAfter = std::move(value); } /** *If present in the output, the operation can be retried after this time
*/ inline ConflictException& WithRetryAfter(const Aws::Utils::DateTime& value) { SetRetryAfter(value); return *this;} /** *If present in the output, the operation can be retried after this time
*/ inline ConflictException& WithRetryAfter(Aws::Utils::DateTime&& value) { SetRetryAfter(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resourceIdentifier; bool m_resourceIdentifierHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Utils::DateTime m_retryAfter; bool m_retryAfterHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws