AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDetachFromIndex.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudDirectory
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API BatchDetachFromIndex();
37 AWS_CLOUDDIRECTORY_API BatchDetachFromIndex(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API BatchDetachFromIndex& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ObjectReference& GetIndexReference() const{ return m_indexReference; }
47 inline bool IndexReferenceHasBeenSet() const { return m_indexReferenceHasBeenSet; }
48 inline void SetIndexReference(const ObjectReference& value) { m_indexReferenceHasBeenSet = true; m_indexReference = value; }
49 inline void SetIndexReference(ObjectReference&& value) { m_indexReferenceHasBeenSet = true; m_indexReference = std::move(value); }
50 inline BatchDetachFromIndex& WithIndexReference(const ObjectReference& value) { SetIndexReference(value); return *this;}
51 inline BatchDetachFromIndex& WithIndexReference(ObjectReference&& value) { SetIndexReference(std::move(value)); return *this;}
53
55
58 inline const ObjectReference& GetTargetReference() const{ return m_targetReference; }
59 inline bool TargetReferenceHasBeenSet() const { return m_targetReferenceHasBeenSet; }
60 inline void SetTargetReference(const ObjectReference& value) { m_targetReferenceHasBeenSet = true; m_targetReference = value; }
61 inline void SetTargetReference(ObjectReference&& value) { m_targetReferenceHasBeenSet = true; m_targetReference = std::move(value); }
62 inline BatchDetachFromIndex& WithTargetReference(const ObjectReference& value) { SetTargetReference(value); return *this;}
63 inline BatchDetachFromIndex& WithTargetReference(ObjectReference&& value) { SetTargetReference(std::move(value)); return *this;}
65 private:
66
67 ObjectReference m_indexReference;
68 bool m_indexReferenceHasBeenSet = false;
69
70 ObjectReference m_targetReference;
71 bool m_targetReferenceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudDirectory
76} // namespace Aws
AWS_CLOUDDIRECTORY_API BatchDetachFromIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDetachFromIndex & WithIndexReference(ObjectReference &&value)
void SetIndexReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API BatchDetachFromIndex(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDetachFromIndex & WithTargetReference(ObjectReference &&value)
void SetTargetReference(const ObjectReference &value)
BatchDetachFromIndex & WithIndexReference(const ObjectReference &value)
BatchDetachFromIndex & WithTargetReference(const ObjectReference &value)
Aws::Utils::Json::JsonValue JsonValue