AWS SDK for C++  1.9.40
AWS SDK for C++
GetJourneyExecutionMetricsRequest.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 "GetJourneyExecutionMetrics"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 
51  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 
57  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
58 
63  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
64 
69  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
70 
75  inline GetJourneyExecutionMetricsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 
81  inline GetJourneyExecutionMetricsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
82 
87  inline GetJourneyExecutionMetricsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
88 
89 
93  inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
94 
98  inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
99 
103  inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
104 
108  inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
109 
113  inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
114 
118  inline GetJourneyExecutionMetricsRequest& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
119 
123  inline GetJourneyExecutionMetricsRequest& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
124 
128  inline GetJourneyExecutionMetricsRequest& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
129 
130 
136  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
137 
143  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 
150  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
151 
157  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
158 
164  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
165 
171  inline GetJourneyExecutionMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
172 
178  inline GetJourneyExecutionMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
179 
185  inline GetJourneyExecutionMetricsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
186 
187 
193  inline const Aws::String& GetPageSize() const{ return m_pageSize; }
194 
200  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
201 
207  inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
208 
214  inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
215 
221  inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
222 
228  inline GetJourneyExecutionMetricsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
229 
235  inline GetJourneyExecutionMetricsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
236 
242  inline GetJourneyExecutionMetricsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
243 
244  private:
245 
246  Aws::String m_applicationId;
247  bool m_applicationIdHasBeenSet;
248 
249  Aws::String m_journeyId;
250  bool m_journeyIdHasBeenSet;
251 
252  Aws::String m_nextToken;
253  bool m_nextTokenHasBeenSet;
254 
255  Aws::String m_pageSize;
256  bool m_pageSizeHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace Pinpoint
261 } // namespace Aws
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: GetJourneyExecutionMetricsRequest.h:51
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithPageSize
GetJourneyExecutionMetricsRequest & WithPageSize(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:235
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:57
Aws::Http::URI
Definition: URI.h:32
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithNextToken
GetJourneyExecutionMetricsRequest & WithNextToken(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:185
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetJourneyExecutionMetricsRequest.h:143
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:164
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::JourneyIdHasBeenSet
bool JourneyIdHasBeenSet() const
Definition: GetJourneyExecutionMetricsRequest.h:98
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:69
AWS_PINPOINT_API
#define AWS_PINPOINT_API
Definition: Pinpoint_EXPORTS.h:28
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithNextToken
GetJourneyExecutionMetricsRequest & WithNextToken(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:178
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetJourneyId
void SetJourneyId(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:103
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithJourneyId
GetJourneyExecutionMetricsRequest & WithJourneyId(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:128
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:150
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithNextToken
GetJourneyExecutionMetricsRequest & WithNextToken(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:171
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetPageSize
const Aws::String & GetPageSize() const
Definition: GetJourneyExecutionMetricsRequest.h:193
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetJourneyExecutionMetricsRequest.h:136
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithJourneyId
GetJourneyExecutionMetricsRequest & WithJourneyId(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:118
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetJourneyExecutionMetricsRequest
GetJourneyExecutionMetricsRequest()
Pinpoint_EXPORTS.h
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetJourneyExecutionMetricsRequest.h:34
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithJourneyId
GetJourneyExecutionMetricsRequest & WithJourneyId(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:123
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithApplicationId
GetJourneyExecutionMetricsRequest & WithApplicationId(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:81
AWSString.h
Aws::Pinpoint::PinpointRequest
Definition: PinpointRequest.h:17
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithPageSize
GetJourneyExecutionMetricsRequest & WithPageSize(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:242
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetJourneyId
const Aws::String & GetJourneyId() const
Definition: GetJourneyExecutionMetricsRequest.h:93
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithApplicationId
GetJourneyExecutionMetricsRequest & WithApplicationId(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:75
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:63
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:157
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetJourneyId
void SetJourneyId(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:113
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithApplicationId
GetJourneyExecutionMetricsRequest & WithApplicationId(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:87
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetJourneyExecutionMetricsRequest.h:45
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetPageSize
void SetPageSize(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:214
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::WithPageSize
GetJourneyExecutionMetricsRequest & WithPageSize(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:228
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetJourneyId
void SetJourneyId(Aws::String &&value)
Definition: GetJourneyExecutionMetricsRequest.h:108
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetPageSize
void SetPageSize(const Aws::String &value)
Definition: GetJourneyExecutionMetricsRequest.h:207
PinpointRequest.h
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::SetPageSize
void SetPageSize(const char *value)
Definition: GetJourneyExecutionMetricsRequest.h:221
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: GetJourneyExecutionMetricsRequest.h:200
Aws::Pinpoint::Model::GetJourneyExecutionMetricsRequest
Definition: GetJourneyExecutionMetricsRequest.h:26