AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetJourneyRunExecutionMetricsRequest.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 "GetJourneyRunExecutionMetrics"; }
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
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
52 inline GetJourneyRunExecutionMetricsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline GetJourneyRunExecutionMetricsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
61 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
62 inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
63 inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
64 inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
65 inline GetJourneyRunExecutionMetricsRequest& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
66 inline GetJourneyRunExecutionMetricsRequest& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
67 inline GetJourneyRunExecutionMetricsRequest& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
69
71
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline GetJourneyRunExecutionMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline GetJourneyRunExecutionMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline GetJourneyRunExecutionMetricsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85
87
92 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
93 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
94 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
95 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
96 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
97 inline GetJourneyRunExecutionMetricsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
98 inline GetJourneyRunExecutionMetricsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
99 inline GetJourneyRunExecutionMetricsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
101
103
106 inline const Aws::String& GetRunId() const{ return m_runId; }
107 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
108 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
109 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
110 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
111 inline GetJourneyRunExecutionMetricsRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
112 inline GetJourneyRunExecutionMetricsRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
113 inline GetJourneyRunExecutionMetricsRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
115 private:
116
117 Aws::String m_applicationId;
118 bool m_applicationIdHasBeenSet = false;
119
120 Aws::String m_journeyId;
121 bool m_journeyIdHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 Aws::String m_pageSize;
127 bool m_pageSizeHasBeenSet = false;
128
129 Aws::String m_runId;
130 bool m_runIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Pinpoint
135} // namespace Aws
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyRunExecutionMetricsRequest & WithRunId(const Aws::String &value)
GetJourneyRunExecutionMetricsRequest & WithNextToken(const Aws::String &value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyRunExecutionMetricsRequest & WithNextToken(const char *value)
GetJourneyRunExecutionMetricsRequest & WithJourneyId(const Aws::String &value)
GetJourneyRunExecutionMetricsRequest & WithPageSize(Aws::String &&value)
GetJourneyRunExecutionMetricsRequest & WithPageSize(const Aws::String &value)
GetJourneyRunExecutionMetricsRequest & WithApplicationId(const Aws::String &value)
GetJourneyRunExecutionMetricsRequest & WithJourneyId(Aws::String &&value)
GetJourneyRunExecutionMetricsRequest & WithApplicationId(const char *value)
GetJourneyRunExecutionMetricsRequest & WithPageSize(const char *value)
GetJourneyRunExecutionMetricsRequest & WithNextToken(Aws::String &&value)
GetJourneyRunExecutionMetricsRequest & WithJourneyId(const char *value)
GetJourneyRunExecutionMetricsRequest & WithApplicationId(Aws::String &&value)
GetJourneyRunExecutionMetricsRequest & WithRunId(const char *value)
GetJourneyRunExecutionMetricsRequest & WithRunId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String