AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoryEvent.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/transcribestreaming/model/PointsOfInterest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TranscribeStreamingService
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent();
40 AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<Aws::String>& GetMatchedCategories() const{ return m_matchedCategories; }
50 inline bool MatchedCategoriesHasBeenSet() const { return m_matchedCategoriesHasBeenSet; }
51 inline void SetMatchedCategories(const Aws::Vector<Aws::String>& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories = value; }
52 inline void SetMatchedCategories(Aws::Vector<Aws::String>&& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories = std::move(value); }
54 inline CategoryEvent& WithMatchedCategories(Aws::Vector<Aws::String>&& value) { SetMatchedCategories(std::move(value)); return *this;}
55 inline CategoryEvent& AddMatchedCategories(const Aws::String& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; }
56 inline CategoryEvent& AddMatchedCategories(Aws::String&& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(std::move(value)); return *this; }
57 inline CategoryEvent& AddMatchedCategories(const char* value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; }
59
61
65 inline const Aws::Map<Aws::String, PointsOfInterest>& GetMatchedDetails() const{ return m_matchedDetails; }
66 inline bool MatchedDetailsHasBeenSet() const { return m_matchedDetailsHasBeenSet; }
67 inline void SetMatchedDetails(const Aws::Map<Aws::String, PointsOfInterest>& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails = value; }
68 inline void SetMatchedDetails(Aws::Map<Aws::String, PointsOfInterest>&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails = std::move(value); }
71 inline CategoryEvent& AddMatchedDetails(const Aws::String& key, const PointsOfInterest& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; }
72 inline CategoryEvent& AddMatchedDetails(Aws::String&& key, const PointsOfInterest& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), value); return *this; }
73 inline CategoryEvent& AddMatchedDetails(const Aws::String& key, PointsOfInterest&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; }
74 inline CategoryEvent& AddMatchedDetails(Aws::String&& key, PointsOfInterest&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), std::move(value)); return *this; }
75 inline CategoryEvent& AddMatchedDetails(const char* key, PointsOfInterest&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; }
76 inline CategoryEvent& AddMatchedDetails(const char* key, const PointsOfInterest& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; }
78 private:
79
80 Aws::Vector<Aws::String> m_matchedCategories;
81 bool m_matchedCategoriesHasBeenSet = false;
82
84 bool m_matchedDetailsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace TranscribeStreamingService
89} // namespace Aws
void SetMatchedCategories(Aws::Vector< Aws::String > &&value)
CategoryEvent & AddMatchedCategories(Aws::String &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CategoryEvent()
CategoryEvent & AddMatchedDetails(Aws::String &&key, PointsOfInterest &&value)
CategoryEvent & AddMatchedCategories(const Aws::String &value)
void SetMatchedDetails(Aws::Map< Aws::String, PointsOfInterest > &&value)
CategoryEvent & AddMatchedDetails(Aws::String &&key, const PointsOfInterest &value)
CategoryEvent & WithMatchedCategories(Aws::Vector< Aws::String > &&value)
void SetMatchedCategories(const Aws::Vector< Aws::String > &value)
CategoryEvent & AddMatchedDetails(const Aws::String &key, PointsOfInterest &&value)
CategoryEvent & WithMatchedDetails(const Aws::Map< Aws::String, PointsOfInterest > &value)
CategoryEvent & AddMatchedDetails(const Aws::String &key, const PointsOfInterest &value)
CategoryEvent & WithMatchedDetails(Aws::Map< Aws::String, PointsOfInterest > &&value)
CategoryEvent & AddMatchedDetails(const char *key, PointsOfInterest &&value)
const Aws::Vector< Aws::String > & GetMatchedCategories() const
CategoryEvent & AddMatchedCategories(const char *value)
CategoryEvent & WithMatchedCategories(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, PointsOfInterest > & GetMatchedDetails() const
CategoryEvent & AddMatchedDetails(const char *key, const PointsOfInterest &value)
void SetMatchedDetails(const Aws::Map< Aws::String, PointsOfInterest > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue