/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ChimeSDKIdentity { namespace Model { /** */ class UpdateAppInstanceUserEndpointRequest : public ChimeSDKIdentityRequest { public: AWS_CHIMESDKIDENTITY_API UpdateAppInstanceUserEndpointRequest(); // 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 "UpdateAppInstanceUserEndpoint"; } AWS_CHIMESDKIDENTITY_API Aws::String SerializePayload() const override; /** *

The ARN of the AppInstanceUser.

*/ inline const Aws::String& GetAppInstanceUserArn() const{ return m_appInstanceUserArn; } /** *

The ARN of the AppInstanceUser.

*/ inline bool AppInstanceUserArnHasBeenSet() const { return m_appInstanceUserArnHasBeenSet; } /** *

The ARN of the AppInstanceUser.

*/ inline void SetAppInstanceUserArn(const Aws::String& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = value; } /** *

The ARN of the AppInstanceUser.

*/ inline void SetAppInstanceUserArn(Aws::String&& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = std::move(value); } /** *

The ARN of the AppInstanceUser.

*/ inline void SetAppInstanceUserArn(const char* value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn.assign(value); } /** *

The ARN of the AppInstanceUser.

*/ inline UpdateAppInstanceUserEndpointRequest& WithAppInstanceUserArn(const Aws::String& value) { SetAppInstanceUserArn(value); return *this;} /** *

The ARN of the AppInstanceUser.

*/ inline UpdateAppInstanceUserEndpointRequest& WithAppInstanceUserArn(Aws::String&& value) { SetAppInstanceUserArn(std::move(value)); return *this;} /** *

The ARN of the AppInstanceUser.

*/ inline UpdateAppInstanceUserEndpointRequest& WithAppInstanceUserArn(const char* value) { SetAppInstanceUserArn(value); return *this;} /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline const Aws::String& GetEndpointId() const{ return m_endpointId; } /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; } /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; } /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); } /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); } /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline UpdateAppInstanceUserEndpointRequest& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;} /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline UpdateAppInstanceUserEndpointRequest& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;} /** *

The unique identifier of the AppInstanceUserEndpoint.

*/ inline UpdateAppInstanceUserEndpointRequest& WithEndpointId(const char* value) { SetEndpointId(value); return *this;} /** *

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

The name of the AppInstanceUserEndpoint.

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

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline const AllowMessages& GetAllowMessages() const{ return m_allowMessages; } /** *

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline bool AllowMessagesHasBeenSet() const { return m_allowMessagesHasBeenSet; } /** *

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline void SetAllowMessages(const AllowMessages& value) { m_allowMessagesHasBeenSet = true; m_allowMessages = value; } /** *

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline void SetAllowMessages(AllowMessages&& value) { m_allowMessagesHasBeenSet = true; m_allowMessages = std::move(value); } /** *

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline UpdateAppInstanceUserEndpointRequest& WithAllowMessages(const AllowMessages& value) { SetAllowMessages(value); return *this;} /** *

Boolean that controls whether the AppInstanceUserEndpoint is * opted in to receive messages. ALL indicates the endpoint will * receive all messages. NONE indicates the endpoint will receive no * messages.

*/ inline UpdateAppInstanceUserEndpointRequest& WithAllowMessages(AllowMessages&& value) { SetAllowMessages(std::move(value)); return *this;} private: Aws::String m_appInstanceUserArn; bool m_appInstanceUserArnHasBeenSet = false; Aws::String m_endpointId; bool m_endpointIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; AllowMessages m_allowMessages; bool m_allowMessagesHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws