AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPointsOfInterest(const Aws::Vector<PointOfInterest>& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest = value; }
49 inline void SetPointsOfInterest(Aws::Vector<PointOfInterest>&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest = std::move(value); }
51 inline CategoryDetails& WithPointsOfInterest(Aws::Vector<PointOfInterest>&& value) { SetPointsOfInterest(std::move(value)); return *this;}
52 inline CategoryDetails& AddPointsOfInterest(const PointOfInterest& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest.push_back(value); return *this; }
53 inline CategoryDetails& AddPointsOfInterest(PointOfInterest&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest.push_back(std::move(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)
AWS_CONNECTCONTACTLENS_API CategoryDetails()
CategoryDetails & AddPointsOfInterest(const PointOfInterest &value)
const Aws::Vector< PointOfInterest > & GetPointsOfInterest() const
void SetPointsOfInterest(const Aws::Vector< PointOfInterest > &value)
CategoryDetails & WithPointsOfInterest(const Aws::Vector< PointOfInterest > &value)
CategoryDetails & WithPointsOfInterest(Aws::Vector< PointOfInterest > &&value)
void SetPointsOfInterest(Aws::Vector< PointOfInterest > &&value)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
CategoryDetails & AddPointsOfInterest(PointOfInterest &&value)
AWS_CONNECTCONTACTLENS_API CategoryDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue