/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains information about the SSL/TLS protocols that
* CloudFront can use when establishing an HTTPS connection with your origin.
* See Also:
AWS
* API Reference
A list that contains allowed SSL/TLS protocols for this distribution.
*/ inline const Aws::VectorA list that contains allowed SSL/TLS protocols for this distribution.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *A list that contains allowed SSL/TLS protocols for this distribution.
*/ inline void SetItems(const Aws::VectorA list that contains allowed SSL/TLS protocols for this distribution.
*/ inline void SetItems(Aws::VectorA list that contains allowed SSL/TLS protocols for this distribution.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& WithItems(const Aws::VectorA list that contains allowed SSL/TLS protocols for this distribution.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& WithItems(Aws::VectorA list that contains allowed SSL/TLS protocols for this distribution.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *A list that contains allowed SSL/TLS protocols for this distribution.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *A list that contains allowed SSL/TLS protocols for this distribution.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The number of SSL/TLS protocols that you want to allow CloudFront to use when * establishing an HTTPS connection with this origin.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of SSL/TLS protocols that you want to allow CloudFront to use when * establishing an HTTPS connection with this origin.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of SSL/TLS protocols that you want to allow CloudFront to use when * establishing an HTTPS connection with this origin.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of SSL/TLS protocols that you want to allow CloudFront to use when * establishing an HTTPS connection with this origin.
*/ inline AwsCloudFrontDistributionOriginSslProtocols& WithQuantity(int value) { SetQuantity(value); return *this;} private: Aws::Vector