AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDFGraphSummary.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/neptunedata/model/SubjectStructure.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 neptunedata
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_NEPTUNEDATA_API RDFGraphSummary();
40 AWS_NEPTUNEDATA_API RDFGraphSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NEPTUNEDATA_API RDFGraphSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline long long GetNumDistinctSubjects() const{ return m_numDistinctSubjects; }
50 inline bool NumDistinctSubjectsHasBeenSet() const { return m_numDistinctSubjectsHasBeenSet; }
51 inline void SetNumDistinctSubjects(long long value) { m_numDistinctSubjectsHasBeenSet = true; m_numDistinctSubjects = value; }
52 inline RDFGraphSummary& WithNumDistinctSubjects(long long value) { SetNumDistinctSubjects(value); return *this;}
54
56
59 inline long long GetNumDistinctPredicates() const{ return m_numDistinctPredicates; }
60 inline bool NumDistinctPredicatesHasBeenSet() const { return m_numDistinctPredicatesHasBeenSet; }
61 inline void SetNumDistinctPredicates(long long value) { m_numDistinctPredicatesHasBeenSet = true; m_numDistinctPredicates = value; }
62 inline RDFGraphSummary& WithNumDistinctPredicates(long long value) { SetNumDistinctPredicates(value); return *this;}
64
66
69 inline long long GetNumQuads() const{ return m_numQuads; }
70 inline bool NumQuadsHasBeenSet() const { return m_numQuadsHasBeenSet; }
71 inline void SetNumQuads(long long value) { m_numQuadsHasBeenSet = true; m_numQuads = value; }
72 inline RDFGraphSummary& WithNumQuads(long long value) { SetNumQuads(value); return *this;}
74
76
79 inline long long GetNumClasses() const{ return m_numClasses; }
80 inline bool NumClassesHasBeenSet() const { return m_numClassesHasBeenSet; }
81 inline void SetNumClasses(long long value) { m_numClassesHasBeenSet = true; m_numClasses = value; }
82 inline RDFGraphSummary& WithNumClasses(long long value) { SetNumClasses(value); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetClasses() const{ return m_classes; }
90 inline bool ClassesHasBeenSet() const { return m_classesHasBeenSet; }
91 inline void SetClasses(const Aws::Vector<Aws::String>& value) { m_classesHasBeenSet = true; m_classes = value; }
92 inline void SetClasses(Aws::Vector<Aws::String>&& value) { m_classesHasBeenSet = true; m_classes = std::move(value); }
93 inline RDFGraphSummary& WithClasses(const Aws::Vector<Aws::String>& value) { SetClasses(value); return *this;}
94 inline RDFGraphSummary& WithClasses(Aws::Vector<Aws::String>&& value) { SetClasses(std::move(value)); return *this;}
95 inline RDFGraphSummary& AddClasses(const Aws::String& value) { m_classesHasBeenSet = true; m_classes.push_back(value); return *this; }
96 inline RDFGraphSummary& AddClasses(Aws::String&& value) { m_classesHasBeenSet = true; m_classes.push_back(std::move(value)); return *this; }
97 inline RDFGraphSummary& AddClasses(const char* value) { m_classesHasBeenSet = true; m_classes.push_back(value); return *this; }
99
101
104 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetPredicates() const{ return m_predicates; }
105 inline bool PredicatesHasBeenSet() const { return m_predicatesHasBeenSet; }
106 inline void SetPredicates(const Aws::Vector<Aws::Map<Aws::String, long long>>& value) { m_predicatesHasBeenSet = true; m_predicates = value; }
107 inline void SetPredicates(Aws::Vector<Aws::Map<Aws::String, long long>>&& value) { m_predicatesHasBeenSet = true; m_predicates = std::move(value); }
110 inline RDFGraphSummary& AddPredicates(const Aws::Map<Aws::String, long long>& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(value); return *this; }
111 inline RDFGraphSummary& AddPredicates(Aws::Map<Aws::String, long long>&& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(std::move(value)); return *this; }
113
115
119 inline const Aws::Vector<SubjectStructure>& GetSubjectStructures() const{ return m_subjectStructures; }
120 inline bool SubjectStructuresHasBeenSet() const { return m_subjectStructuresHasBeenSet; }
121 inline void SetSubjectStructures(const Aws::Vector<SubjectStructure>& value) { m_subjectStructuresHasBeenSet = true; m_subjectStructures = value; }
122 inline void SetSubjectStructures(Aws::Vector<SubjectStructure>&& value) { m_subjectStructuresHasBeenSet = true; m_subjectStructures = std::move(value); }
125 inline RDFGraphSummary& AddSubjectStructures(const SubjectStructure& value) { m_subjectStructuresHasBeenSet = true; m_subjectStructures.push_back(value); return *this; }
126 inline RDFGraphSummary& AddSubjectStructures(SubjectStructure&& value) { m_subjectStructuresHasBeenSet = true; m_subjectStructures.push_back(std::move(value)); return *this; }
128 private:
129
130 long long m_numDistinctSubjects;
131 bool m_numDistinctSubjectsHasBeenSet = false;
132
133 long long m_numDistinctPredicates;
134 bool m_numDistinctPredicatesHasBeenSet = false;
135
136 long long m_numQuads;
137 bool m_numQuadsHasBeenSet = false;
138
139 long long m_numClasses;
140 bool m_numClassesHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_classes;
143 bool m_classesHasBeenSet = false;
144
146 bool m_predicatesHasBeenSet = false;
147
148 Aws::Vector<SubjectStructure> m_subjectStructures;
149 bool m_subjectStructuresHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace neptunedata
154} // namespace Aws
void SetClasses(const Aws::Vector< Aws::String > &value)
void SetSubjectStructures(Aws::Vector< SubjectStructure > &&value)
RDFGraphSummary & WithSubjectStructures(const Aws::Vector< SubjectStructure > &value)
RDFGraphSummary & AddSubjectStructures(const SubjectStructure &value)
RDFGraphSummary & AddSubjectStructures(SubjectStructure &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetClasses() const
RDFGraphSummary & WithClasses(const Aws::Vector< Aws::String > &value)
RDFGraphSummary & AddPredicates(const Aws::Map< Aws::String, long long > &value)
RDFGraphSummary & WithNumClasses(long long value)
RDFGraphSummary & WithPredicates(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
RDFGraphSummary & WithNumQuads(long long value)
const Aws::Vector< SubjectStructure > & GetSubjectStructures() const
RDFGraphSummary & AddClasses(const Aws::String &value)
void SetPredicates(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
AWS_NEPTUNEDATA_API RDFGraphSummary(Aws::Utils::Json::JsonView jsonValue)
RDFGraphSummary & WithClasses(Aws::Vector< Aws::String > &&value)
void SetSubjectStructures(const Aws::Vector< SubjectStructure > &value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetPredicates() const
void SetPredicates(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
RDFGraphSummary & AddClasses(const char *value)
RDFGraphSummary & WithNumDistinctPredicates(long long value)
void SetClasses(Aws::Vector< Aws::String > &&value)
RDFGraphSummary & WithSubjectStructures(Aws::Vector< SubjectStructure > &&value)
AWS_NEPTUNEDATA_API RDFGraphSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RDFGraphSummary & AddClasses(Aws::String &&value)
RDFGraphSummary & AddPredicates(Aws::Map< Aws::String, long long > &&value)
RDFGraphSummary & WithPredicates(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
RDFGraphSummary & WithNumDistinctSubjects(long long value)
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