pub fn versions(mut self, input: crate::model::PolicyVersion) -> Self {
            let mut v = self.versions.unwrap_or_default();
            v.push(input);
            self.versions = Some(v);
            self
        }
/// Appends an item to `versions`.
///
/// To override the contents of this collection use [`set_versions`](Self::set_versions).
///
/// <p>A list of policy versions.</p>
/// <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed policies</a> in the <i>IAM User Guide</i>.</p>
Appends an item to `versions`.
To override the contents of this collection use [`set_versions`](Self::set_versions).

A list of policy versions.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
Appends an item to ` versions ` . To override the contents of this collection use [ ` set_versions ` ] ( Self :: set_versions ) . A list of policy versions . For more information about managed policy versions see Versioning for managed policies in the IAM User Guide .
pub fn versions(mut self, input: crate::model::PolicyVersion) -> Self {
            let mut v = self.versions.unwrap_or_default();
            v.push(input);
            self.versions = Some(v);
            self
        }
pub fn versions ( mut self , input : crate :: model :: PolicyVersion ) -> Self { let mut v = self . versions . unwrap_or_default ( ) ; v . push ( input ) ; self . versions = Some ( v ) ; self }
Appends an item to `versions`.
Appends an item to ` versions ` .
mut self
input
crate::model::PolicyVersion
mut self
input
crate::model::PolicyVersion