/*
* 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 mediastore-2017-09-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.MediaStore.Model
{
///
/// This section describes operations that you can perform on an AWS Elemental MediaStore
/// container.
///
public partial class Container
{
private bool? _accessLoggingEnabled;
private string _arn;
private DateTime? _creationTime;
private string _endpoint;
private string _name;
private ContainerStatus _status;
///
/// Gets and sets the property AccessLoggingEnabled.
///
/// The state of access logging on the container. This value is false
by
/// default, indicating that AWS Elemental MediaStore does not send access logs to Amazon
/// CloudWatch Logs. When you enable access logging on the container, MediaStore changes
/// this value to true
, indicating that the service delivers access logs
/// for objects stored in that container to CloudWatch Logs.
///
///
public bool AccessLoggingEnabled
{
get { return this._accessLoggingEnabled.GetValueOrDefault(); }
set { this._accessLoggingEnabled = value; }
}
// Check to see if AccessLoggingEnabled property is set
internal bool IsSetAccessLoggingEnabled()
{
return this._accessLoggingEnabled.HasValue;
}
///
/// Gets and sets the property ARN.
///
/// The Amazon Resource Name (ARN) of the container. The ARN has the following format:
///
///
///
/// arn:aws:<region>:<account that owns this container>:container/<name
/// of container>
///
///
///
/// For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
///
///
[AWSProperty(Min=1, Max=1024)]
public string ARN
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if ARN property is set
internal bool IsSetARN()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationTime.
///
/// Unix timestamp.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property Endpoint.
///
/// The DNS endpoint of the container. Use the endpoint to identify the specific container
/// when sending requests to the data plane. The service assigns this value when the container
/// is created. Once the value has been assigned, it does not change.
///
///
[AWSProperty(Min=1, Max=255)]
public string Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the container.
///
///
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Status.
///
/// The status of container creation or deletion. The status is one of the following:
/// CREATING
, ACTIVE
, or DELETING
. While the service
/// is creating the container, the status is CREATING
. When the endpoint
/// is available, the status changes to ACTIVE
.
///
///
[AWSProperty(Min=1, Max=16)]
public ContainerStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}