AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchListIndex.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/clouddirectory/model/ObjectAttributeRange.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 CloudDirectory
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CLOUDDIRECTORY_API BatchListIndex();
40 AWS_CLOUDDIRECTORY_API BatchListIndex(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDDIRECTORY_API BatchListIndex& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<ObjectAttributeRange>& GetRangesOnIndexedValues() const{ return m_rangesOnIndexedValues; }
50 inline bool RangesOnIndexedValuesHasBeenSet() const { return m_rangesOnIndexedValuesHasBeenSet; }
51 inline void SetRangesOnIndexedValues(const Aws::Vector<ObjectAttributeRange>& value) { m_rangesOnIndexedValuesHasBeenSet = true; m_rangesOnIndexedValues = value; }
52 inline void SetRangesOnIndexedValues(Aws::Vector<ObjectAttributeRange>&& value) { m_rangesOnIndexedValuesHasBeenSet = true; m_rangesOnIndexedValues = std::move(value); }
55 inline BatchListIndex& AddRangesOnIndexedValues(const ObjectAttributeRange& value) { m_rangesOnIndexedValuesHasBeenSet = true; m_rangesOnIndexedValues.push_back(value); return *this; }
56 inline BatchListIndex& AddRangesOnIndexedValues(ObjectAttributeRange&& value) { m_rangesOnIndexedValuesHasBeenSet = true; m_rangesOnIndexedValues.push_back(std::move(value)); return *this; }
58
60
63 inline const ObjectReference& GetIndexReference() const{ return m_indexReference; }
64 inline bool IndexReferenceHasBeenSet() const { return m_indexReferenceHasBeenSet; }
65 inline void SetIndexReference(const ObjectReference& value) { m_indexReferenceHasBeenSet = true; m_indexReference = value; }
66 inline void SetIndexReference(ObjectReference&& value) { m_indexReferenceHasBeenSet = true; m_indexReference = std::move(value); }
67 inline BatchListIndex& WithIndexReference(const ObjectReference& value) { SetIndexReference(value); return *this;}
68 inline BatchListIndex& WithIndexReference(ObjectReference&& value) { SetIndexReference(std::move(value)); return *this;}
70
72
75 inline int GetMaxResults() const{ return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 inline BatchListIndex& WithMaxResults(int value) { SetMaxResults(value); return *this;}
80
82
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline BatchListIndex& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline BatchListIndex& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline BatchListIndex& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 private:
95
96 Aws::Vector<ObjectAttributeRange> m_rangesOnIndexedValues;
97 bool m_rangesOnIndexedValuesHasBeenSet = false;
98
99 ObjectReference m_indexReference;
100 bool m_indexReferenceHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudDirectory
111} // namespace Aws
void SetRangesOnIndexedValues(Aws::Vector< ObjectAttributeRange > &&value)
const Aws::Vector< ObjectAttributeRange > & GetRangesOnIndexedValues() const
BatchListIndex & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
BatchListIndex & WithRangesOnIndexedValues(const Aws::Vector< ObjectAttributeRange > &value)
BatchListIndex & WithIndexReference(const ObjectReference &value)
void SetRangesOnIndexedValues(const Aws::Vector< ObjectAttributeRange > &value)
BatchListIndex & WithIndexReference(ObjectReference &&value)
BatchListIndex & WithNextToken(Aws::String &&value)
BatchListIndex & AddRangesOnIndexedValues(const ObjectAttributeRange &value)
BatchListIndex & AddRangesOnIndexedValues(ObjectAttributeRange &&value)
const ObjectReference & GetIndexReference() const
BatchListIndex & WithRangesOnIndexedValues(Aws::Vector< ObjectAttributeRange > &&value)
void SetIndexReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API BatchListIndex()
const Aws::String & GetNextToken() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API BatchListIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchListIndex & WithMaxResults(int value)
AWS_CLOUDDIRECTORY_API BatchListIndex(Aws::Utils::Json::JsonView jsonValue)
void SetIndexReference(const ObjectReference &value)
BatchListIndex & WithNextToken(const char *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