/* * 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 OAuth request parameters to use for the connection. /// public partial class UpdateConnectionOAuthRequestParameters { private string _authorizationEndpoint; private UpdateConnectionOAuthClientRequestParameters _clientParameters; private ConnectionOAuthHttpMethod _httpMethod; private ConnectionHttpParameters _oAuthHttpParameters; /// /// Gets and sets the property AuthorizationEndpoint. /// /// The URL to the authorization endpoint when OAuth is specified as the authorization /// type. /// /// [AWSProperty(Min=1, Max=2048)] public string AuthorizationEndpoint { get { return this._authorizationEndpoint; } set { this._authorizationEndpoint = value; } } // Check to see if AuthorizationEndpoint property is set internal bool IsSetAuthorizationEndpoint() { return this._authorizationEndpoint != null; } /// /// Gets and sets the property ClientParameters. /// /// A UpdateConnectionOAuthClientRequestParameters object that contains the /// client parameters to use for the connection when OAuth is specified as the authorization /// type. /// /// public UpdateConnectionOAuthClientRequestParameters ClientParameters { get { return this._clientParameters; } set { this._clientParameters = value; } } // Check to see if ClientParameters property is set internal bool IsSetClientParameters() { return this._clientParameters != null; } /// /// Gets and sets the property HttpMethod. /// /// The method used to connect to the HTTP endpoint. /// /// public ConnectionOAuthHttpMethod HttpMethod { get { return this._httpMethod; } set { this._httpMethod = value; } } // Check to see if HttpMethod property is set internal bool IsSetHttpMethod() { return this._httpMethod != null; } /// /// Gets and sets the property OAuthHttpParameters. /// /// The additional HTTP parameters used for the OAuth authorization request. /// /// public ConnectionHttpParameters OAuthHttpParameters { get { return this._oAuthHttpParameters; } set { this._oAuthHttpParameters = value; } } // Check to see if OAuthHttpParameters property is set internal bool IsSetOAuthHttpParameters() { return this._oAuthHttpParameters != null; } } }