AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Route53Request.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/endpoint/AWSEndpoint.h>
9#include <aws/core/AmazonSerializableWebServiceRequest.h>
10#include <aws/core/utils/UnreferencedParam.h>
11#include <aws/core/http/HttpRequest.h>
12
13namespace Aws
14{
15namespace Route53
16{
18 {
19 public:
22
23 virtual ~Route53Request () {}
24
25 void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
26
28 {
29 auto headers = GetRequestSpecificHeaders();
30
31 if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
32 {
34 }
35 headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2013-04-01"));
36 return headers;
37 }
38
39 protected:
41
42 };
43
44
45} // namespace Route53
46} // namespace Aws
Aws::Http::HeaderValueCollection GetHeaders() const override
void AddParametersToRequest(Aws::Http::HttpRequest &httpRequest) const
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
std::pair< Aws::String, Aws::String > HeaderValuePair
AWS_CORE_API const char API_VERSION_HEADER[]
AWS_CORE_API const char CONTENT_TYPE_HEADER[]
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
static const char AMZN_XML_CONTENT_TYPE[]