AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CategoryDetails.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect-contact-lens/model/PointOfInterest.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 ConnectContactLens
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECTCONTACTLENS_API CategoryDetails() = default;
37 AWS_CONNECTCONTACTLENS_API CategoryDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCONTACTLENS_API CategoryDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<PointOfInterest>& GetPointsOfInterest() const { return m_pointsOfInterest; }
47 inline bool PointsOfInterestHasBeenSet() const { return m_pointsOfInterestHasBeenSet; }
48 template<typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
49 void SetPointsOfInterest(PointsOfInterestT&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest = std::forward<PointsOfInterestT>(value); }
50 template<typename PointsOfInterestT = Aws::Vector<PointOfInterest>>
51 CategoryDetails& WithPointsOfInterest(PointsOfInterestT&& value) { SetPointsOfInterest(std::forward<PointsOfInterestT>(value)); return *this;}
52 template<typename PointsOfInterestT = PointOfInterest>
53 CategoryDetails& AddPointsOfInterest(PointsOfInterestT&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest.emplace_back(std::forward<PointsOfInterestT>(value)); return *this; }
55 private:
56
57 Aws::Vector<PointOfInterest> m_pointsOfInterest;
58 bool m_pointsOfInterestHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ConnectContactLens
63} // 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