7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
59 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
65 bool m_idHasBeenSet =
false;
68 bool m_versionHasBeenSet =
false;
AWS_PINPOINT_API SegmentReference(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
SegmentReference & WithId(IdT &&value)
AWS_PINPOINT_API SegmentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
AWS_PINPOINT_API SegmentReference()=default
SegmentReference & WithVersion(int value)
void SetVersion(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue