This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-connect/include/aws/connect/model/UpdateUserRoutingProfileRequest.h

172 lines
5.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/ConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Connect
{
namespace Model
{
/**
*/
class AWS_CONNECT_API UpdateUserRoutingProfileRequest : public ConnectRequest
{
public:
UpdateUserRoutingProfileRequest();
// 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 "UpdateUserRoutingProfile"; }
Aws::String SerializePayload() const override;
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
/**
* <p>The identifier of the routing profile for the user.</p>
*/
inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
/**
* <p>The identifier of the user account.</p>
*/
inline const Aws::String& GetUserId() const{ return m_userId; }
/**
* <p>The identifier of the user account.</p>
*/
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
/**
* <p>The identifier of the user account.</p>
*/
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
/**
* <p>The identifier of the user account.</p>
*/
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
/**
* <p>The identifier of the user account.</p>
*/
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
/**
* <p>The identifier of the user account.</p>
*/
inline UpdateUserRoutingProfileRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
/**
* <p>The identifier of the user account.</p>
*/
inline UpdateUserRoutingProfileRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
/**
* <p>The identifier of the user account.</p>
*/
inline UpdateUserRoutingProfileRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline UpdateUserRoutingProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline UpdateUserRoutingProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
/**
* <p>The identifier of the Amazon Connect instance.</p>
*/
inline UpdateUserRoutingProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
private:
Aws::String m_routingProfileId;
bool m_routingProfileIdHasBeenSet;
Aws::String m_userId;
bool m_userIdHasBeenSet;
Aws::String m_instanceId;
bool m_instanceIdHasBeenSet;
};
} // namespace Model
} // namespace Connect
} // namespace Aws