AWS SDK for C++  1.8.95
AWS SDK for C++
AmazonSerializableWebServiceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 
14 
15 namespace Aws
16 {
17  static const char JSON_CONTENT_TYPE[] = "application/json";
18  static const char AMZN_JSON_CONTENT_TYPE_1_0[] = "application/x-amz-json-1.0";
19  static const char AMZN_JSON_CONTENT_TYPE_1_1[] = "application/x-amz-json-1.1";
20  static const char FORM_CONTENT_TYPE[] = "application/x-www-form-urlencoded";
21  static const char AMZN_XML_CONTENT_TYPE[] = "application/xml";
22  static const char AMZN_EVENTSTREAM_CONTENT_TYPE[] = "application/vnd.amazon.eventstream";
23 
29  {
30  public:
32  {
33  //prevent unreferenced var warnings
34  //for these values.
35  AWS_UNREFERENCED_PARAM(JSON_CONTENT_TYPE);
36  AWS_UNREFERENCED_PARAM(AMZN_JSON_CONTENT_TYPE_1_0);
37  AWS_UNREFERENCED_PARAM(AMZN_JSON_CONTENT_TYPE_1_1);
38  AWS_UNREFERENCED_PARAM(FORM_CONTENT_TYPE);
39  AWS_UNREFERENCED_PARAM(AMZN_XML_CONTENT_TYPE);
40  }
41 
43 
47  virtual Aws::String SerializePayload() const = 0;
48 
52  std::shared_ptr<Aws::IOStream> GetBody() const override;
53  };
54 
55 } // namespace Aws
56 
static const char AMZN_JSON_CONTENT_TYPE_1_0[]
static const char AMZN_EVENTSTREAM_CONTENT_TYPE[]
static const char AMZN_JSON_CONTENT_TYPE_1_1[]
static const char AMZN_XML_CONTENT_TYPE[]
static const char JSON_CONTENT_TYPE[]
#define AWS_UNREFERENCED_PARAM(x)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
static const char FORM_CONTENT_TYPE[]