AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyStateRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/State.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PINPOINT_API JourneyStateRequest();
37 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
57 inline const State& GetState() const{ return m_state; }
58 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
59 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
60 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
61 inline JourneyStateRequest& WithState(const State& value) { SetState(value); return *this;}
62 inline JourneyStateRequest& WithState(State&& value) { SetState(std::move(value)); return *this;}
64 private:
65
66 State m_state;
67 bool m_stateHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Pinpoint
72} // namespace Aws
AWS_PINPOINT_API JourneyStateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API JourneyStateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyStateRequest & WithState(State &&value)
JourneyStateRequest & WithState(const State &value)
Aws::Utils::Json::JsonValue JsonValue