$darkmode
Qore AwsRestClientDataProvider Module Reference 1.0
AwsRestClientGetDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace AwsRestClientDataProvider {
29 
30 public:
32  const ProviderInfo = <DataProviderInfo>{
33  "name": "get",
34  "desc": "AWS REST GET data provider; makes a `GET` request to a REST server and returns the response",
35  "type": "AwsRestClientGetDataProvider",
36  "constructor_options": AwsRestClientDataProvider::ConstructorOptions,
37  "supports_request": True,
38  };
39 
41  const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
42  AbstractDataProvider::DataProviderSummaryInfoKeys
43  });
44 
46  const RequestType = new RestClientCallWithoutBodyRequestDataType();
47 
49  const ResponseType = new RestClientCallResponseDataType();
50 
52  constructor(*hash<auto> options);
53 
54 
56  constructor(AwsRestClient rest) ;
57 
58 
60  string getName();
61 
62 
64 
69 protected:
70  auto doRequestImpl(auto req, *hash<auto> request_options);
71 public:
72 
73 
76 
78 protected:
79  *AbstractDataProviderType getRequestTypeImpl();
80 public:
81 
82 
84 
86 protected:
87  *AbstractDataProviderType getResponseTypeImpl();
88 public:
89 
90 
92  hash<DataProviderInfo> getStaticInfoImpl();
93 
94 };
95 };
The AWS REST client base data provider class.
Definition: AwsRestClientDataProviderBase.qc.dox.h:28
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
The AWS REST client GET data provider class.
Definition: AwsRestClientGetDataProvider.qc.dox.h:28
const ProviderInfo
Provider info.
Definition: AwsRestClientGetDataProvider.qc.dox.h:32
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientGetDataProvider.qc.dox.h:41
constructor(AwsRestClient rest)
Creates the object from a REST connection.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ResponseType
Response type.
Definition: AwsRestClientGetDataProvider.qc.dox.h:49
string getName()
Returns the data provider name.
constructor(*hash< auto > options)
Creates the object from constructor options.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const RequestType
Request type.
Definition: AwsRestClientGetDataProvider.qc.dox.h:46
const True
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26