AWS SDK for C++  1.8.76
AWS SDK for C++
LexRuntimeServiceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 
13 namespace Aws
14 {
15 namespace LexRuntimeService
16 {
18  {
19  public:
21 
22  void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
23 
25  {
26  auto headers = GetRequestSpecificHeaders();
27 
28  if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
29  {
31  }
32  headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2016-11-28"));
33  return headers;
34  }
35 
36  protected:
38 
39  };
40 
42 
43 } // namespace LexRuntimeService
44 } // namespace Aws
#define AWS_LEXRUNTIMESERVICE_API
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CORE_API const char CONTENT_TYPE_HEADER[]
static const char AMZN_JSON_CONTENT_TYPE_1_1[]
Aws::Http::HeaderValueCollection GetHeaders() const override
std::pair< Aws::String, Aws::String > HeaderValuePair
Definition: HttpTypes.h:52
Aws::AmazonStreamingWebServiceRequest StreamingLexRuntimeServiceRequest
#define AWS_UNREFERENCED_PARAM(x)
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const
void AddParametersToRequest(Aws::Http::HttpRequest &httpRequest) const
AWS_CORE_API const char API_VERSION_HEADER[]