AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_PINPOINT_API GetJourneyRunExecutionMetricsRequest() = default;
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 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 GetJourneyRunExecutionMetricsRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
59 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
60 template<typename JourneyIdT = Aws::String>
61 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::forward<JourneyIdT>(value); }
62 template<typename JourneyIdT = Aws::String>
63 GetJourneyRunExecutionMetricsRequest& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
65
67
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 GetJourneyRunExecutionMetricsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79
81
86 inline const Aws::String& GetPageSize() const { return m_pageSize; }
87 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
88 template<typename PageSizeT = Aws::String>
89 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
90 template<typename PageSizeT = Aws::String>
91 GetJourneyRunExecutionMetricsRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
93
95
98 inline const Aws::String& GetRunId() const { return m_runId; }
99 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
100 template<typename RunIdT = Aws::String>
101 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
102 template<typename RunIdT = Aws::String>
103 GetJourneyRunExecutionMetricsRequest& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
105 private:
106
107 Aws::String m_applicationId;
108 bool m_applicationIdHasBeenSet = false;
109
110 Aws::String m_journeyId;
111 bool m_journeyIdHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 Aws::String m_pageSize;
117 bool m_pageSizeHasBeenSet = false;
118
119 Aws::String m_runId;
120 bool m_runIdHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Pinpoint
125} // namespace Aws
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyRunExecutionMetricsRequest & WithPageSize(PageSizeT &&value)
GetJourneyRunExecutionMetricsRequest & WithJourneyId(JourneyIdT &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyRunExecutionMetricsRequest & WithRunId(RunIdT &&value)
GetJourneyRunExecutionMetricsRequest & WithApplicationId(ApplicationIdT &&value)
GetJourneyRunExecutionMetricsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String