/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an extended key usage X.509 v3 extension
* object.See Also:
AWS
* API Reference
The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of an extension value. Indicates the purpose for which the * certificate public key can be used.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithName(const char* value) { SetName(value); return *this;} /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline const Aws::String& GetOId() const{ return m_oId; } /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline bool OIdHasBeenSet() const { return m_oIdHasBeenSet; } /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline void SetOId(const Aws::String& value) { m_oIdHasBeenSet = true; m_oId = value; } /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline void SetOId(Aws::String&& value) { m_oIdHasBeenSet = true; m_oId = std::move(value); } /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline void SetOId(const char* value) { m_oIdHasBeenSet = true; m_oId.assign(value); } /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithOId(const Aws::String& value) { SetOId(value); return *this;} /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithOId(Aws::String&& value) { SetOId(std::move(value)); return *this;} /** *An object identifier (OID) for the extension value.
The format is * numbers separated by periods.
*/ inline AwsCertificateManagerCertificateExtendedKeyUsage& WithOId(const char* value) { SetOId(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_oId; bool m_oIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws