AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPredicates(const Aws::Vector<Aws::String>& value) { m_predicatesHasBeenSet = true; m_predicates = value; }
58 inline void SetPredicates(Aws::Vector<Aws::String>&& value) { m_predicatesHasBeenSet = true; m_predicates = std::move(value); }
59 inline SubjectStructure& WithPredicates(const Aws::Vector<Aws::String>& value) { SetPredicates(value); return *this;}
60 inline SubjectStructure& WithPredicates(Aws::Vector<Aws::String>&& value) { SetPredicates(std::move(value)); return *this;}
61 inline SubjectStructure& AddPredicates(const Aws::String& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(value); return *this; }
62 inline SubjectStructure& AddPredicates(Aws::String&& value) { m_predicatesHasBeenSet = true; m_predicates.push_back(std::move(value)); return *this; }
63 inline SubjectStructure& AddPredicates(const char* value) { m_predicatesHasBeenSet = true; m_predicates.push_back(value); return *this; }
65 private:
66
67 long long m_count;
68 bool m_countHasBeenSet = false;
69
70 Aws::Vector<Aws::String> m_predicates;
71 bool m_predicatesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace neptunedata
76} // namespace Aws
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SubjectStructure & WithPredicates(Aws::Vector< Aws::String > &&value)
SubjectStructure & WithCount(long long value)
void SetPredicates(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPredicates() const
SubjectStructure & AddPredicates(const Aws::String &value)
SubjectStructure & AddPredicates(Aws::String &&value)
AWS_NEPTUNEDATA_API SubjectStructure(Aws::Utils::Json::JsonView jsonValue)
SubjectStructure & WithPredicates(const Aws::Vector< Aws::String > &value)
SubjectStructure & AddPredicates(const char *value)
AWS_NEPTUNEDATA_API SubjectStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPredicates(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue