AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PointsOfInterest.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribestreaming/model/TimestampRange.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeStreamingService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest() = default;
36 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<TimestampRange>& GetTimestampRanges() const { return m_timestampRanges; }
47 inline bool TimestampRangesHasBeenSet() const { return m_timestampRangesHasBeenSet; }
48 template<typename TimestampRangesT = Aws::Vector<TimestampRange>>
49 void SetTimestampRanges(TimestampRangesT&& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges = std::forward<TimestampRangesT>(value); }
50 template<typename TimestampRangesT = Aws::Vector<TimestampRange>>
51 PointsOfInterest& WithTimestampRanges(TimestampRangesT&& value) { SetTimestampRanges(std::forward<TimestampRangesT>(value)); return *this;}
52 template<typename TimestampRangesT = TimestampRange>
53 PointsOfInterest& AddTimestampRanges(TimestampRangesT&& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges.emplace_back(std::forward<TimestampRangesT>(value)); return *this; }
55 private:
56
57 Aws::Vector<TimestampRange> m_timestampRanges;
58 bool m_timestampRangesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace TranscribeStreamingService
63} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PointsOfInterest & WithTimestampRanges(TimestampRangesT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TimestampRange > & GetTimestampRanges() const
AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest()=default
PointsOfInterest & AddTimestampRanges(TimestampRangesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue