/*
* 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 workspaces-2015-04-08.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.WorkSpaces.Model
{
///
/// The default client branding attributes to be imported. These attributes display on
/// the client login screen.
///
///
///
/// Client branding attributes are public facing. Ensure that you do not include sensitive
/// information.
///
///
///
public partial class DefaultImportClientBrandingAttributes
{
private string _forgotPasswordLink;
private Dictionary _loginMessage = new Dictionary();
private MemoryStream _logo;
private string _supportEmail;
private string _supportLink;
///
/// Gets and sets the property ForgotPasswordLink.
///
/// The forgotten password link. This is the web address that users can go to if they
/// forget the password for their WorkSpace.
///
///
[AWSProperty(Min=1, Max=200)]
public string ForgotPasswordLink
{
get { return this._forgotPasswordLink; }
set { this._forgotPasswordLink = value; }
}
// Check to see if ForgotPasswordLink property is set
internal bool IsSetForgotPasswordLink()
{
return this._forgotPasswordLink != null;
}
///
/// Gets and sets the property LoginMessage.
///
/// The login message. Specified as a key value pair, in which the key is a locale and
/// the value is the localized message for that locale. The only key supported is en_US
.
/// The HTML tags supported include the following: a, b, blockquote, br, cite, code,
/// dd, dl, dt, div, em, i, li, ol, p, pre, q, small, span, strike, strong, sub, sup,
/// u, ul
.
///
///
public Dictionary LoginMessage
{
get { return this._loginMessage; }
set { this._loginMessage = value; }
}
// Check to see if LoginMessage property is set
internal bool IsSetLoginMessage()
{
return this._loginMessage != null && this._loginMessage.Count > 0;
}
///
/// Gets and sets the property Logo.
///
/// The logo. The only image format accepted is a binary data object that is converted
/// from a .png
file.
///
///
[AWSProperty(Min=1, Max=1500000)]
public MemoryStream Logo
{
get { return this._logo; }
set { this._logo = value; }
}
// Check to see if Logo property is set
internal bool IsSetLogo()
{
return this._logo != null;
}
///
/// Gets and sets the property SupportEmail.
///
/// The support email. The company's customer support email address.
///
/// -
///
/// In each platform type, the
SupportEmail
and SupportLink
/// parameters are mutually exclusive. You can specify one parameter for each platform
/// type, but not both.
///
/// -
///
/// The default email is
workspaces-feedback@amazon.com
.
///
///
///
[AWSProperty(Min=6, Max=64)]
public string SupportEmail
{
get { return this._supportEmail; }
set { this._supportEmail = value; }
}
// Check to see if SupportEmail property is set
internal bool IsSetSupportEmail()
{
return this._supportEmail != null;
}
///
/// Gets and sets the property SupportLink.
///
/// The support link. The link for the company's customer support page for their WorkSpace.
///
/// -
///
/// In each platform type, the
SupportEmail
and SupportLink
/// parameters are mutually exclusive. You can specify one parameter for each platform
/// type, but not both.
///
/// -
///
/// The default support link is
workspaces-feedback@amazon.com
.
///
///
///
[AWSProperty(Min=1, Max=200)]
public string SupportLink
{
get { return this._supportLink; }
set { this._supportLink = value; }
}
// Check to see if SupportLink property is set
internal bool IsSetSupportLink()
{
return this._supportLink != null;
}
}
}