/* * 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 to use for the connection. /// public partial class ConnectionAuthResponseParameters { private ConnectionApiKeyAuthResponseParameters _apiKeyAuthParameters; private ConnectionBasicAuthResponseParameters _basicAuthParameters; private ConnectionHttpParameters _invocationHttpParameters; private ConnectionOAuthResponseParameters _oAuthParameters; /// /// Gets and sets the property ApiKeyAuthParameters. /// /// The API Key parameters to use for authorization. /// /// public ConnectionApiKeyAuthResponseParameters 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. /// /// The authorization parameters for Basic authorization. /// /// public ConnectionBasicAuthResponseParameters 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. /// /// Additional parameters for the connection that are passed through with every invocation /// to the HTTP endpoint. /// /// 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. /// /// The OAuth parameters to use for authorization. /// /// public ConnectionOAuthResponseParameters OAuthParameters { get { return this._oAuthParameters; } set { this._oAuthParameters = value; } } // Check to see if OAuthParameters property is set internal bool IsSetOAuthParameters() { return this._oAuthParameters != null; } } }