138 lines
4.6 KiB
C++
138 lines
4.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/dax/DAX_EXPORTS.h>
|
|
#include <aws/dax/DAXRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace DAX
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_DAX_API CreateParameterGroupRequest : public DAXRequest
|
|
{
|
|
public:
|
|
CreateParameterGroupRequest();
|
|
|
|
// 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 "CreateParameterGroup"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the parameter group to apply to all of the clusters in this
|
|
* replication group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the parameter group.</p>
|
|
*/
|
|
inline CreateParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_parameterGroupName;
|
|
bool m_parameterGroupNameHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace DAX
|
|
} // namespace Aws
|