/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the authorization settings for CodeBuild to access the
* source code to be built. This information is for the CodeBuild console's
* use only. Your code should not get or set this information
* directly.See Also:
AWS
* API Reference
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
*The authorization type to use. The only valid value is
* OAUTH
, which represents the OAuth authorization type.
The resource value that applies to the specified authorization type.
*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *The resource value that applies to the specified authorization type.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *The resource value that applies to the specified authorization type.
*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *The resource value that applies to the specified authorization type.
*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *The resource value that applies to the specified authorization type.
*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *The resource value that applies to the specified authorization type.
*/ inline SourceAuth& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *The resource value that applies to the specified authorization type.
*/ inline SourceAuth& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *The resource value that applies to the specified authorization type.
*/ inline SourceAuth& WithResource(const char* value) { SetResource(value); return *this;} private: SourceAuthType m_type; bool m_typeHasBeenSet = false; Aws::String m_resource; bool m_resourceHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws