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