/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AuditManager.Model { /// /// Container for the parameters to the StartAssessmentFrameworkShare operation. /// Creates a share request for a custom framework in Audit Manager. /// /// /// /// The share request specifies a recipient and notifies them that a custom framework /// is available. Recipients have 120 days to accept or decline the request. If no action /// is taken, the share request expires. /// /// /// /// When you create a share request, Audit Manager stores a snapshot of your custom framework /// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores /// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region. /// /// /// /// Audit Manager deletes the snapshot and the backup snapshot when one of the following /// events occurs: /// /// /// /// When a sender resends /// a share request, the snapshot is replaced with an updated version that corresponds /// with the latest version of the custom framework. /// /// /// /// When a recipient accepts a share request, the snapshot is replicated into their Amazon /// Web Services account under the Amazon Web Services Region that was specified in the /// share request. /// /// /// /// When you invoke the StartAssessmentFrameworkShare API, you are about /// to share a custom framework with another Amazon Web Services account. You may not /// share a custom framework that is derived from a standard framework if the standard /// framework is designated as not eligible for sharing by Amazon Web Services, unless /// you have obtained permission to do so from the owner of the standard framework. To /// learn more about which standard frameworks are eligible for sharing, see Framework /// sharing eligibility in the Audit Manager User Guide. /// /// /// public partial class StartAssessmentFrameworkShareRequest : AmazonAuditManagerRequest { private string _comment; private string _destinationAccount; private string _destinationRegion; private string _frameworkId; /// /// Gets and sets the property Comment. /// /// An optional comment from the sender about the share request. /// /// [AWSProperty(Max=500)] public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// /// Gets and sets the property DestinationAccount. /// /// The Amazon Web Services account of the recipient. /// /// [AWSProperty(Required=true, Min=12, Max=12)] public string DestinationAccount { get { return this._destinationAccount; } set { this._destinationAccount = value; } } // Check to see if DestinationAccount property is set internal bool IsSetDestinationAccount() { return this._destinationAccount != null; } /// /// Gets and sets the property DestinationRegion. /// /// The Amazon Web Services Region of the recipient. /// /// [AWSProperty(Required=true)] public string DestinationRegion { get { return this._destinationRegion; } set { this._destinationRegion = value; } } // Check to see if DestinationRegion property is set internal bool IsSetDestinationRegion() { return this._destinationRegion != null; } /// /// Gets and sets the property FrameworkId. /// /// The unique identifier for the custom framework to be shared. /// /// [AWSProperty(Required=true, Min=36, Max=36)] public string FrameworkId { get { return this._frameworkId; } set { this._frameworkId = value; } } // Check to see if FrameworkId property is set internal bool IsSetFrameworkId() { return this._frameworkId != null; } } }