AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetJourneyExecutionMetricsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Pinpoint {
18namespace Model {
19
23 public:
24 AWS_PINPOINT_API GetJourneyExecutionMetricsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetJourneyExecutionMetrics"; }
31
32 AWS_PINPOINT_API Aws::String SerializePayload() const override;
33
34 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) {
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
60 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
61 template <typename JourneyIdT = Aws::String>
62 void SetJourneyId(JourneyIdT&& value) {
63 m_journeyIdHasBeenSet = true;
64 m_journeyId = std::forward<JourneyIdT>(value);
65 }
66 template <typename JourneyIdT = Aws::String>
68 SetJourneyId(std::forward<JourneyIdT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template <typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) {
83 m_nextTokenHasBeenSet = true;
84 m_nextToken = std::forward<NextTokenT>(value);
85 }
86 template <typename NextTokenT = Aws::String>
88 SetNextToken(std::forward<NextTokenT>(value));
89 return *this;
90 }
92
94
99 inline const Aws::String& GetPageSize() const { return m_pageSize; }
100 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
101 template <typename PageSizeT = Aws::String>
102 void SetPageSize(PageSizeT&& value) {
103 m_pageSizeHasBeenSet = true;
104 m_pageSize = std::forward<PageSizeT>(value);
105 }
106 template <typename PageSizeT = Aws::String>
108 SetPageSize(std::forward<PageSizeT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_applicationId;
114 bool m_applicationIdHasBeenSet = false;
115
116 Aws::String m_journeyId;
117 bool m_journeyIdHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 Aws::String m_pageSize;
123 bool m_pageSizeHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Pinpoint
128} // namespace Aws
GetJourneyExecutionMetricsRequest & WithNextToken(NextTokenT &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PINPOINT_API GetJourneyExecutionMetricsRequest()=default
GetJourneyExecutionMetricsRequest & WithJourneyId(JourneyIdT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyExecutionMetricsRequest & WithPageSize(PageSizeT &&value)
GetJourneyExecutionMetricsRequest & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String