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

Incident Manager engaging a contact's contact channel.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline const Aws::String& GetPageArn() const{ return m_pageArn; } /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline bool PageArnHasBeenSet() const { return m_pageArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline void SetPageArn(const Aws::String& value) { m_pageArnHasBeenSet = true; m_pageArn = value; } /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline void SetPageArn(Aws::String&& value) { m_pageArnHasBeenSet = true; m_pageArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline void SetPageArn(const char* value) { m_pageArnHasBeenSet = true; m_pageArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline Page& WithPageArn(const Aws::String& value) { SetPageArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline Page& WithPageArn(Aws::String&& value) { SetPageArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the page to the contact channel.

*/ inline Page& WithPageArn(const char* value) { SetPageArn(value); return *this;} /** *

The ARN of the engagement that this page is part of.

*/ inline const Aws::String& GetEngagementArn() const{ return m_engagementArn; } /** *

The ARN of the engagement that this page is part of.

*/ inline bool EngagementArnHasBeenSet() const { return m_engagementArnHasBeenSet; } /** *

The ARN of the engagement that this page is part of.

*/ inline void SetEngagementArn(const Aws::String& value) { m_engagementArnHasBeenSet = true; m_engagementArn = value; } /** *

The ARN of the engagement that this page is part of.

*/ inline void SetEngagementArn(Aws::String&& value) { m_engagementArnHasBeenSet = true; m_engagementArn = std::move(value); } /** *

The ARN of the engagement that this page is part of.

*/ inline void SetEngagementArn(const char* value) { m_engagementArnHasBeenSet = true; m_engagementArn.assign(value); } /** *

The ARN of the engagement that this page is part of.

*/ inline Page& WithEngagementArn(const Aws::String& value) { SetEngagementArn(value); return *this;} /** *

The ARN of the engagement that this page is part of.

*/ inline Page& WithEngagementArn(Aws::String&& value) { SetEngagementArn(std::move(value)); return *this;} /** *

The ARN of the engagement that this page is part of.

*/ inline Page& WithEngagementArn(const char* value) { SetEngagementArn(value); return *this;} /** *

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

*/ inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; } /** *

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

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

The ARN of the contact that Incident Manager is engaging.

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

The user that started the engagement.

*/ inline const Aws::String& GetSender() const{ return m_sender; } /** *

The user that started the engagement.

*/ inline bool SenderHasBeenSet() const { return m_senderHasBeenSet; } /** *

The user that started the engagement.

*/ inline void SetSender(const Aws::String& value) { m_senderHasBeenSet = true; m_sender = value; } /** *

The user that started the engagement.

*/ inline void SetSender(Aws::String&& value) { m_senderHasBeenSet = true; m_sender = std::move(value); } /** *

The user that started the engagement.

*/ inline void SetSender(const char* value) { m_senderHasBeenSet = true; m_sender.assign(value); } /** *

The user that started the engagement.

*/ inline Page& WithSender(const Aws::String& value) { SetSender(value); return *this;} /** *

The user that started the engagement.

*/ inline Page& WithSender(Aws::String&& value) { SetSender(std::move(value)); return *this;} /** *

The user that started the engagement.

*/ inline Page& WithSender(const char* value) { SetSender(value); return *this;} /** *

The ARN of the incident that's engaging the contact channel.

*/ inline const Aws::String& GetIncidentId() const{ return m_incidentId; } /** *

The ARN of the incident that's engaging the contact channel.

*/ inline bool IncidentIdHasBeenSet() const { return m_incidentIdHasBeenSet; } /** *

The ARN of the incident that's engaging the contact channel.

*/ inline void SetIncidentId(const Aws::String& value) { m_incidentIdHasBeenSet = true; m_incidentId = value; } /** *

The ARN of the incident that's engaging the contact channel.

*/ inline void SetIncidentId(Aws::String&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::move(value); } /** *

The ARN of the incident that's engaging the contact channel.

*/ inline void SetIncidentId(const char* value) { m_incidentIdHasBeenSet = true; m_incidentId.assign(value); } /** *

The ARN of the incident that's engaging the contact channel.

*/ inline Page& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;} /** *

The ARN of the incident that's engaging the contact channel.

*/ inline Page& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;} /** *

The ARN of the incident that's engaging the contact channel.

*/ inline Page& WithIncidentId(const char* value) { SetIncidentId(value); return *this;} /** *

The time that Incident Manager engaged the contact channel.

*/ inline const Aws::Utils::DateTime& GetSentTime() const{ return m_sentTime; } /** *

The time that Incident Manager engaged the contact channel.

*/ inline bool SentTimeHasBeenSet() const { return m_sentTimeHasBeenSet; } /** *

The time that Incident Manager engaged the contact channel.

*/ inline void SetSentTime(const Aws::Utils::DateTime& value) { m_sentTimeHasBeenSet = true; m_sentTime = value; } /** *

The time that Incident Manager engaged the contact channel.

*/ inline void SetSentTime(Aws::Utils::DateTime&& value) { m_sentTimeHasBeenSet = true; m_sentTime = std::move(value); } /** *

The time that Incident Manager engaged the contact channel.

*/ inline Page& WithSentTime(const Aws::Utils::DateTime& value) { SetSentTime(value); return *this;} /** *

The time that Incident Manager engaged the contact channel.

*/ inline Page& WithSentTime(Aws::Utils::DateTime&& value) { SetSentTime(std::move(value)); return *this;} /** *

The time the message was delivered to the contact channel.

*/ inline const Aws::Utils::DateTime& GetDeliveryTime() const{ return m_deliveryTime; } /** *

The time the message was delivered to the contact channel.

*/ inline bool DeliveryTimeHasBeenSet() const { return m_deliveryTimeHasBeenSet; } /** *

The time the message was delivered to the contact channel.

*/ inline void SetDeliveryTime(const Aws::Utils::DateTime& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = value; } /** *

The time the message was delivered to the contact channel.

*/ inline void SetDeliveryTime(Aws::Utils::DateTime&& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = std::move(value); } /** *

The time the message was delivered to the contact channel.

*/ inline Page& WithDeliveryTime(const Aws::Utils::DateTime& value) { SetDeliveryTime(value); return *this;} /** *

The time the message was delivered to the contact channel.

*/ inline Page& WithDeliveryTime(Aws::Utils::DateTime&& value) { SetDeliveryTime(std::move(value)); return *this;} /** *

The time that the contact channel acknowledged engagement.

*/ inline const Aws::Utils::DateTime& GetReadTime() const{ return m_readTime; } /** *

The time that the contact channel acknowledged engagement.

*/ inline bool ReadTimeHasBeenSet() const { return m_readTimeHasBeenSet; } /** *

The time that the contact channel acknowledged engagement.

*/ inline void SetReadTime(const Aws::Utils::DateTime& value) { m_readTimeHasBeenSet = true; m_readTime = value; } /** *

The time that the contact channel acknowledged engagement.

*/ inline void SetReadTime(Aws::Utils::DateTime&& value) { m_readTimeHasBeenSet = true; m_readTime = std::move(value); } /** *

The time that the contact channel acknowledged engagement.

*/ inline Page& WithReadTime(const Aws::Utils::DateTime& value) { SetReadTime(value); return *this;} /** *

The time that the contact channel acknowledged engagement.

*/ inline Page& WithReadTime(Aws::Utils::DateTime&& value) { SetReadTime(std::move(value)); return *this;} private: Aws::String m_pageArn; bool m_pageArnHasBeenSet = false; Aws::String m_engagementArn; bool m_engagementArnHasBeenSet = false; Aws::String m_contactArn; bool m_contactArnHasBeenSet = false; Aws::String m_sender; bool m_senderHasBeenSet = false; Aws::String m_incidentId; bool m_incidentIdHasBeenSet = false; Aws::Utils::DateTime m_sentTime; bool m_sentTimeHasBeenSet = false; Aws::Utils::DateTime m_deliveryTime; bool m_deliveryTimeHasBeenSet = false; Aws::Utils::DateTime m_readTime; bool m_readTimeHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws