AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetJourneyExecutionMetricsRequest.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 GetJourneyExecutionMetricsRequest() = 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 "GetJourneyExecutionMetrics"; }
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 GetJourneyExecutionMetricsRequest& 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 GetJourneyExecutionMetricsRequest& 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 GetJourneyExecutionMetricsRequest& 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 GetJourneyExecutionMetricsRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
93 private:
94
95 Aws::String m_applicationId;
96 bool m_applicationIdHasBeenSet = false;
97
98 Aws::String m_journeyId;
99 bool m_journeyIdHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 Aws::String m_pageSize;
105 bool m_pageSizeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Pinpoint
110} // 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