AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
CategoryDetails.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/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectContactLens {
21namespace Model {
22
30 public:
31 AWS_CONNECTCONTACTLENS_API CategoryDetails() = default;
32 AWS_CONNECTCONTACTLENS_API CategoryDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCONTACTLENS_API CategoryDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<PointOfInterest>& GetPointsOfInterest() const { return m_pointsOfInterest; }
41 inline bool PointsOfInterestHasBeenSet() const { return m_pointsOfInterestHasBeenSet; }
42 template <typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
43 void SetPointsOfInterest(PointsOfInterestT&& value) {
44 m_pointsOfInterestHasBeenSet = true;
45 m_pointsOfInterest = std::forward<PointsOfInterestT>(value);
46 }
47 template <typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
48 CategoryDetails& WithPointsOfInterest(PointsOfInterestT&& value) {
49 SetPointsOfInterest(std::forward<PointsOfInterestT>(value));
50 return *this;
51 }
52 template <typename PointsOfInterestT = PointOfInterest>
53 CategoryDetails& AddPointsOfInterest(PointsOfInterestT&& value) {
54 m_pointsOfInterestHasBeenSet = true;
55 m_pointsOfInterest.emplace_back(std::forward<PointsOfInterestT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<PointOfInterest> m_pointsOfInterest;
61 bool m_pointsOfInterestHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace ConnectContactLens
66} // namespace Aws
AWS_CONNECTCONTACTLENS_API CategoryDetails(Aws::Utils::Json::JsonView jsonValue)
CategoryDetails & WithPointsOfInterest(PointsOfInterestT &&value)
const Aws::Vector< PointOfInterest > & GetPointsOfInterest() const
AWS_CONNECTCONTACTLENS_API CategoryDetails()=default
void SetPointsOfInterest(PointsOfInterestT &&value)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
CategoryDetails & AddPointsOfInterest(PointsOfInterestT &&value)
AWS_CONNECTCONTACTLENS_API CategoryDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue