count = $header['x-log-count']; $this->topics = $resp ; $this->nextToken = isset ( $header['x-log-nexttoken'] ) ? $header['x-log-nexttoken'] : NULL; } /** * Get the number of all the topics from the response * * @return integer the number of all the topics from the response */ public function getCount() { return $this->count; } /** * Get all the topics from the response * * @return array topics list */ public function getTopics() { return $this->topics; } /** * Return the next token from the response. If there is no more topic to list, it will return None * * @return string/null next token used to list more topics */ public function getNextToken() { return $this->nextToken; } }