/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSMContacts { namespace Model { class GetContactPolicyResult { public: AWS_SSMCONTACTS_API GetContactPolicyResult(); AWS_SSMCONTACTS_API GetContactPolicyResult(const Aws::AmazonWebServiceResult& result); AWS_SSMCONTACTS_API GetContactPolicyResult& 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 GetContactPolicyResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;} /** *

The ARN of the contact or escalation plan.

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

The ARN of the contact or escalation plan.

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

Details about the resource policy attached to the contact or escalation * plan.

*/ inline const Aws::String& GetPolicy() const{ return m_policy; } /** *

Details about the resource policy attached to the contact or escalation * plan.

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

Details about the resource policy attached to the contact or escalation * plan.

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

Details about the resource policy attached to the contact or escalation * plan.

*/ inline void SetPolicy(const char* value) { m_policy.assign(value); } /** *

Details about the resource policy attached to the contact or escalation * plan.

*/ inline GetContactPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} /** *

Details about the resource policy attached to the contact or escalation * plan.

*/ inline GetContactPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} /** *

Details about the resource policy attached to the contact or escalation * plan.

*/ inline GetContactPolicyResult& WithPolicy(const char* value) { SetPolicy(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 GetContactPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetContactPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetContactPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_contactArn; Aws::String m_policy; Aws::String m_requestId; }; } // namespace Model } // namespace SSMContacts } // namespace Aws