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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pinpoint-email/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PinpointEmail
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_PINPOINTEMAIL_API CreateDedicatedIpPoolRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDedicatedIpPool"; }
36
37 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetPoolName() const{ return m_poolName; }
45 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
46 inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
47 inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
48 inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
49 inline CreateDedicatedIpPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
50 inline CreateDedicatedIpPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
51 inline CreateDedicatedIpPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;}
53
55
59 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
60 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
61 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
62 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
63 inline CreateDedicatedIpPoolRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
64 inline CreateDedicatedIpPoolRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
65 inline CreateDedicatedIpPoolRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
66 inline CreateDedicatedIpPoolRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
68 private:
69
70 Aws::String m_poolName;
71 bool m_poolNameHasBeenSet = false;
72
73 Aws::Vector<Tag> m_tags;
74 bool m_tagsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace PinpointEmail
79} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
CreateDedicatedIpPoolRequest & WithPoolName(Aws::String &&value)
CreateDedicatedIpPoolRequest & WithPoolName(const Aws::String &value)
CreateDedicatedIpPoolRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDedicatedIpPoolRequest & AddTags(const Tag &value)
CreateDedicatedIpPoolRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDedicatedIpPoolRequest & WithPoolName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector