/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSMContacts { namespace Model { class GetContactResult { public: AWS_SSMCONTACTS_API GetContactResult(); AWS_SSMCONTACTS_API GetContactResult(const Aws::AmazonWebServiceResult& result); AWS_SSMCONTACTS_API GetContactResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the contact or escalation plan.

*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } /** *

The ARN of the contact or escalation plan.

*/ inline void SetContactArn(const Aws::String& value) { m_contactArn = value; } /** *

The ARN of the contact or escalation plan.

*/ inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); } /** *

The ARN of the contact or escalation plan.

*/ inline void SetContactArn(const char* value) { m_contactArn.assign(value); } /** *

The ARN of the contact or escalation plan.

*/ inline GetContactResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;} /** *

The ARN of the contact or escalation plan.

*/ inline GetContactResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;} /** *

The ARN of the contact or escalation plan.

*/ inline GetContactResult& WithContactArn(const char* value) { SetContactArn(value); return *this;} /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline void SetAlias(const Aws::String& value) { m_alias = value; } /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); } /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline void SetAlias(const char* value) { m_alias.assign(value); } /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline GetContactResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline GetContactResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The alias of the contact or escalation plan. The alias is unique and * identifiable.

*/ inline GetContactResult& WithAlias(const char* value) { SetAlias(value); return *this;} /** *

The full name of the contact or escalation plan.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The full name of the contact or escalation plan.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } /** *

The full name of the contact or escalation plan.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } /** *

The full name of the contact or escalation plan.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The full name of the contact or escalation plan.

*/ inline GetContactResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The full name of the contact or escalation plan.

*/ inline GetContactResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The full name of the contact or escalation plan.

*/ inline GetContactResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The type of contact, either PERSONAL or * ESCALATION.

*/ inline const ContactType& GetType() const{ return m_type; } /** *

The type of contact, either PERSONAL or * ESCALATION.

*/ inline void SetType(const ContactType& value) { m_type = value; } /** *

The type of contact, either PERSONAL or * ESCALATION.

*/ inline void SetType(ContactType&& value) { m_type = std::move(value); } /** *

The type of contact, either PERSONAL or * ESCALATION.

*/ inline GetContactResult& WithType(const ContactType& value) { SetType(value); return *this;} /** *

The type of contact, either PERSONAL or * ESCALATION.

*/ inline GetContactResult& WithType(ContactType&& value) { SetType(std::move(value)); return *this;} /** *

Details about the specific timing or stages and targets of the escalation * plan or engagement plan.

*/ inline const Plan& GetPlan() const{ return m_plan; } /** *

Details about the specific timing or stages and targets of the escalation * plan or engagement plan.

*/ inline void SetPlan(const Plan& value) { m_plan = value; } /** *

Details about the specific timing or stages and targets of the escalation * plan or engagement plan.

*/ inline void SetPlan(Plan&& value) { m_plan = std::move(value); } /** *

Details about the specific timing or stages and targets of the escalation * plan or engagement plan.

*/ inline GetContactResult& WithPlan(const Plan& value) { SetPlan(value); return *this;} /** *

Details about the specific timing or stages and targets of the escalation * plan or engagement plan.

*/ inline GetContactResult& WithPlan(Plan&& value) { SetPlan(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_contactArn; Aws::String m_alias; Aws::String m_displayName; ContactType m_type; Plan m_plan; Aws::String m_requestId; }; } // namespace Model } // namespace SSMContacts } // namespace Aws