_timestamp = $message->getMandatoryField("Timestamp"); $this->_topicArn = $message->getMandatoryField("TopicArn"); $this->_messageId = $message->getMandatoryField("MessageId"); parent::__construct($parentNotificationMetadata); } /** * Message timestamp * * @return string timestamp */ public function getTimestamp() { return $this->_timestamp; } /** * Topic arn * * @return string topic arn */ public function getTopicArn() { return $this->_topicArn; } /** * Message id * * @return string messageId */ public function getMessageId() { return $this->_messageId; } /** * Return the implementation type of NotificationMetadata * * @return string type of message information */ public function getNotificationMetadataType() { return self::SOURCE_MESSAGE_TYPE; } }