AWS SDK for C++  0.14.3
AWS SDK for C++
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 
23 
24 #include <memory>
25 
26 namespace Aws
27 {
28  namespace Http
29  {
33  enum class HttpMethod
34  {
35  HTTP_GET,
36  HTTP_POST,
38  HTTP_PUT,
39  HTTP_HEAD,
41  };
42 
46  enum class TransferLibType
47  {
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;
64 
65  } // namespace Http
66 } // namespace Aws
67 
TransferLibType
Definition: HttpTypes.h:46
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
std::pair< Aws::String, Aws::String > HeaderValuePair
Definition: HttpTypes.h:62
AWS_CORE_API const char * GetNameForHttpMethod(HttpMethod httpMethod)
#define AWS_CORE_API
Definition: Core_EXPORTS.h:35
JSON (JavaScript Object Notation).