pub fn error(
        &self,
    ) -> std::option::Option<&crate::model::ResolverQueryLogConfigAssociationError> {
        self.error.as_ref()
    }
/// <p>If the value of <code>Status</code> is <code>FAILED</code>, the value of <code>Error</code> indicates the cause:</p>
/// <ul>
/// <li> <p> <code>DESTINATION_NOT_FOUND</code>: The specified destination (for example, an Amazon S3 bucket) was deleted.</p> </li>
/// <li> <p> <code>ACCESS_DENIED</code>: Permissions don't allow sending logs to the destination.</p> </li>
/// </ul>
/// <p>If the value of <code>Status</code> is a value other than <code>FAILED</code>, <code>Error</code> is null. </p>
If the value of Status is FAILED, the value of Error indicates the cause:

  DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. 
  ACCESS_DENIED: Permissions don't allow sending logs to the destination. 

If the value of Status is a value other than FAILED, Error is null.
If the value of Status is FAILED the value of Error indicates the cause : DESTINATION_NOT_FOUND : The specified destination ( for example an Amazon S3 bucket ) was deleted . ACCESS_DENIED : Permissions don ' t allow sending logs to the destination . If the value of Status is a value other than FAILED Error is null .
pub fn error(
        &self,
    ) -> std::option::Option<&crate::model::ResolverQueryLogConfigAssociationError> {
        self.error.as_ref()
    }
pub fn error ( & self , ) -> std :: option :: Option < & crate :: model :: ResolverQueryLogConfigAssociationError > { self . error . as_ref ( ) }
<p>If the value of <code>Status</code> is <code>FAILED</code>, the value of <code>Error</code> indicates the cause:</p>
<ul>
<li> <p> <code>DESTINATION_NOT_FOUND</code>: The specified destination (for example, an Amazon S3 bucket) was deleted.</p> </li>
<li> <p> <code>ACCESS_DENIED</code>: Permissions don't allow sending logs to the destination.</p> </li>
</ul>
<p>If the value of <code>Status</code> is a value other than <code>FAILED</code>, <code>Error</code> is null.
<p > If the value of <code > Status< / code > is <code > FAILED< / code > the value of <code > Error< / code > indicates the cause : < / p > <ul > <li > <p > <code > DESTINATION_NOT_FOUND< / code > : The specified destination ( for example an Amazon S3 bucket ) was deleted . < / p > < / li > <li > <p > <code > ACCESS_DENIED< / code > : Permissions don ' t allow sending logs to the destination . < / p > < / li > < / ul > <p > If the value of <code > Status< / code > is a value other than <code > FAILED< / code > <code > Error< / code > is null .
&self
&self