AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateJourneyStateRequest.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 <aws/pinpoint/model/JourneyStateRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API UpdateJourneyStateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateJourneyState"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
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) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
45 template<typename ApplicationIdT = Aws::String>
46 UpdateJourneyStateRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
54 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
55 template<typename JourneyIdT = Aws::String>
56 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::forward<JourneyIdT>(value); }
57 template<typename JourneyIdT = Aws::String>
58 UpdateJourneyStateRequest& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
60
62
63 inline const JourneyStateRequest& GetJourneyStateRequest() const { return m_journeyStateRequest; }
64 inline bool JourneyStateRequestHasBeenSet() const { return m_journeyStateRequestHasBeenSet; }
65 template<typename JourneyStateRequestT = JourneyStateRequest>
66 void SetJourneyStateRequest(JourneyStateRequestT&& value) { m_journeyStateRequestHasBeenSet = true; m_journeyStateRequest = std::forward<JourneyStateRequestT>(value); }
67 template<typename JourneyStateRequestT = JourneyStateRequest>
68 UpdateJourneyStateRequest& WithJourneyStateRequest(JourneyStateRequestT&& value) { SetJourneyStateRequest(std::forward<JourneyStateRequestT>(value)); return *this;}
70 private:
71
72 Aws::String m_applicationId;
73 bool m_applicationIdHasBeenSet = false;
74
75 Aws::String m_journeyId;
76 bool m_journeyIdHasBeenSet = false;
77
78 JourneyStateRequest m_journeyStateRequest;
79 bool m_journeyStateRequestHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Pinpoint
84} // 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