/* * 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 fms-2018-01-01.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.FMS.Model { /// /// This is the response object from the GetProtectionStatus operation. /// public partial class GetProtectionStatusResponse : AmazonWebServiceResponse { private string _adminAccountId; private string _data; private string _nextToken; private SecurityServiceType _serviceType; /// /// Gets and sets the property AdminAccountId. /// /// The ID of the Firewall Manager administrator account for this policy. /// /// [AWSProperty(Min=1, Max=1024)] public string AdminAccountId { get { return this._adminAccountId; } set { this._adminAccountId = value; } } // Check to see if AdminAccountId property is set internal bool IsSetAdminAccountId() { return this._adminAccountId != null; } /// /// Gets and sets the property Data. /// /// Details about the attack, including the following: /// /// /// /// The details are in JSON format. /// /// public string Data { get { return this._data; } set { this._data = value; } } // Check to see if Data property is set internal bool IsSetData() { return this._data != null; } /// /// Gets and sets the property NextToken. /// /// If you have more objects than the number that you specified for MaxResults /// in the request, the response includes a NextToken value. To list more /// objects, submit another GetProtectionStatus request, and specify the /// NextToken value from the response in the NextToken value /// in the next request. /// /// /// /// Amazon Web Services SDKs provide auto-pagination that identify NextToken /// in a response and make subsequent request calls automatically on your behalf. However, /// this feature is not supported by GetProtectionStatus. You must submit /// subsequent requests with NextToken using your own processes. /// /// [AWSProperty(Min=1, Max=4096)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property ServiceType. /// /// The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED. /// /// public SecurityServiceType ServiceType { get { return this._serviceType; } set { this._serviceType = value; } } // Check to see if ServiceType property is set internal bool IsSetServiceType() { return this._serviceType != null; } } }