AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SubjectStructure.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 neptunedata
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEDATA_API SubjectStructure() = default;
36 AWS_NEPTUNEDATA_API SubjectStructure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEDATA_API SubjectStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetCount() const { return m_count; }
46 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
47 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
48 inline SubjectStructure& WithCount(long long value) { SetCount(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetPredicates() const { return m_predicates; }
56 inline bool PredicatesHasBeenSet() const { return m_predicatesHasBeenSet; }
57 template<typename PredicatesT = Aws::Vector<Aws::String>>
58 void SetPredicates(PredicatesT&& value) { m_predicatesHasBeenSet = true; m_predicates = std::forward<PredicatesT>(value); }
59 template<typename PredicatesT = Aws::Vector<Aws::String>>
60 SubjectStructure& WithPredicates(PredicatesT&& value) { SetPredicates(std::forward<PredicatesT>(value)); return *this;}
61 template<typename PredicatesT = Aws::String>
62 SubjectStructure& AddPredicates(PredicatesT&& value) { m_predicatesHasBeenSet = true; m_predicates.emplace_back(std::forward<PredicatesT>(value)); return *this; }
64 private:
65
66 long long m_count{0};
67 bool m_countHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_predicates;
70 bool m_predicatesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace neptunedata
75} // namespace Aws
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API SubjectStructure()=default
SubjectStructure & AddPredicates(PredicatesT &&value)
SubjectStructure & WithCount(long long value)
const Aws::Vector< Aws::String > & GetPredicates() const
SubjectStructure & WithPredicates(PredicatesT &&value)
AWS_NEPTUNEDATA_API SubjectStructure(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API SubjectStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue