AWS SDK for C++
0.14.3
AWS SDK for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
aws-cpp-sdk-cloudfront
include
aws
cloudfront
model
ViewerProtocolPolicy.h
Go to the documentation of this file.
1
/*
2
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License").
5
* You may not use this file except in compliance with the License.
6
* A copy of the License is located at
7
*
8
* http://aws.amazon.com/apache2.0
9
*
10
* or in the "license" file accompanying this file. This file is distributed
11
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12
* express or implied. See the License for the specific language governing
13
* permissions and limitations under the License.
14
*/
15
#pragma once
16
#include <
aws/cloudfront/CloudFront_EXPORTS.h
>
17
#include <
aws/core/utils/memory/stl/AWSString.h
>
18
19
namespace
Aws
20
{
21
namespace
CloudFront
22
{
23
namespace
Model
24
{
25
enum class
ViewerProtocolPolicy
26
{
27
NOT_SET
,
28
allow_all
,
29
https_only
,
30
redirect_to_https
31
};
32
33
namespace
ViewerProtocolPolicyMapper
34
{
35
AWS_CLOUDFRONT_API
ViewerProtocolPolicy
GetViewerProtocolPolicyForName
(
const
Aws::String
& name);
36
37
AWS_CLOUDFRONT_API
Aws::String
GetNameForViewerProtocolPolicy
(
ViewerProtocolPolicy
value);
38
}
// namespace ViewerProtocolPolicyMapper
39
}
// namespace Model
40
}
// namespace CloudFront
41
}
// namespace Aws
Aws::CloudFront::Model::ViewerProtocolPolicy::redirect_to_https
Aws::CloudFront::Model::GeoRestrictionType::NOT_SET
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition:
CloudFront_EXPORTS.h:37
Aws::CloudFront::Model::ViewerProtocolPolicyMapper::GetViewerProtocolPolicyForName
AWS_CLOUDFRONT_API ViewerProtocolPolicy GetViewerProtocolPolicyForName(const Aws::String &name)
Aws::CloudFront::Model::ViewerProtocolPolicy
ViewerProtocolPolicy
Definition:
ViewerProtocolPolicy.h:25
Aws::CloudFront::Model::ViewerProtocolPolicy::allow_all
Aws::CloudFront::Model::ViewerProtocolPolicyMapper::GetNameForViewerProtocolPolicy
AWS_CLOUDFRONT_API Aws::String GetNameForViewerProtocolPolicy(ViewerProtocolPolicy value)
CloudFront_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::CloudFront::Model::OriginProtocolPolicy::https_only
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
Generated by
1.8.11