/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a custom ASN.1 X.400 GeneralName
using an object
* identifier (OID) and value. The OID must satisfy the regular expression shown
* below. For more information, see NIST's definition of Object Identifier
* (OID).See Also:
AWS
* API Reference
Specifies an OID.
*/ inline const Aws::String& GetTypeId() const{ return m_typeId; } /** *Specifies an OID.
*/ inline bool TypeIdHasBeenSet() const { return m_typeIdHasBeenSet; } /** *Specifies an OID.
*/ inline void SetTypeId(const Aws::String& value) { m_typeIdHasBeenSet = true; m_typeId = value; } /** *Specifies an OID.
*/ inline void SetTypeId(Aws::String&& value) { m_typeIdHasBeenSet = true; m_typeId = std::move(value); } /** *Specifies an OID.
*/ inline void SetTypeId(const char* value) { m_typeIdHasBeenSet = true; m_typeId.assign(value); } /** *Specifies an OID.
*/ inline OtherName& WithTypeId(const Aws::String& value) { SetTypeId(value); return *this;} /** *Specifies an OID.
*/ inline OtherName& WithTypeId(Aws::String&& value) { SetTypeId(std::move(value)); return *this;} /** *Specifies an OID.
*/ inline OtherName& WithTypeId(const char* value) { SetTypeId(value); return *this;} /** *Specifies an OID value.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Specifies an OID value.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Specifies an OID value.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Specifies an OID value.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Specifies an OID value.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Specifies an OID value.
*/ inline OtherName& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Specifies an OID value.
*/ inline OtherName& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Specifies an OID value.
*/ inline OtherName& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_typeId; bool m_typeIdHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ACMPCA } // namespace Aws