AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetJourneyRunsRequest.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 GetJourneyRunsRequest() = 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 "GetJourneyRuns"; }
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 GetJourneyRunsRequest& 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 GetJourneyRunsRequest& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
65
67
72 inline const Aws::String& GetPageSize() const { return m_pageSize; }
73 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
74 template<typename PageSizeT = Aws::String>
75 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
76 template<typename PageSizeT = Aws::String>
77 GetJourneyRunsRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
79
81
85 inline const Aws::String& GetToken() const { return m_token; }
86 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
87 template<typename TokenT = Aws::String>
88 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
89 template<typename TokenT = Aws::String>
90 GetJourneyRunsRequest& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
92 private:
93
94 Aws::String m_applicationId;
95 bool m_applicationIdHasBeenSet = false;
96
97 Aws::String m_journeyId;
98 bool m_journeyIdHasBeenSet = false;
99
100 Aws::String m_pageSize;
101 bool m_pageSizeHasBeenSet = false;
102
103 Aws::String m_token;
104 bool m_tokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Pinpoint
109} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetJourneyRunsRequest & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API GetJourneyRunsRequest()=default
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyRunsRequest & WithToken(TokenT &&value)
GetJourneyRunsRequest & WithPageSize(PageSizeT &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyRunsRequest & WithJourneyId(JourneyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String