/** * 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 WorkSpaces { namespace Model { /** */ class CreateConnectClientAddInRequest : public WorkSpacesRequest { public: AWS_WORKSPACES_API CreateConnectClientAddInRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateConnectClientAddIn"; } AWS_WORKSPACES_API Aws::String SerializePayload() const override; AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

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

The directory identifier for which to configure the client add-in.

*/ inline CreateConnectClientAddInRequest& 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 CreateConnectClientAddInRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the client add-in.

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

The name of the client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

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

The endpoint URL of the Amazon Connect client add-in.

*/ inline CreateConnectClientAddInRequest& WithURL(const char* value) { SetURL(value); return *this;} private: 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