QueryAMFSubscriptionInfoDocumentApiImpl.h 1.5 KB
Newer Older
yangjian's avatar
yangjian committed
1
/**
2 3 4 5 6 7 8 9 10 11 12
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
yangjian's avatar
yangjian committed
13 14

/*
15 16 17 18
 * QueryAMFSubscriptionInfoDocumentApiImpl.h
 *
 *
 */
yangjian's avatar
yangjian committed
19 20 21 22

#ifndef QUERY_AMF_SUBSCRIPTION_INFO_DOCUMENT_API_IMPL_H_
#define QUERY_AMF_SUBSCRIPTION_INFO_DOCUMENT_API_IMPL_H_

23
#include <QueryAMFSubscriptionInfoDocumentApi.h>
yangjian's avatar
yangjian committed
24 25 26
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include <pistache/optional.h>
27
#include <pistache/router.h>
yangjian's avatar
yangjian committed
28

29
#include <memory>
yangjian's avatar
yangjian committed
30 31
#include <string>

32
#include "AmfSubscriptionInfo.h"
33
#include "udr_app.hpp"
34
namespace oai::udr::api {
yangjian's avatar
yangjian committed
35

36
using namespace oai::udr::model;
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
using namespace oai::udr::app;

class QueryAMFSubscriptionInfoDocumentApiImpl
    : public oai::udr::api::QueryAMFSubscriptionInfoDocumentApi {
 private:
  udr_app *m_udr_app;
  std::string m_address;

 public:
  QueryAMFSubscriptionInfoDocumentApiImpl(
      std::shared_ptr<Pistache::Rest::Router>, udr_app *udr_app_inst,
      std::string address);
  ~QueryAMFSubscriptionInfoDocumentApiImpl() {}

  void get_amf_subscription_info(const std::string &ueId,
                                 const std::string &subsId,
                                 Pistache::Http::ResponseWriter &response);
yangjian's avatar
yangjian committed
54 55
};

56
}  // namespace oai::udr::api
yangjian's avatar
yangjian committed
57 58

#endif