logstore = $logstore; $this->topic = $topic; $this->source = $source; $this->logitems = $logitems; $this->shardKey = $shardKey; } /** * Get logstroe name * * @return string logstore name */ public function getLogstore() { return $this->logstore; } /** * Set logstore name * * @param string $logstore * logstore name */ public function setLogstore($logstore) { $this->logstore = $logstore; } /** * Get topic name * * @return string topic name */ public function getTopic() { return $this->topic; } /** * Set topic name * * @param string $topic * topic name */ public function setTopic($topic) { $this->topic = $topic; } /** * Get all the log data * * @return array LogItem array, log data */ public function getLogItems() { return $this->logitems; } /** * Set the log data * * @param array $logitems * LogItem array, log data */ public function setLogItems($logitems) { $this->logitems = $logitems; } /** * Get log source * * @return string log source */ public function getSource() { return $this->source; } /** * set log source * * @param string $source * log source */ public function setSource($source) { $this->source = $source; } /** * set shard key * * @param string shardkey */ public function setShardKey($key){ $this -> shardKey=$key; } /** * get shard key * * @return string shardKey */ public function getShardKey(){ return $this ->shardKey; } }