AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IndexReferenceT = ObjectReference>
49 void SetIndexReference(IndexReferenceT&& value) { m_indexReferenceHasBeenSet = true; m_indexReference = std::forward<IndexReferenceT>(value); }
50 template<typename IndexReferenceT = ObjectReference>
51 BatchDetachFromIndex& WithIndexReference(IndexReferenceT&& value) { SetIndexReference(std::forward<IndexReferenceT>(value)); return *this;}
53
55
58 inline const ObjectReference& GetTargetReference() const { return m_targetReference; }
59 inline bool TargetReferenceHasBeenSet() const { return m_targetReferenceHasBeenSet; }
60 template<typename TargetReferenceT = ObjectReference>
61 void SetTargetReference(TargetReferenceT&& value) { m_targetReferenceHasBeenSet = true; m_targetReference = std::forward<TargetReferenceT>(value); }
62 template<typename TargetReferenceT = ObjectReference>
63 BatchDetachFromIndex& WithTargetReference(TargetReferenceT&& value) { SetTargetReference(std::forward<TargetReferenceT>(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)
AWS_CLOUDDIRECTORY_API BatchDetachFromIndex(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDetachFromIndex & WithTargetReference(TargetReferenceT &&value)
BatchDetachFromIndex & WithIndexReference(IndexReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchDetachFromIndex()=default
Aws::Utils::Json::JsonValue JsonValue