/*
* 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 license-manager-linux-subscriptions-2018-05-10.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.LicenseManagerLinuxSubscriptions.Model
{
///
/// This is the response object from the GetServiceSettings operation.
///
public partial class GetServiceSettingsResponse : AmazonWebServiceResponse
{
private List _homeRegions = new List();
private LinuxSubscriptionsDiscovery _linuxSubscriptionsDiscovery;
private LinuxSubscriptionsDiscoverySettings _linuxSubscriptionsDiscoverySettings;
private Status _status;
private Dictionary _statusMessage = new Dictionary();
///
/// Gets and sets the property HomeRegions.
///
/// The Region in which License Manager displays the aggregated data for Linux subscriptions.
///
///
[AWSProperty(Min=1, Max=100)]
public List HomeRegions
{
get { return this._homeRegions; }
set { this._homeRegions = value; }
}
// Check to see if HomeRegions property is set
internal bool IsSetHomeRegions()
{
return this._homeRegions != null && this._homeRegions.Count > 0;
}
///
/// Gets and sets the property LinuxSubscriptionsDiscovery.
///
/// Lists if discovery has been enabled for Linux subscriptions.
///
///
public LinuxSubscriptionsDiscovery LinuxSubscriptionsDiscovery
{
get { return this._linuxSubscriptionsDiscovery; }
set { this._linuxSubscriptionsDiscovery = value; }
}
// Check to see if LinuxSubscriptionsDiscovery property is set
internal bool IsSetLinuxSubscriptionsDiscovery()
{
return this._linuxSubscriptionsDiscovery != null;
}
///
/// Gets and sets the property LinuxSubscriptionsDiscoverySettings.
///
/// Lists the settings defined for Linux subscriptions discovery. The settings include
/// if Organizations integration has been enabled, and which Regions data will be aggregated
/// from.
///
///
public LinuxSubscriptionsDiscoverySettings LinuxSubscriptionsDiscoverySettings
{
get { return this._linuxSubscriptionsDiscoverySettings; }
set { this._linuxSubscriptionsDiscoverySettings = value; }
}
// Check to see if LinuxSubscriptionsDiscoverySettings property is set
internal bool IsSetLinuxSubscriptionsDiscoverySettings()
{
return this._linuxSubscriptionsDiscoverySettings != null;
}
///
/// Gets and sets the property Status.
///
/// Indicates the status of Linux subscriptions settings being applied.
///
///
public Status 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 StatusMessage.
///
/// A message which details the Linux subscriptions service settings current status.
///
///
public Dictionary StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null && this._statusMessage.Count > 0;
}
}
}