AWS SDK for C++  1.8.71
AWS SDK for C++
GetRecommenderConfigurationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Pinpoint
19 {
20 namespace 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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const Aws::String& GetPageSize() const{ return m_pageSize; }
47 
53  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
54 
60  inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
61 
67  inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
68 
74  inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
75 
81  inline GetRecommenderConfigurationsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
82 
88  inline GetRecommenderConfigurationsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
89 
95  inline GetRecommenderConfigurationsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
96 
97 
102  inline const Aws::String& GetToken() const{ return m_token; }
103 
108  inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
109 
114  inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
115 
120  inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
121 
126  inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
127 
132  inline GetRecommenderConfigurationsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
133 
138  inline GetRecommenderConfigurationsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
139 
144  inline GetRecommenderConfigurationsRequest& WithToken(const char* value) { SetToken(value); return *this;}
145 
146  private:
147 
148  Aws::String m_pageSize;
149  bool m_pageSizeHasBeenSet;
150 
151  Aws::String m_token;
152  bool m_tokenHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace Pinpoint
157 } // namespace Aws
#define AWS_PINPOINT_API
GetRecommenderConfigurationsRequest & WithPageSize(Aws::String &&value)
GetRecommenderConfigurationsRequest & WithToken(const Aws::String &value)
GetRecommenderConfigurationsRequest & WithPageSize(const Aws::String &value)
GetRecommenderConfigurationsRequest & WithPageSize(const char *value)
GetRecommenderConfigurationsRequest & WithToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetRecommenderConfigurationsRequest & WithToken(Aws::String &&value)