/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the certificate subject. The Subject
* field in the certificate identifies the entity that owns or controls the public
* key in the certificate. The entity can be a user, computer, device, or service.
* The Subject
must contain an X.500 distinguished name (DN). A DN is
* a sequence of relative distinguished names (RDNs). The RDNs are separated by
* commas in the certificate.See Also:
AWS
* API Reference
Two-digit code that specifies the country in which the certificate subject * located.
*/ inline const Aws::String& GetCountry() const{ return m_country; } /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline ASN1Subject& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline ASN1Subject& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** *Two-digit code that specifies the country in which the certificate subject * located.
*/ inline ASN1Subject& WithCountry(const char* value) { SetCountry(value); return *this;} /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline const Aws::String& GetOrganization() const{ return m_organization; } /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline bool OrganizationHasBeenSet() const { return m_organizationHasBeenSet; } /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline void SetOrganization(const Aws::String& value) { m_organizationHasBeenSet = true; m_organization = value; } /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline void SetOrganization(Aws::String&& value) { m_organizationHasBeenSet = true; m_organization = std::move(value); } /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline void SetOrganization(const char* value) { m_organizationHasBeenSet = true; m_organization.assign(value); } /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline ASN1Subject& WithOrganization(const Aws::String& value) { SetOrganization(value); return *this;} /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline ASN1Subject& WithOrganization(Aws::String&& value) { SetOrganization(std::move(value)); return *this;} /** *Legal name of the organization with which the certificate subject is * affiliated.
*/ inline ASN1Subject& WithOrganization(const char* value) { SetOrganization(value); return *this;} /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline const Aws::String& GetOrganizationalUnit() const{ return m_organizationalUnit; } /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline bool OrganizationalUnitHasBeenSet() const { return m_organizationalUnitHasBeenSet; } /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline void SetOrganizationalUnit(const Aws::String& value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit = value; } /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline void SetOrganizationalUnit(Aws::String&& value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit = std::move(value); } /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline void SetOrganizationalUnit(const char* value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit.assign(value); } /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline ASN1Subject& WithOrganizationalUnit(const Aws::String& value) { SetOrganizationalUnit(value); return *this;} /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline ASN1Subject& WithOrganizationalUnit(Aws::String&& value) { SetOrganizationalUnit(std::move(value)); return *this;} /** *A subdivision or unit of the organization (such as sales or finance) with * which the certificate subject is affiliated.
*/ inline ASN1Subject& WithOrganizationalUnit(const char* value) { SetOrganizationalUnit(value); return *this;} /** *Disambiguating information for the certificate subject.
*/ inline const Aws::String& GetDistinguishedNameQualifier() const{ return m_distinguishedNameQualifier; } /** *Disambiguating information for the certificate subject.
*/ inline bool DistinguishedNameQualifierHasBeenSet() const { return m_distinguishedNameQualifierHasBeenSet; } /** *Disambiguating information for the certificate subject.
*/ inline void SetDistinguishedNameQualifier(const Aws::String& value) { m_distinguishedNameQualifierHasBeenSet = true; m_distinguishedNameQualifier = value; } /** *Disambiguating information for the certificate subject.
*/ inline void SetDistinguishedNameQualifier(Aws::String&& value) { m_distinguishedNameQualifierHasBeenSet = true; m_distinguishedNameQualifier = std::move(value); } /** *Disambiguating information for the certificate subject.
*/ inline void SetDistinguishedNameQualifier(const char* value) { m_distinguishedNameQualifierHasBeenSet = true; m_distinguishedNameQualifier.assign(value); } /** *Disambiguating information for the certificate subject.
*/ inline ASN1Subject& WithDistinguishedNameQualifier(const Aws::String& value) { SetDistinguishedNameQualifier(value); return *this;} /** *Disambiguating information for the certificate subject.
*/ inline ASN1Subject& WithDistinguishedNameQualifier(Aws::String&& value) { SetDistinguishedNameQualifier(std::move(value)); return *this;} /** *Disambiguating information for the certificate subject.
*/ inline ASN1Subject& WithDistinguishedNameQualifier(const char* value) { SetDistinguishedNameQualifier(value); return *this;} /** *State in which the subject of the certificate is located.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *State in which the subject of the certificate is located.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *State in which the subject of the certificate is located.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *State in which the subject of the certificate is located.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *State in which the subject of the certificate is located.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *State in which the subject of the certificate is located.
*/ inline ASN1Subject& WithState(const Aws::String& value) { SetState(value); return *this;} /** *State in which the subject of the certificate is located.
*/ inline ASN1Subject& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *State in which the subject of the certificate is located.
*/ inline ASN1Subject& WithState(const char* value) { SetState(value); return *this;} /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline const Aws::String& GetCommonName() const{ return m_commonName; } /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline bool CommonNameHasBeenSet() const { return m_commonNameHasBeenSet; } /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline void SetCommonName(const Aws::String& value) { m_commonNameHasBeenSet = true; m_commonName = value; } /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline void SetCommonName(Aws::String&& value) { m_commonNameHasBeenSet = true; m_commonName = std::move(value); } /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline void SetCommonName(const char* value) { m_commonNameHasBeenSet = true; m_commonName.assign(value); } /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline ASN1Subject& WithCommonName(const Aws::String& value) { SetCommonName(value); return *this;} /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline ASN1Subject& WithCommonName(Aws::String&& value) { SetCommonName(std::move(value)); return *this;} /** *For CA and end-entity certificates in a private PKI, the common name (CN) can * be any string within the length limit.
Note: In publicly trusted * certificates, the common name must be a fully qualified domain name (FQDN) * associated with the certificate subject.
*/ inline ASN1Subject& WithCommonName(const char* value) { SetCommonName(value); return *this;} /** *The certificate serial number.
*/ inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; } /** *The certificate serial number.
*/ inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; } /** *The certificate serial number.
*/ inline void SetSerialNumber(const Aws::String& value) { m_serialNumberHasBeenSet = true; m_serialNumber = value; } /** *The certificate serial number.
*/ inline void SetSerialNumber(Aws::String&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::move(value); } /** *The certificate serial number.
*/ inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); } /** *The certificate serial number.
*/ inline ASN1Subject& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;} /** *The certificate serial number.
*/ inline ASN1Subject& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;} /** *The certificate serial number.
*/ inline ASN1Subject& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;} /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline const Aws::String& GetLocality() const{ return m_locality; } /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline bool LocalityHasBeenSet() const { return m_localityHasBeenSet; } /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline void SetLocality(const Aws::String& value) { m_localityHasBeenSet = true; m_locality = value; } /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline void SetLocality(Aws::String&& value) { m_localityHasBeenSet = true; m_locality = std::move(value); } /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline void SetLocality(const char* value) { m_localityHasBeenSet = true; m_locality.assign(value); } /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline ASN1Subject& WithLocality(const Aws::String& value) { SetLocality(value); return *this;} /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline ASN1Subject& WithLocality(Aws::String&& value) { SetLocality(std::move(value)); return *this;} /** *The locality (such as a city or town) in which the certificate subject is * located.
*/ inline ASN1Subject& WithLocality(const char* value) { SetLocality(value); return *this;} /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline ASN1Subject& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline ASN1Subject& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *A title such as Mr. or Ms., which is pre-pended to the name to refer formally * to the certificate subject.
*/ inline ASN1Subject& WithTitle(const char* value) { SetTitle(value); return *this;} /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline const Aws::String& GetSurname() const{ return m_surname; } /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline bool SurnameHasBeenSet() const { return m_surnameHasBeenSet; } /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline void SetSurname(const Aws::String& value) { m_surnameHasBeenSet = true; m_surname = value; } /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline void SetSurname(Aws::String&& value) { m_surnameHasBeenSet = true; m_surname = std::move(value); } /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline void SetSurname(const char* value) { m_surnameHasBeenSet = true; m_surname.assign(value); } /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline ASN1Subject& WithSurname(const Aws::String& value) { SetSurname(value); return *this;} /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline ASN1Subject& WithSurname(Aws::String&& value) { SetSurname(std::move(value)); return *this;} /** *Family name. In the US and the UK, for example, the surname of an individual * is ordered last. In Asian cultures the surname is typically ordered first.
*/ inline ASN1Subject& WithSurname(const char* value) { SetSurname(value); return *this;} /** *First name.
*/ inline const Aws::String& GetGivenName() const{ return m_givenName; } /** *First name.
*/ inline bool GivenNameHasBeenSet() const { return m_givenNameHasBeenSet; } /** *First name.
*/ inline void SetGivenName(const Aws::String& value) { m_givenNameHasBeenSet = true; m_givenName = value; } /** *First name.
*/ inline void SetGivenName(Aws::String&& value) { m_givenNameHasBeenSet = true; m_givenName = std::move(value); } /** *First name.
*/ inline void SetGivenName(const char* value) { m_givenNameHasBeenSet = true; m_givenName.assign(value); } /** *First name.
*/ inline ASN1Subject& WithGivenName(const Aws::String& value) { SetGivenName(value); return *this;} /** *First name.
*/ inline ASN1Subject& WithGivenName(Aws::String&& value) { SetGivenName(std::move(value)); return *this;} /** *First name.
*/ inline ASN1Subject& WithGivenName(const char* value) { SetGivenName(value); return *this;} /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline const Aws::String& GetInitials() const{ return m_initials; } /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline bool InitialsHasBeenSet() const { return m_initialsHasBeenSet; } /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline void SetInitials(const Aws::String& value) { m_initialsHasBeenSet = true; m_initials = value; } /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline void SetInitials(Aws::String&& value) { m_initialsHasBeenSet = true; m_initials = std::move(value); } /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline void SetInitials(const char* value) { m_initialsHasBeenSet = true; m_initials.assign(value); } /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline ASN1Subject& WithInitials(const Aws::String& value) { SetInitials(value); return *this;} /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline ASN1Subject& WithInitials(Aws::String&& value) { SetInitials(std::move(value)); return *this;} /** *Concatenation that typically contains the first letter of the * GivenName, the first letter of the middle name if one exists, and the * first letter of the Surname.
*/ inline ASN1Subject& WithInitials(const char* value) { SetInitials(value); return *this;} /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline const Aws::String& GetPseudonym() const{ return m_pseudonym; } /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline bool PseudonymHasBeenSet() const { return m_pseudonymHasBeenSet; } /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline void SetPseudonym(const Aws::String& value) { m_pseudonymHasBeenSet = true; m_pseudonym = value; } /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline void SetPseudonym(Aws::String&& value) { m_pseudonymHasBeenSet = true; m_pseudonym = std::move(value); } /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline void SetPseudonym(const char* value) { m_pseudonymHasBeenSet = true; m_pseudonym.assign(value); } /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline ASN1Subject& WithPseudonym(const Aws::String& value) { SetPseudonym(value); return *this;} /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline ASN1Subject& WithPseudonym(Aws::String&& value) { SetPseudonym(std::move(value)); return *this;} /** *Typically a shortened version of a longer GivenName. For example, * Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, * or Eliza.
*/ inline ASN1Subject& WithPseudonym(const char* value) { SetPseudonym(value); return *this;} /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline const Aws::String& GetGenerationQualifier() const{ return m_generationQualifier; } /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline bool GenerationQualifierHasBeenSet() const { return m_generationQualifierHasBeenSet; } /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline void SetGenerationQualifier(const Aws::String& value) { m_generationQualifierHasBeenSet = true; m_generationQualifier = value; } /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline void SetGenerationQualifier(Aws::String&& value) { m_generationQualifierHasBeenSet = true; m_generationQualifier = std::move(value); } /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline void SetGenerationQualifier(const char* value) { m_generationQualifierHasBeenSet = true; m_generationQualifier.assign(value); } /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline ASN1Subject& WithGenerationQualifier(const Aws::String& value) { SetGenerationQualifier(value); return *this;} /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline ASN1Subject& WithGenerationQualifier(Aws::String&& value) { SetGenerationQualifier(std::move(value)); return *this;} /** *Typically a qualifier appended to the name of an individual. Examples include * Jr. for junior, Sr. for senior, and III for third.
*/ inline ASN1Subject& WithGenerationQualifier(const char* value) { SetGenerationQualifier(value); return *this;} /** *Contains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline const Aws::VectorContains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } /** *Contains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline void SetCustomAttributes(const Aws::VectorContains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline void SetCustomAttributes(Aws::VectorContains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline ASN1Subject& WithCustomAttributes(const Aws::VectorContains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline ASN1Subject& WithCustomAttributes(Aws::VectorContains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline ASN1Subject& AddCustomAttributes(const CustomAttribute& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } /** *Contains a sequence of one or more X.500 relative distinguished names * (RDNs), each of which consists of an object identifier (OID) and a value. For * more information, see NIST’s definition of Object Identifier * (OID).
Custom attributes cannot be used in combination with * standard attributes.
*/ inline ASN1Subject& AddCustomAttributes(CustomAttribute&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } private: Aws::String m_country; bool m_countryHasBeenSet = false; Aws::String m_organization; bool m_organizationHasBeenSet = false; Aws::String m_organizationalUnit; bool m_organizationalUnitHasBeenSet = false; Aws::String m_distinguishedNameQualifier; bool m_distinguishedNameQualifierHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_commonName; bool m_commonNameHasBeenSet = false; Aws::String m_serialNumber; bool m_serialNumberHasBeenSet = false; Aws::String m_locality; bool m_localityHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_surname; bool m_surnameHasBeenSet = false; Aws::String m_givenName; bool m_givenNameHasBeenSet = false; Aws::String m_initials; bool m_initialsHasBeenSet = false; Aws::String m_pseudonym; bool m_pseudonymHasBeenSet = false; Aws::String m_generationQualifier; bool m_generationQualifierHasBeenSet = false; Aws::Vector