AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchLookupPolicy.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.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 CloudDirectory
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CLOUDDIRECTORY_API BatchLookupPolicy() = default;
39 AWS_CLOUDDIRECTORY_API BatchLookupPolicy(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDDIRECTORY_API BatchLookupPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ObjectReference& GetObjectReference() const { return m_objectReference; }
49 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
50 template<typename ObjectReferenceT = ObjectReference>
51 void SetObjectReference(ObjectReferenceT&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::forward<ObjectReferenceT>(value); }
52 template<typename ObjectReferenceT = ObjectReference>
53 BatchLookupPolicy& WithObjectReference(ObjectReferenceT&& value) { SetObjectReference(std::forward<ObjectReferenceT>(value)); return *this;}
55
57
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 BatchLookupPolicy& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline BatchLookupPolicy& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77 private:
78
79 ObjectReference m_objectReference;
80 bool m_objectReferenceHasBeenSet = false;
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 int m_maxResults{0};
86 bool m_maxResultsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CloudDirectory
91} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchLookupPolicy & WithObjectReference(ObjectReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicy(Aws::Utils::Json::JsonView jsonValue)
const ObjectReference & GetObjectReference() const
BatchLookupPolicy & WithMaxResults(int value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectReference(ObjectReferenceT &&value)
BatchLookupPolicy & WithNextToken(NextTokenT &&value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue