/*
* 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 events-2015-10-07.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.CloudWatchEvents.Model
{
///
/// Contains the authorization parameters for the connection.
///
public partial class CreateConnectionAuthRequestParameters
{
private CreateConnectionApiKeyAuthRequestParameters _apiKeyAuthParameters;
private CreateConnectionBasicAuthRequestParameters _basicAuthParameters;
private ConnectionHttpParameters _invocationHttpParameters;
private CreateConnectionOAuthRequestParameters _oAuthParameters;
///
/// Gets and sets the property ApiKeyAuthParameters.
///
/// A CreateConnectionApiKeyAuthRequestParameters
object that contains the
/// API key authorization parameters to use for the connection.
///
///
public CreateConnectionApiKeyAuthRequestParameters ApiKeyAuthParameters
{
get { return this._apiKeyAuthParameters; }
set { this._apiKeyAuthParameters = value; }
}
// Check to see if ApiKeyAuthParameters property is set
internal bool IsSetApiKeyAuthParameters()
{
return this._apiKeyAuthParameters != null;
}
///
/// Gets and sets the property BasicAuthParameters.
///
/// A CreateConnectionBasicAuthRequestParameters
object that contains the
/// Basic authorization parameters to use for the connection.
///
///
public CreateConnectionBasicAuthRequestParameters BasicAuthParameters
{
get { return this._basicAuthParameters; }
set { this._basicAuthParameters = value; }
}
// Check to see if BasicAuthParameters property is set
internal bool IsSetBasicAuthParameters()
{
return this._basicAuthParameters != null;
}
///
/// Gets and sets the property InvocationHttpParameters.
///
/// A ConnectionHttpParameters
object that contains the API key authorization
/// parameters to use for the connection. Note that if you include additional parameters
/// for the target of a rule via HttpParameters
, including query strings,
/// the parameters added for the connection take precedence.
///
///
public ConnectionHttpParameters InvocationHttpParameters
{
get { return this._invocationHttpParameters; }
set { this._invocationHttpParameters = value; }
}
// Check to see if InvocationHttpParameters property is set
internal bool IsSetInvocationHttpParameters()
{
return this._invocationHttpParameters != null;
}
///
/// Gets and sets the property OAuthParameters.
///
/// A CreateConnectionOAuthRequestParameters
object that contains the OAuth
/// authorization parameters to use for the connection.
///
///
public CreateConnectionOAuthRequestParameters OAuthParameters
{
get { return this._oAuthParameters; }
set { this._oAuthParameters = value; }
}
// Check to see if OAuthParameters property is set
internal bool IsSetOAuthParameters()
{
return this._oAuthParameters != null;
}
}
}