/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an origin that is an Amazon S3 bucket that is not
* configured with static website hosting.See Also:
AWS
* API Reference
The CloudFront origin access identity to associate with the origin.
*/ inline const Aws::String& GetOriginAccessIdentity() const{ return m_originAccessIdentity; } /** *The CloudFront origin access identity to associate with the origin.
*/ inline bool OriginAccessIdentityHasBeenSet() const { return m_originAccessIdentityHasBeenSet; } /** *The CloudFront origin access identity to associate with the origin.
*/ inline void SetOriginAccessIdentity(const Aws::String& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = value; } /** *The CloudFront origin access identity to associate with the origin.
*/ inline void SetOriginAccessIdentity(Aws::String&& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = std::move(value); } /** *The CloudFront origin access identity to associate with the origin.
*/ inline void SetOriginAccessIdentity(const char* value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity.assign(value); } /** *The CloudFront origin access identity to associate with the origin.
*/ inline AwsCloudFrontDistributionOriginS3OriginConfig& WithOriginAccessIdentity(const Aws::String& value) { SetOriginAccessIdentity(value); return *this;} /** *The CloudFront origin access identity to associate with the origin.
*/ inline AwsCloudFrontDistributionOriginS3OriginConfig& WithOriginAccessIdentity(Aws::String&& value) { SetOriginAccessIdentity(std::move(value)); return *this;} /** *The CloudFront origin access identity to associate with the origin.
*/ inline AwsCloudFrontDistributionOriginS3OriginConfig& WithOriginAccessIdentity(const char* value) { SetOriginAccessIdentity(value); return *this;} private: Aws::String m_originAccessIdentity; bool m_originAccessIdentityHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws