AWS SDK for C++  1.9.66
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.
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 
Aws::AmazonWebServiceRequest
Definition: AmazonWebServiceRequest.h:37
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::AmazonSerializableWebServiceRequest
Definition: AmazonSerializableWebServiceRequest.h:29
AWSStreamFwd.h
AmazonWebServiceRequest.h
Aws::AmazonSerializableWebServiceRequest::AmazonSerializableWebServiceRequest
AmazonSerializableWebServiceRequest()
Definition: AmazonSerializableWebServiceRequest.h:31
Aws::AMZN_EVENTSTREAM_CONTENT_TYPE
static const char AMZN_EVENTSTREAM_CONTENT_TYPE[]
Definition: AmazonSerializableWebServiceRequest.h:22
Aws::AMZN_JSON_CONTENT_TYPE_1_1
static const char AMZN_JSON_CONTENT_TYPE_1_1[]
Definition: AmazonSerializableWebServiceRequest.h:19
AWSString.h
AWS_UNREFERENCED_PARAM
#define AWS_UNREFERENCED_PARAM(x)
Definition: UnreferencedParam.h:16
Core_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
HttpTypes.h
Aws::AMZN_JSON_CONTENT_TYPE_1_0
static const char AMZN_JSON_CONTENT_TYPE_1_0[]
Definition: AmazonSerializableWebServiceRequest.h:18
Aws::AmazonSerializableWebServiceRequest::GetBody
std::shared_ptr< Aws::IOStream > GetBody() const override
Aws::JSON_CONTENT_TYPE
static const char JSON_CONTENT_TYPE[]
Definition: AmazonSerializableWebServiceRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AmazonSerializableWebServiceRequest::SerializePayload
virtual Aws::String SerializePayload() const =0
UnreferencedParam.h
Aws::FORM_CONTENT_TYPE
static const char FORM_CONTENT_TYPE[]
Definition: AmazonSerializableWebServiceRequest.h:20
Aws::AMZN_XML_CONTENT_TYPE
static const char AMZN_XML_CONTENT_TYPE[]
Definition: AmazonSerializableWebServiceRequest.h:21
Aws::AmazonSerializableWebServiceRequest::~AmazonSerializableWebServiceRequest
virtual ~AmazonSerializableWebServiceRequest()
Definition: AmazonSerializableWebServiceRequest.h:42