AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetJourneyExecutionActivityMetricsRequest.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 GetJourneyExecutionActivityMetricsRequest() = 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 "GetJourneyExecutionActivityMetrics"; }
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 GetJourneyExecutionActivityMetricsRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetJourneyActivityId() const { return m_journeyActivityId; }
59 inline bool JourneyActivityIdHasBeenSet() const { return m_journeyActivityIdHasBeenSet; }
60 template<typename JourneyActivityIdT = Aws::String>
61 void SetJourneyActivityId(JourneyActivityIdT&& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = std::forward<JourneyActivityIdT>(value); }
62 template<typename JourneyActivityIdT = Aws::String>
63 GetJourneyExecutionActivityMetricsRequest& WithJourneyActivityId(JourneyActivityIdT&& value) { SetJourneyActivityId(std::forward<JourneyActivityIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
71 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
72 template<typename JourneyIdT = Aws::String>
73 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::forward<JourneyIdT>(value); }
74 template<typename JourneyIdT = Aws::String>
75 GetJourneyExecutionActivityMetricsRequest& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
77
79
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template<typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
88 template<typename NextTokenT = Aws::String>
89 GetJourneyExecutionActivityMetricsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
91
93
98 inline const Aws::String& GetPageSize() const { return m_pageSize; }
99 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
100 template<typename PageSizeT = Aws::String>
101 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
102 template<typename PageSizeT = Aws::String>
103 GetJourneyExecutionActivityMetricsRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
105 private:
106
107 Aws::String m_applicationId;
108 bool m_applicationIdHasBeenSet = false;
109
110 Aws::String m_journeyActivityId;
111 bool m_journeyActivityIdHasBeenSet = false;
112
113 Aws::String m_journeyId;
114 bool m_journeyIdHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 Aws::String m_pageSize;
120 bool m_pageSizeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Pinpoint
125} // namespace Aws
GetJourneyExecutionActivityMetricsRequest & WithPageSize(PageSizeT &&value)
GetJourneyExecutionActivityMetricsRequest & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyExecutionActivityMetricsRequest & WithJourneyId(JourneyIdT &&value)
GetJourneyExecutionActivityMetricsRequest & WithJourneyActivityId(JourneyActivityIdT &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyExecutionActivityMetricsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String