AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateDedicatedIpPoolRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint-email/PinpointEmailRequest.h>
10#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
11#include <aws/pinpoint-email/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PinpointEmail {
17namespace Model {
18
25 public:
26 AWS_PINPOINTEMAIL_API CreateDedicatedIpPoolRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDedicatedIpPool"; }
33
34 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetPoolName() const { return m_poolName; }
41 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
42 template <typename PoolNameT = Aws::String>
43 void SetPoolName(PoolNameT&& value) {
44 m_poolNameHasBeenSet = true;
45 m_poolName = std::forward<PoolNameT>(value);
46 }
47 template <typename PoolNameT = Aws::String>
49 SetPoolName(std::forward<PoolNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
60 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
61 template <typename TagsT = Aws::Vector<Tag>>
62 void SetTags(TagsT&& value) {
63 m_tagsHasBeenSet = true;
64 m_tags = std::forward<TagsT>(value);
65 }
66 template <typename TagsT = Aws::Vector<Tag>>
68 SetTags(std::forward<TagsT>(value));
69 return *this;
70 }
71 template <typename TagsT = Tag>
73 m_tagsHasBeenSet = true;
74 m_tags.emplace_back(std::forward<TagsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_poolName;
80
81 Aws::Vector<Tag> m_tags;
82 bool m_poolNameHasBeenSet = false;
83 bool m_tagsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace PinpointEmail
88} // 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