/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iotevents/IoTEvents_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTEvents { namespace Model { /** * <p>Contains information about your identity source in AWS Single Sign-On. For * more information, see the <a * href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">AWS * Single Sign-On User Guide</a>.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/SSOIdentity">AWS * API Reference</a></p> */ class SSOIdentity { public: AWS_IOTEVENTS_API SSOIdentity(); AWS_IOTEVENTS_API SSOIdentity(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTS_API SSOIdentity& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The ID of the AWS SSO identity store.</p> */ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** * <p>The ID of the AWS SSO identity store.</p> */ inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** * <p>The ID of the AWS SSO identity store.</p> */ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } /** * <p>The ID of the AWS SSO identity store.</p> */ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } /** * <p>The ID of the AWS SSO identity store.</p> */ inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } /** * <p>The ID of the AWS SSO identity store.</p> */ inline SSOIdentity& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** * <p>The ID of the AWS SSO identity store.</p> */ inline SSOIdentity& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** * <p>The ID of the AWS SSO identity store.</p> */ inline SSOIdentity& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** * <p>The user ID.</p> */ inline const Aws::String& GetUserId() const{ return m_userId; } /** * <p>The user ID.</p> */ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** * <p>The user ID.</p> */ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** * <p>The user ID.</p> */ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** * <p>The user ID.</p> */ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** * <p>The user ID.</p> */ inline SSOIdentity& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** * <p>The user ID.</p> */ inline SSOIdentity& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** * <p>The user ID.</p> */ inline SSOIdentity& WithUserId(const char* value) { SetUserId(value); return *this;} private: Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws