/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the X.500 relative distinguished name (RDN).See Also:
* AWS
* API Reference
Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; } /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; } /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = value; } /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = std::move(value); } /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline void SetObjectIdentifier(const char* value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier.assign(value); } /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline CustomAttribute& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;} /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline CustomAttribute& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;} /** *Specifies the object identifier (OID) of the attribute type of the relative * distinguished name (RDN).
*/ inline CustomAttribute& WithObjectIdentifier(const char* value) { SetObjectIdentifier(value); return *this;} /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline CustomAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline CustomAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Specifies the attribute value of relative distinguished name (RDN).
*/ inline CustomAttribute& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_objectIdentifier; bool m_objectIdentifierHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ACMPCA } // namespace Aws