_propDict)) { if (is_a($this->_propDict["awsPolicyType"], "\Beta\Microsoft\Graph\Model\AwsPolicyType") || is_null($this->_propDict["awsPolicyType"])) { return $this->_propDict["awsPolicyType"]; } else { $this->_propDict["awsPolicyType"] = new AwsPolicyType($this->_propDict["awsPolicyType"]); return $this->_propDict["awsPolicyType"]; } } return null; } /** * Sets the awsPolicyType * * @param AwsPolicyType $val The awsPolicyType * * @return AwsPolicy */ public function setAwsPolicyType($val) { $this->_propDict["awsPolicyType"] = $val; return $this; } /** * Gets the displayName * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * * @param string $val The displayName * * @return AwsPolicy */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the externalId * * @return string|null The externalId */ public function getExternalId() { if (array_key_exists("externalId", $this->_propDict)) { return $this->_propDict["externalId"]; } else { return null; } } /** * Sets the externalId * * @param string $val The externalId * * @return AwsPolicy */ public function setExternalId($val) { $this->_propDict["externalId"] = $val; return $this; } }