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-core
include
aws
core
http
HttpTypes.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
16
#pragma once
17
18
#include <
aws/core/Core_EXPORTS.h
>
19
20
#include <
aws/core/utils/memory/stl/AWSList.h
>
21
#include <
aws/core/utils/memory/stl/AWSString.h
>
22
#include <
aws/core/utils/memory/stl/AWSMap.h
>
23
24
#include <memory>
25
26
namespace
Aws
27
{
28
namespace
Http
29
{
33
enum class
HttpMethod
34
{
35
HTTP_GET
,
36
HTTP_POST
,
37
HTTP_DELETE
,
38
HTTP_PUT
,
39
HTTP_HEAD
,
40
HTTP_PATCH
41
};
42
46
enum class
TransferLibType
47
{
48
DEFAULT_CLIENT
,
49
CURL_CLIENT
,
50
WIN_INET_CLIENT
,
51
WIN_HTTP_CLIENT
52
};
53
54
namespace
HttpMethodMapper
55
{
59
AWS_CORE_API
const
char
*
GetNameForHttpMethod
(
HttpMethod
httpMethod);
60
}
// namespace HttpMethodMapper
61
62
typedef
std::pair<Aws::String, Aws::String>
HeaderValuePair
;
63
typedef
Aws::Map<Aws::String, Aws::String>
HeaderValueCollection
;
64
65
}
// namespace Http
66
}
// namespace Aws
67
Aws::Http::TransferLibType::WIN_HTTP_CLIENT
Aws::Http::TransferLibType::CURL_CLIENT
Aws::Http::TransferLibType::DEFAULT_CLIENT
Aws::Http::TransferLibType
TransferLibType
Definition:
HttpTypes.h:46
Aws::Http::HttpMethod
HttpMethod
Definition:
HttpTypes.h:33
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition:
HttpTypes.h:63
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition:
AWSMap.h:28
Aws::Http::HttpMethod::HTTP_HEAD
AWSList.h
AWSString.h
Aws::Http::HttpMethod::HTTP_POST
Aws::Http::HeaderValuePair
std::pair< Aws::String, Aws::String > HeaderValuePair
Definition:
HttpTypes.h:62
Aws::Http::HttpMethod::HTTP_DELETE
Aws::Http::TransferLibType::WIN_INET_CLIENT
Aws::Http::HttpMethod::HTTP_PATCH
AWSMap.h
Core_EXPORTS.h
Aws::Http::HttpMethodMapper::GetNameForHttpMethod
AWS_CORE_API const char * GetNameForHttpMethod(HttpMethod httpMethod)
AWS_CORE_API
#define AWS_CORE_API
Definition:
Core_EXPORTS.h:35
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
Aws::Http::HttpMethod::HTTP_PUT
Aws::Http::HttpMethod::HTTP_GET
Generated by
1.8.11