AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateJourneyStateRequest.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#include <aws/pinpoint/model/JourneyStateRequest.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Pinpoint {
16namespace Model {
17
21 public:
22 AWS_PINPOINT_API UpdateJourneyStateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateJourneyState"; }
29
30 AWS_PINPOINT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
39 template <typename ApplicationIdT = Aws::String>
40 void SetApplicationId(ApplicationIdT&& value) {
41 m_applicationIdHasBeenSet = true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
43 }
44 template <typename ApplicationIdT = Aws::String>
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
56 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
57 template <typename JourneyIdT = Aws::String>
58 void SetJourneyId(JourneyIdT&& value) {
59 m_journeyIdHasBeenSet = true;
60 m_journeyId = std::forward<JourneyIdT>(value);
61 }
62 template <typename JourneyIdT = Aws::String>
64 SetJourneyId(std::forward<JourneyIdT>(value));
65 return *this;
66 }
68
70
71 inline const JourneyStateRequest& GetJourneyStateRequest() const { return m_journeyStateRequest; }
72 inline bool JourneyStateRequestHasBeenSet() const { return m_journeyStateRequestHasBeenSet; }
73 template <typename JourneyStateRequestT = JourneyStateRequest>
74 void SetJourneyStateRequest(JourneyStateRequestT&& value) {
75 m_journeyStateRequestHasBeenSet = true;
76 m_journeyStateRequest = std::forward<JourneyStateRequestT>(value);
77 }
78 template <typename JourneyStateRequestT = JourneyStateRequest>
79 UpdateJourneyStateRequest& WithJourneyStateRequest(JourneyStateRequestT&& value) {
80 SetJourneyStateRequest(std::forward<JourneyStateRequestT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_applicationId;
86 bool m_applicationIdHasBeenSet = false;
87
88 Aws::String m_journeyId;
89 bool m_journeyIdHasBeenSet = false;
90
91 JourneyStateRequest m_journeyStateRequest;
92 bool m_journeyStateRequestHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Pinpoint
97} // namespace Aws
void SetJourneyStateRequest(JourneyStateRequestT &&value)
UpdateJourneyStateRequest & WithApplicationId(ApplicationIdT &&value)
const JourneyStateRequest & GetJourneyStateRequest() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
UpdateJourneyStateRequest & WithJourneyStateRequest(JourneyStateRequestT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API UpdateJourneyStateRequest()=default
UpdateJourneyStateRequest & WithJourneyId(JourneyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String