/* * 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 sesv2-2019-09-27.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.SimpleEmailV2.Model { /// /// A recommendation generated for your account. /// public partial class Recommendation { private DateTime? _createdTimestamp; private string _description; private RecommendationImpact _impact; private DateTime? _lastUpdatedTimestamp; private string _resourceArn; private RecommendationStatus _status; private RecommendationType _type; /// /// Gets and sets the property CreatedTimestamp. /// /// The first time this issue was encountered and the recommendation was generated. /// /// public DateTime CreatedTimestamp { get { return this._createdTimestamp.GetValueOrDefault(); } set { this._createdTimestamp = value; } } // Check to see if CreatedTimestamp property is set internal bool IsSetCreatedTimestamp() { return this._createdTimestamp.HasValue; } /// /// Gets and sets the property Description. /// /// The recommendation description / disambiguator - e.g. DKIM1 and DKIM2 /// are different recommendations about your DKIM setup. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Impact. /// /// The recommendation impact, with values like HIGH or LOW. /// /// public RecommendationImpact Impact { get { return this._impact; } set { this._impact = value; } } // Check to see if Impact property is set internal bool IsSetImpact() { return this._impact != null; } /// /// Gets and sets the property LastUpdatedTimestamp. /// /// The last time the recommendation was updated. /// /// public DateTime LastUpdatedTimestamp { get { return this._lastUpdatedTimestamp.GetValueOrDefault(); } set { this._lastUpdatedTimestamp = value; } } // Check to see if LastUpdatedTimestamp property is set internal bool IsSetLastUpdatedTimestamp() { return this._lastUpdatedTimestamp.HasValue; } /// /// Gets and sets the property ResourceArn. /// /// The resource affected by the recommendation, with values like arn:aws:ses:us-east-1:123456789012:identity/example.com. /// /// public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// /// Gets and sets the property Status. /// /// The recommendation status, with values like OPEN or FIXED. /// /// public RecommendationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property Type. /// /// The recommendation type, with values like DKIM, SPF, DMARC /// or BIMI. /// /// public RecommendationType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }