AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDedicatedIpPoolRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sesv2/model/ScalingMode.h>
12#include <aws/sesv2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SESV2
18{
19namespace Model
20{
21
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateDedicatedIpPool"; }
37
38 AWS_SESV2_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetPoolName() const{ return m_poolName; }
46 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
47 inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
48 inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
49 inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
50 inline CreateDedicatedIpPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
51 inline CreateDedicatedIpPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
52 inline CreateDedicatedIpPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;}
54
56
60 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
61 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
62 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
63 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
64 inline CreateDedicatedIpPoolRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
65 inline CreateDedicatedIpPoolRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
66 inline CreateDedicatedIpPoolRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
67 inline CreateDedicatedIpPoolRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
69
71
74 inline const ScalingMode& GetScalingMode() const{ return m_scalingMode; }
75 inline bool ScalingModeHasBeenSet() const { return m_scalingModeHasBeenSet; }
76 inline void SetScalingMode(const ScalingMode& value) { m_scalingModeHasBeenSet = true; m_scalingMode = value; }
77 inline void SetScalingMode(ScalingMode&& value) { m_scalingModeHasBeenSet = true; m_scalingMode = std::move(value); }
78 inline CreateDedicatedIpPoolRequest& WithScalingMode(const ScalingMode& value) { SetScalingMode(value); return *this;}
79 inline CreateDedicatedIpPoolRequest& WithScalingMode(ScalingMode&& value) { SetScalingMode(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_poolName;
84 bool m_poolNameHasBeenSet = false;
85
86 Aws::Vector<Tag> m_tags;
87 bool m_tagsHasBeenSet = false;
88
89 ScalingMode m_scalingMode;
90 bool m_scalingModeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SESV2
95} // namespace Aws
CreateDedicatedIpPoolRequest & AddTags(const Tag &value)
CreateDedicatedIpPoolRequest & WithPoolName(Aws::String &&value)
CreateDedicatedIpPoolRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDedicatedIpPoolRequest & WithPoolName(const char *value)
CreateDedicatedIpPoolRequest & WithPoolName(const Aws::String &value)
CreateDedicatedIpPoolRequest & WithScalingMode(ScalingMode &&value)
virtual const char * GetServiceRequestName() const override
CreateDedicatedIpPoolRequest & WithScalingMode(const ScalingMode &value)
CreateDedicatedIpPoolRequest & AddTags(Tag &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
CreateDedicatedIpPoolRequest & WithTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector