AWS SDK for C++

AWS SDK for C++ Version 1.11.876

Loading...
Searching...
No Matches
ExtractedInformationValue.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/connect-contact-lens/model/PointOfInterest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectContactLens {
22namespace Model {
23
31 public:
32 AWS_CONNECTCONTACTLENS_API ExtractedInformationValue() = default;
33 AWS_CONNECTCONTACTLENS_API ExtractedInformationValue(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCONTACTLENS_API ExtractedInformationValue& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetContent() const { return m_content; }
42 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
43 template <typename ContentT = Aws::String>
44 void SetContent(ContentT&& value) {
45 m_contentHasBeenSet = true;
46 m_content = std::forward<ContentT>(value);
47 }
48 template <typename ContentT = Aws::String>
50 SetContent(std::forward<ContentT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<PointOfInterest>& GetPointsOfInterest() const { return m_pointsOfInterest; }
61 inline bool PointsOfInterestHasBeenSet() const { return m_pointsOfInterestHasBeenSet; }
62 template <typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
63 void SetPointsOfInterest(PointsOfInterestT&& value) {
64 m_pointsOfInterestHasBeenSet = true;
65 m_pointsOfInterest = std::forward<PointsOfInterestT>(value);
66 }
67 template <typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
68 ExtractedInformationValue& WithPointsOfInterest(PointsOfInterestT&& value) {
69 SetPointsOfInterest(std::forward<PointsOfInterestT>(value));
70 return *this;
71 }
72 template <typename PointsOfInterestT = PointOfInterest>
73 ExtractedInformationValue& AddPointsOfInterest(PointsOfInterestT&& value) {
74 m_pointsOfInterestHasBeenSet = true;
75 m_pointsOfInterest.emplace_back(std::forward<PointsOfInterestT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_content;
81
82 Aws::Vector<PointOfInterest> m_pointsOfInterest;
83 bool m_contentHasBeenSet = false;
84 bool m_pointsOfInterestHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ConnectContactLens
89} // namespace Aws
AWS_CONNECTCONTACTLENS_API ExtractedInformationValue()=default
AWS_CONNECTCONTACTLENS_API ExtractedInformationValue(Aws::Utils::Json::JsonView jsonValue)
ExtractedInformationValue & AddPointsOfInterest(PointsOfInterestT &&value)
ExtractedInformationValue & WithContent(ContentT &&value)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< PointOfInterest > & GetPointsOfInterest() const
ExtractedInformationValue & WithPointsOfInterest(PointsOfInterestT &&value)
AWS_CONNECTCONTACTLENS_API ExtractedInformationValue & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue