/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary of the information about a CloudFront origin access
* identity.See Also:
AWS
* API Reference
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The ID for the origin access identity. For example:
* E74FTE3AJFJ256A
.
The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline const Aws::String& GetS3CanonicalUserId() const{ return m_s3CanonicalUserId; } /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline bool S3CanonicalUserIdHasBeenSet() const { return m_s3CanonicalUserIdHasBeenSet; } /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline void SetS3CanonicalUserId(const Aws::String& value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId = value; } /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline void SetS3CanonicalUserId(Aws::String&& value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId = std::move(value); } /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline void SetS3CanonicalUserId(const char* value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId.assign(value); } /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(const Aws::String& value) { SetS3CanonicalUserId(value); return *this;} /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(Aws::String&& value) { SetS3CanonicalUserId(std::move(value)); return *this;} /** *The Amazon S3 canonical user ID for the origin access identity, which you use * when giving the origin access identity read permission to an object in Amazon * S3.
*/ inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(const char* value) { SetS3CanonicalUserId(value); return *this;} /** *The comment for this origin access identity, as originally specified when * created.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *The comment for this origin access identity, as originally specified when * created.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *The comment for this origin access identity, as originally specified when * created.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *The comment for this origin access identity, as originally specified when * created.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *The comment for this origin access identity, as originally specified when * created.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *The comment for this origin access identity, as originally specified when * created.
*/ inline CloudFrontOriginAccessIdentitySummary& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *The comment for this origin access identity, as originally specified when * created.
*/ inline CloudFrontOriginAccessIdentitySummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *The comment for this origin access identity, as originally specified when * created.
*/ inline CloudFrontOriginAccessIdentitySummary& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_s3CanonicalUserId; bool m_s3CanonicalUserIdHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws