+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALLOWED_APPID_ALLOWED_INFO_HH_
+#define ALLOWED_APPID_ALLOWED_INFO_HH_
+
+#include <memory>
+#include <string>
+
+namespace plugin {
+
+class AllowedInfo {
+ public:
+ AllowedInfo(std::string appid, std::string allowed_appid)
+ : appid_(std::move(appid)), allowed_appid_(std::move(allowed_appid)) {
+ }
+
+ virtual ~AllowedInfo() = default;
+
+ const std::string& GetAppId() const {
+ return appid_;
+ }
+
+ const std::string& GetAllowedAppId() const {
+ return allowed_appid_;
+ }
+
+ private:
+ std::string appid_;
+ std::string allowed_appid_;
+};
+
+} // namespace plugin
+
+#endif // ALLOWED_APPID_ALLOWED_INFO_HH_