AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDedicatedIpsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace PinpointEmail
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_PINPOINTEMAIL_API GetDedicatedIpsRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetDedicatedIps"; }
39
40 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
41
42 AWS_PINPOINTEMAIL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetPoolName() const { return m_poolName; }
50 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
51 template<typename PoolNameT = Aws::String>
52 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet = true; m_poolName = std::forward<PoolNameT>(value); }
53 template<typename PoolNameT = Aws::String>
54 GetDedicatedIpsRequest& WithPoolName(PoolNameT&& value) { SetPoolName(std::forward<PoolNameT>(value)); return *this;}
56
58
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 template<typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
66 template<typename NextTokenT = Aws::String>
67 GetDedicatedIpsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
69
71
78 inline int GetPageSize() const { return m_pageSize; }
79 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
80 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
81 inline GetDedicatedIpsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
83 private:
84
85 Aws::String m_poolName;
86 bool m_poolNameHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 int m_pageSize{0};
92 bool m_pageSizeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PinpointEmail
97} // 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