AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
BatchDeleteObject.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudDirectory {
20namespace Model {
21
29 public:
30 AWS_CLOUDDIRECTORY_API BatchDeleteObject() = default;
31 AWS_CLOUDDIRECTORY_API BatchDeleteObject(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDDIRECTORY_API BatchDeleteObject& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ObjectReference& GetObjectReference() const { return m_objectReference; }
40 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
41 template <typename ObjectReferenceT = ObjectReference>
42 void SetObjectReference(ObjectReferenceT&& value) {
43 m_objectReferenceHasBeenSet = true;
44 m_objectReference = std::forward<ObjectReferenceT>(value);
45 }
46 template <typename ObjectReferenceT = ObjectReference>
47 BatchDeleteObject& WithObjectReference(ObjectReferenceT&& value) {
48 SetObjectReference(std::forward<ObjectReferenceT>(value));
49 return *this;
50 }
52 private:
53 ObjectReference m_objectReference;
54 bool m_objectReferenceHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace CloudDirectory
59} // namespace Aws
AWS_CLOUDDIRECTORY_API BatchDeleteObject & operator=(Aws::Utils::Json::JsonView jsonValue)
const ObjectReference & GetObjectReference() const
void SetObjectReference(ObjectReferenceT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteObject & WithObjectReference(ObjectReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchDeleteObject(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API BatchDeleteObject()=default
Aws::Utils::Json::JsonValue JsonValue