/** * 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 CreateContactResult { public: AWS_SSMCONTACTS_API CreateContactResult(); AWS_SSMCONTACTS_API CreateContactResult(const Aws::AmazonWebServiceResult& result); AWS_SSMCONTACTS_API CreateContactResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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

The Amazon Resource Name (ARN) of the created contact or escalation plan.

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