AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PoolNameT = Aws::String>
47 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet = true; m_poolName = std::forward<PoolNameT>(value); }
48 template<typename PoolNameT = Aws::String>
49 CreateDedicatedIpPoolRequest& WithPoolName(PoolNameT&& value) { SetPoolName(std::forward<PoolNameT>(value)); return *this;}
51
53
57 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
58 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
59 template<typename TagsT = Aws::Vector<Tag>>
60 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
61 template<typename TagsT = Aws::Vector<Tag>>
62 CreateDedicatedIpPoolRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
63 template<typename TagsT = Tag>
64 CreateDedicatedIpPoolRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
66 private:
67
68 Aws::String m_poolName;
69 bool m_poolNameHasBeenSet = false;
70
71 Aws::Vector<Tag> m_tags;
72 bool m_tagsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace PinpointEmail
77} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
AWS_PINPOINTEMAIL_API CreateDedicatedIpPoolRequest()=default
CreateDedicatedIpPoolRequest & WithPoolName(PoolNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector