AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Categories.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/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/connect-contact-lens/model/CategoryDetails.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 ConnectContactLens
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECTCONTACTLENS_API Categories();
39 AWS_CONNECTCONTACTLENS_API Categories(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCONTACTLENS_API Categories& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<Aws::String>& GetMatchedCategories() const{ return m_matchedCategories; }
49 inline bool MatchedCategoriesHasBeenSet() const { return m_matchedCategoriesHasBeenSet; }
50 inline void SetMatchedCategories(const Aws::Vector<Aws::String>& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories = value; }
51 inline void SetMatchedCategories(Aws::Vector<Aws::String>&& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories = std::move(value); }
53 inline Categories& WithMatchedCategories(Aws::Vector<Aws::String>&& value) { SetMatchedCategories(std::move(value)); return *this;}
54 inline Categories& AddMatchedCategories(const Aws::String& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; }
55 inline Categories& AddMatchedCategories(Aws::String&& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(std::move(value)); return *this; }
56 inline Categories& AddMatchedCategories(const char* value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; }
58
60
64 inline const Aws::Map<Aws::String, CategoryDetails>& GetMatchedDetails() const{ return m_matchedDetails; }
65 inline bool MatchedDetailsHasBeenSet() const { return m_matchedDetailsHasBeenSet; }
66 inline void SetMatchedDetails(const Aws::Map<Aws::String, CategoryDetails>& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails = value; }
67 inline void SetMatchedDetails(Aws::Map<Aws::String, CategoryDetails>&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails = std::move(value); }
70 inline Categories& AddMatchedDetails(const Aws::String& key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; }
71 inline Categories& AddMatchedDetails(Aws::String&& key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), value); return *this; }
72 inline Categories& AddMatchedDetails(const Aws::String& key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; }
73 inline Categories& AddMatchedDetails(Aws::String&& key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), std::move(value)); return *this; }
74 inline Categories& AddMatchedDetails(const char* key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; }
75 inline Categories& AddMatchedDetails(const char* key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; }
77 private:
78
79 Aws::Vector<Aws::String> m_matchedCategories;
80 bool m_matchedCategoriesHasBeenSet = false;
81
83 bool m_matchedDetailsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ConnectContactLens
88} // namespace Aws
void SetMatchedCategories(const Aws::Vector< Aws::String > &value)
Definition Categories.h:50
Categories & WithMatchedCategories(Aws::Vector< Aws::String > &&value)
Definition Categories.h:53
Categories & WithMatchedDetails(const Aws::Map< Aws::String, CategoryDetails > &value)
Definition Categories.h:68
Categories & AddMatchedDetails(const Aws::String &key, const CategoryDetails &value)
Definition Categories.h:70
const Aws::Vector< Aws::String > & GetMatchedCategories() const
Definition Categories.h:48
Categories & WithMatchedDetails(Aws::Map< Aws::String, CategoryDetails > &&value)
Definition Categories.h:69
Categories & AddMatchedCategories(Aws::String &&value)
Definition Categories.h:55
void SetMatchedDetails(const Aws::Map< Aws::String, CategoryDetails > &value)
Definition Categories.h:66
AWS_CONNECTCONTACTLENS_API Categories()
Categories & AddMatchedDetails(Aws::String &&key, const CategoryDetails &value)
Definition Categories.h:71
void SetMatchedCategories(Aws::Vector< Aws::String > &&value)
Definition Categories.h:51
AWS_CONNECTCONTACTLENS_API Categories(Aws::Utils::Json::JsonView jsonValue)
Categories & AddMatchedDetails(const Aws::String &key, CategoryDetails &&value)
Definition Categories.h:72
Categories & AddMatchedDetails(Aws::String &&key, CategoryDetails &&value)
Definition Categories.h:73
Categories & AddMatchedCategories(const Aws::String &value)
Definition Categories.h:54
AWS_CONNECTCONTACTLENS_API Categories & operator=(Aws::Utils::Json::JsonView jsonValue)
Categories & AddMatchedDetails(const char *key, const CategoryDetails &value)
Definition Categories.h:75
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
Categories & AddMatchedCategories(const char *value)
Definition Categories.h:56
void SetMatchedDetails(Aws::Map< Aws::String, CategoryDetails > &&value)
Definition Categories.h:67
Categories & AddMatchedDetails(const char *key, CategoryDetails &&value)
Definition Categories.h:74
Categories & WithMatchedCategories(const Aws::Vector< Aws::String > &value)
Definition Categories.h:52
const Aws::Map< Aws::String, CategoryDetails > & GetMatchedDetails() const
Definition Categories.h:64
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