AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRecommenderConfigurationsRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.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 Pinpoint
19{
20namespace Model
21{
22
26 {
27 public:
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 "GetRecommenderConfigurations"; }
35
36 AWS_PINPOINT_API Aws::String SerializePayload() const override;
37
38 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
48 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
49 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
50 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
51 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
52 inline GetRecommenderConfigurationsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
53 inline GetRecommenderConfigurationsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
54 inline GetRecommenderConfigurationsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
56
58
62 inline const Aws::String& GetToken() const{ return m_token; }
63 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
64 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
65 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
66 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
67 inline GetRecommenderConfigurationsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
68 inline GetRecommenderConfigurationsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
69 inline GetRecommenderConfigurationsRequest& WithToken(const char* value) { SetToken(value); return *this;}
71 private:
72
73 Aws::String m_pageSize;
74 bool m_pageSizeHasBeenSet = false;
75
76 Aws::String m_token;
77 bool m_tokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Pinpoint
82} // namespace Aws
GetRecommenderConfigurationsRequest & WithPageSize(Aws::String &&value)
GetRecommenderConfigurationsRequest & WithToken(const char *value)
GetRecommenderConfigurationsRequest & WithToken(Aws::String &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetRecommenderConfigurationsRequest & WithToken(const Aws::String &value)
GetRecommenderConfigurationsRequest & WithPageSize(const char *value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRecommenderConfigurationsRequest & WithPageSize(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String