7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
56 template<
typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
58 template<
typename IdT = Aws::String>
68 template<
typename StartTimestampT = Aws::String>
69 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet =
true; m_startTimestamp = std::forward<StartTimestampT>(value); }
70 template<
typename StartTimestampT = Aws::String>
80 template<
typename StopTimestampT = Aws::String>
81 void SetStopTimestamp(StopTimestampT&& value) { m_stopTimestampHasBeenSet =
true; m_stopTimestamp = std::forward<StopTimestampT>(value); }
82 template<
typename StopTimestampT = Aws::String>
88 bool m_durationHasBeenSet =
false;
91 bool m_idHasBeenSet =
false;
94 bool m_startTimestampHasBeenSet =
false;
97 bool m_stopTimestampHasBeenSet =
false;
AWS_PINPOINT_API Session()=default
const Aws::String & GetStartTimestamp() const
Session & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_PINPOINT_API Session(Aws::Utils::Json::JsonView jsonValue)
Session & WithStartTimestamp(StartTimestampT &&value)
AWS_PINPOINT_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::String & GetStopTimestamp() const
bool DurationHasBeenSet() const
void SetStartTimestamp(StartTimestampT &&value)
Session & WithStopTimestamp(StopTimestampT &&value)
Session & WithDuration(int value)
bool StartTimestampHasBeenSet() const
void SetDuration(int value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStopTimestamp(StopTimestampT &&value)
bool StopTimestampHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue