/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Origin access identity configuration. Send a GET
request to the
* /CloudFront API version/CloudFront/identity ID/config
* resource.See Also:
AWS
* API Reference
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A unique value (for example, a date-time stamp) that ensures that the request * can't be replayed.
If the value of CallerReference
is new
* (regardless of the content of the
* CloudFrontOriginAccessIdentityConfig
object), a new origin access
* identity is created.
If the CallerReference
is a value
* already sent in a previous identity request, and the content of the
* CloudFrontOriginAccessIdentityConfig
is identical to the original
* request (ignoring white space), the response includes the same information
* returned to the original request.
If the CallerReference
is
* a value you already sent in a previous request to create an identity, but the
* content of the CloudFrontOriginAccessIdentityConfig
is different
* from the original request, CloudFront returns a
* CloudFrontOriginAccessIdentityAlreadyExists
error.
A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline CloudFrontOriginAccessIdentityConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline CloudFrontOriginAccessIdentityConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *A comment to describe the origin access identity. The comment cannot be * longer than 128 characters.
*/ inline CloudFrontOriginAccessIdentityConfig& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_callerReference; bool m_callerReferenceHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws