/** * 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 IoTEvents { namespace Model { /** *

The information that identifies the recipient.

See Also:

AWS * API Reference

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

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline const SSOIdentity& GetSsoIdentity() const{ return m_ssoIdentity; } /** *

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline bool SsoIdentityHasBeenSet() const { return m_ssoIdentityHasBeenSet; } /** *

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline void SetSsoIdentity(const SSOIdentity& value) { m_ssoIdentityHasBeenSet = true; m_ssoIdentity = value; } /** *

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline void SetSsoIdentity(SSOIdentity&& value) { m_ssoIdentityHasBeenSet = true; m_ssoIdentity = std::move(value); } /** *

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline RecipientDetail& WithSsoIdentity(const SSOIdentity& value) { SetSsoIdentity(value); return *this;} /** *

The AWS Single Sign-On (AWS SSO) authentication information.

*/ inline RecipientDetail& WithSsoIdentity(SSOIdentity&& value) { SetSsoIdentity(std::move(value)); return *this;} private: SSOIdentity m_ssoIdentity; bool m_ssoIdentityHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws