AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; }
51 inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); }
52 inline BatchLookupPolicy& WithObjectReference(const ObjectReference& value) { SetObjectReference(value); return *this;}
53 inline BatchLookupPolicy& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
65 inline BatchLookupPolicy& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline BatchLookupPolicy& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline BatchLookupPolicy& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline BatchLookupPolicy& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79 private:
80
81 ObjectReference m_objectReference;
82 bool m_objectReferenceHasBeenSet = false;
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
87 int m_maxResults;
88 bool m_maxResultsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudDirectory
93} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchLookupPolicy & WithNextToken(Aws::String &&value)
BatchLookupPolicy & WithObjectReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicy(Aws::Utils::Json::JsonView jsonValue)
BatchLookupPolicy & WithNextToken(const char *value)
void SetObjectReference(const ObjectReference &value)
const ObjectReference & GetObjectReference() const
BatchLookupPolicy & WithObjectReference(const ObjectReference &value)
BatchLookupPolicy & WithMaxResults(int value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNextToken(const Aws::String &value)
BatchLookupPolicy & WithNextToken(const Aws::String &value)
void SetObjectReference(ObjectReference &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue