144 lines
5.0 KiB
C++
144 lines
5.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/mq/MQ_EXPORTS.h>
|
|
#include <aws/mq/MQRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace MQ
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_MQ_API DescribeUserRequest : public MQRequest
|
|
{
|
|
public:
|
|
DescribeUserRequest();
|
|
|
|
// 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 "DescribeUser"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); }
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); }
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline DescribeUserRequest& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline DescribeUserRequest& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The unique ID that Amazon MQ generates for the broker.
|
|
*/
|
|
inline DescribeUserRequest& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline const Aws::String& GetUsername() const{ return m_username; }
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline DescribeUserRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline DescribeUserRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The username of the ActiveMQ user. This value can contain only alphanumeric
|
|
* characters, dashes, periods, underscores, and tildes (- . _ ~). This value must
|
|
* be 2-100 characters long.
|
|
*/
|
|
inline DescribeUserRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_brokerId;
|
|
bool m_brokerIdHasBeenSet;
|
|
|
|
Aws::String m_username;
|
|
bool m_usernameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MQ
|
|
} // namespace Aws
|