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-sesv2/include/aws/sesv2/model/CreateDedicatedIpPoolRequest.h

141 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/sesv2/SESV2_EXPORTS.h>
#include <aws/sesv2/SESV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/sesv2/model/Tag.h>
#include <utility>
namespace Aws
{
namespace SESV2
{
namespace Model
{
/**
* <p>A request to create a new dedicated IP pool.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPoolRequest">AWS
* API Reference</a></p>
*/
class AWS_SESV2_API CreateDedicatedIpPoolRequest : public SESV2Request
{
public:
CreateDedicatedIpPoolRequest();
// 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 "CreateDedicatedIpPool"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline const Aws::String& GetPoolName() const{ return m_poolName; }
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline CreateDedicatedIpPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline CreateDedicatedIpPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
/**
* <p>The name of the dedicated IP pool.</p>
*/
inline CreateDedicatedIpPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;}
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline CreateDedicatedIpPoolRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline CreateDedicatedIpPoolRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline CreateDedicatedIpPoolRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>An object that defines the tags (keys and values) that you want to associate
* with the pool.</p>
*/
inline CreateDedicatedIpPoolRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_poolName;
bool m_poolNameHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace SESV2
} // namespace Aws