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

Describes an Amazon Connect client add-in.

See Also:

AWS * API Reference

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

The client add-in identifier.

*/ inline const Aws::String& GetAddInId() const{ return m_addInId; } /** *

The client add-in identifier.

*/ inline bool AddInIdHasBeenSet() const { return m_addInIdHasBeenSet; } /** *

The client add-in identifier.

*/ inline void SetAddInId(const Aws::String& value) { m_addInIdHasBeenSet = true; m_addInId = value; } /** *

The client add-in identifier.

*/ inline void SetAddInId(Aws::String&& value) { m_addInIdHasBeenSet = true; m_addInId = std::move(value); } /** *

The client add-in identifier.

*/ inline void SetAddInId(const char* value) { m_addInIdHasBeenSet = true; m_addInId.assign(value); } /** *

The client add-in identifier.

*/ inline ConnectClientAddIn& WithAddInId(const Aws::String& value) { SetAddInId(value); return *this;} /** *

The client add-in identifier.

*/ inline ConnectClientAddIn& WithAddInId(Aws::String&& value) { SetAddInId(std::move(value)); return *this;} /** *

The client add-in identifier.

*/ inline ConnectClientAddIn& WithAddInId(const char* value) { SetAddInId(value); return *this;} /** *

The directory identifier for which the client add-in is configured.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The directory identifier for which the client add-in is configured.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The directory identifier for which the client add-in is configured.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The directory identifier for which the client add-in is configured.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The directory identifier for which the client add-in is configured.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The directory identifier for which the client add-in is configured.

*/ inline ConnectClientAddIn& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The directory identifier for which the client add-in is configured.

*/ inline ConnectClientAddIn& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The directory identifier for which the client add-in is configured.

*/ inline ConnectClientAddIn& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

The name of the client add in.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the client add in.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the client add in.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the client add in.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the client add in.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the client add in.

*/ inline ConnectClientAddIn& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the client add in.

*/ inline ConnectClientAddIn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the client add in.

*/ inline ConnectClientAddIn& WithName(const char* value) { SetName(value); return *this;} /** *

The endpoint URL of the client add-in.

*/ inline const Aws::String& GetURL() const{ return m_uRL; } /** *

The endpoint URL of the client add-in.

*/ inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; } /** *

The endpoint URL of the client add-in.

*/ inline void SetURL(const Aws::String& value) { m_uRLHasBeenSet = true; m_uRL = value; } /** *

The endpoint URL of the client add-in.

*/ inline void SetURL(Aws::String&& value) { m_uRLHasBeenSet = true; m_uRL = std::move(value); } /** *

The endpoint URL of the client add-in.

*/ inline void SetURL(const char* value) { m_uRLHasBeenSet = true; m_uRL.assign(value); } /** *

The endpoint URL of the client add-in.

*/ inline ConnectClientAddIn& WithURL(const Aws::String& value) { SetURL(value); return *this;} /** *

The endpoint URL of the client add-in.

*/ inline ConnectClientAddIn& WithURL(Aws::String&& value) { SetURL(std::move(value)); return *this;} /** *

The endpoint URL of the client add-in.

*/ inline ConnectClientAddIn& WithURL(const char* value) { SetURL(value); return *this;} private: Aws::String m_addInId; bool m_addInIdHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_uRL; bool m_uRLHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws