AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetDedicatedIpsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace PinpointEmail {
18namespace Model {
19
27 public:
28 AWS_PINPOINTEMAIL_API GetDedicatedIpsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetDedicatedIps"; }
35
36 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
37
38 AWS_PINPOINTEMAIL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
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) {
48 m_poolNameHasBeenSet = true;
49 m_poolName = std::forward<PoolNameT>(value);
50 }
51 template <typename PoolNameT = Aws::String>
53 SetPoolName(std::forward<PoolNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
85 inline int GetPageSize() const { return m_pageSize; }
86 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
87 inline void SetPageSize(int value) {
88 m_pageSizeHasBeenSet = true;
89 m_pageSize = value;
90 }
92 SetPageSize(value);
93 return *this;
94 }
96 private:
97 Aws::String m_poolName;
98 bool m_poolNameHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 int m_pageSize{0};
104 bool m_pageSizeHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace PinpointEmail
109} // namespace Aws
GetDedicatedIpsRequest & WithNextToken(NextTokenT &&value)
AWS_PINPOINTEMAIL_API GetDedicatedIpsRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
GetDedicatedIpsRequest & WithPoolName(PoolNameT &&value)
AWS_PINPOINTEMAIL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String