AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetRecommenderConfigurationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Pinpoint {
18namespace Model {
19
23 public:
24 AWS_PINPOINT_API GetRecommenderConfigurationsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetRecommenderConfigurations"; }
31
32 AWS_PINPOINT_API Aws::String SerializePayload() const override;
33
34 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetPageSize() const { return m_pageSize; }
43 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
44 template <typename PageSizeT = Aws::String>
45 void SetPageSize(PageSizeT&& value) {
46 m_pageSizeHasBeenSet = true;
47 m_pageSize = std::forward<PageSizeT>(value);
48 }
49 template <typename PageSizeT = Aws::String>
51 SetPageSize(std::forward<PageSizeT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetToken() const { return m_token; }
62 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
63 template <typename TokenT = Aws::String>
64 void SetToken(TokenT&& value) {
65 m_tokenHasBeenSet = true;
66 m_token = std::forward<TokenT>(value);
67 }
68 template <typename TokenT = Aws::String>
70 SetToken(std::forward<TokenT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_pageSize;
76 bool m_pageSizeHasBeenSet = false;
77
78 Aws::String m_token;
79 bool m_tokenHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Pinpoint
84} // namespace Aws
GetRecommenderConfigurationsRequest & WithPageSize(PageSizeT &&value)
GetRecommenderConfigurationsRequest & WithToken(TokenT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String