AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
PointsOfInterest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
9#include <aws/transcribestreaming/model/TimestampRange.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TranscribeStreamingService {
21namespace Model {
22
29 public:
30 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest() = default;
31 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest(Aws::Utils::Json::JsonView jsonValue);
32 AWS_TRANSCRIBESTREAMINGSERVICE_API PointsOfInterest& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::Vector<TimestampRange>& GetTimestampRanges() const { return m_timestampRanges; }
41 inline bool TimestampRangesHasBeenSet() const { return m_timestampRangesHasBeenSet; }
42 template <typename TimestampRangesT = Aws::Vector<TimestampRange>>
43 void SetTimestampRanges(TimestampRangesT&& value) {
44 m_timestampRangesHasBeenSet = true;
45 m_timestampRanges = std::forward<TimestampRangesT>(value);
46 }
47 template <typename TimestampRangesT = Aws::Vector<TimestampRange>>
48 PointsOfInterest& WithTimestampRanges(TimestampRangesT&& value) {
49 SetTimestampRanges(std::forward<TimestampRangesT>(value));
50 return *this;
51 }
52 template <typename TimestampRangesT = TimestampRange>
53 PointsOfInterest& AddTimestampRanges(TimestampRangesT&& value) {
54 m_timestampRangesHasBeenSet = true;
55 m_timestampRanges.emplace_back(std::forward<TimestampRangesT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<TimestampRange> m_timestampRanges;
61 bool m_timestampRangesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace TranscribeStreamingService
66} // 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