/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ACMPCA { namespace Model { /** *

Describes an Electronic Data Interchange (EDI) entity as described in as * defined in Subject * Alternative Name in RFC 5280.

See Also:

AWS * API Reference

*/ class EdiPartyName { public: AWS_ACMPCA_API EdiPartyName(); AWS_ACMPCA_API EdiPartyName(Aws::Utils::Json::JsonView jsonValue); AWS_ACMPCA_API EdiPartyName& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ACMPCA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the party name.

*/ inline const Aws::String& GetPartyName() const{ return m_partyName; } /** *

Specifies the party name.

*/ inline bool PartyNameHasBeenSet() const { return m_partyNameHasBeenSet; } /** *

Specifies the party name.

*/ inline void SetPartyName(const Aws::String& value) { m_partyNameHasBeenSet = true; m_partyName = value; } /** *

Specifies the party name.

*/ inline void SetPartyName(Aws::String&& value) { m_partyNameHasBeenSet = true; m_partyName = std::move(value); } /** *

Specifies the party name.

*/ inline void SetPartyName(const char* value) { m_partyNameHasBeenSet = true; m_partyName.assign(value); } /** *

Specifies the party name.

*/ inline EdiPartyName& WithPartyName(const Aws::String& value) { SetPartyName(value); return *this;} /** *

Specifies the party name.

*/ inline EdiPartyName& WithPartyName(Aws::String&& value) { SetPartyName(std::move(value)); return *this;} /** *

Specifies the party name.

*/ inline EdiPartyName& WithPartyName(const char* value) { SetPartyName(value); return *this;} /** *

Specifies the name assigner.

*/ inline const Aws::String& GetNameAssigner() const{ return m_nameAssigner; } /** *

Specifies the name assigner.

*/ inline bool NameAssignerHasBeenSet() const { return m_nameAssignerHasBeenSet; } /** *

Specifies the name assigner.

*/ inline void SetNameAssigner(const Aws::String& value) { m_nameAssignerHasBeenSet = true; m_nameAssigner = value; } /** *

Specifies the name assigner.

*/ inline void SetNameAssigner(Aws::String&& value) { m_nameAssignerHasBeenSet = true; m_nameAssigner = std::move(value); } /** *

Specifies the name assigner.

*/ inline void SetNameAssigner(const char* value) { m_nameAssignerHasBeenSet = true; m_nameAssigner.assign(value); } /** *

Specifies the name assigner.

*/ inline EdiPartyName& WithNameAssigner(const Aws::String& value) { SetNameAssigner(value); return *this;} /** *

Specifies the name assigner.

*/ inline EdiPartyName& WithNameAssigner(Aws::String&& value) { SetNameAssigner(std::move(value)); return *this;} /** *

Specifies the name assigner.

*/ inline EdiPartyName& WithNameAssigner(const char* value) { SetNameAssigner(value); return *this;} private: Aws::String m_partyName; bool m_partyNameHasBeenSet = false; Aws::String m_nameAssigner; bool m_nameAssignerHasBeenSet = false; }; } // namespace Model } // namespace ACMPCA } // namespace Aws