/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates that a requested resource is not found.See Also:
* AWS
* API Reference
An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline ResourceNotFoundException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *An enum object indicating the type of resource in the identity store service. * Valid values include USER, GROUP, and IDENTITY_STORE.
*/ inline ResourceNotFoundException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for a resource in the identity store that can be used as
* UserId
or GroupId
. The format for
* ResourceId
is either UUID
or
* 1234567890-UUID
, where UUID
is a randomly generated
* value for each resource when it is created and 1234567890
* represents the IdentityStoreId
string value. In the case that the
* identity store is migrated from a legacy SSO identity store, the
* ResourceId
for that identity store will be in the format of
* UUID
. Otherwise, it will be in the 1234567890-UUID
* format.
The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline ResourceNotFoundException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline ResourceNotFoundException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The identifier for each request. This value is a globally unique ID that is * generated by the identity store service for each sent request, and is then * returned inside the exception if the request fails.
*/ inline ResourceNotFoundException& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws