AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchDetachObject.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
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API BatchDetachObject() = default;
37 AWS_CLOUDDIRECTORY_API BatchDetachObject(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API BatchDetachObject& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ObjectReference& GetParentReference() const { return m_parentReference; }
48 inline bool ParentReferenceHasBeenSet() const { return m_parentReferenceHasBeenSet; }
49 template<typename ParentReferenceT = ObjectReference>
50 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet = true; m_parentReference = std::forward<ParentReferenceT>(value); }
51 template<typename ParentReferenceT = ObjectReference>
52 BatchDetachObject& WithParentReference(ParentReferenceT&& value) { SetParentReference(std::forward<ParentReferenceT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLinkName() const { return m_linkName; }
60 inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; }
61 template<typename LinkNameT = Aws::String>
62 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet = true; m_linkName = std::forward<LinkNameT>(value); }
63 template<typename LinkNameT = Aws::String>
64 BatchDetachObject& WithLinkName(LinkNameT&& value) { SetLinkName(std::forward<LinkNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetBatchReferenceName() const { return m_batchReferenceName; }
74 inline bool BatchReferenceNameHasBeenSet() const { return m_batchReferenceNameHasBeenSet; }
75 template<typename BatchReferenceNameT = Aws::String>
76 void SetBatchReferenceName(BatchReferenceNameT&& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = std::forward<BatchReferenceNameT>(value); }
77 template<typename BatchReferenceNameT = Aws::String>
78 BatchDetachObject& WithBatchReferenceName(BatchReferenceNameT&& value) { SetBatchReferenceName(std::forward<BatchReferenceNameT>(value)); return *this;}
80 private:
81
82 ObjectReference m_parentReference;
83 bool m_parentReferenceHasBeenSet = false;
84
85 Aws::String m_linkName;
86 bool m_linkNameHasBeenSet = false;
87
88 Aws::String m_batchReferenceName;
89 bool m_batchReferenceNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudDirectory
94} // namespace Aws
AWS_CLOUDDIRECTORY_API BatchDetachObject(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBatchReferenceName() const
AWS_CLOUDDIRECTORY_API BatchDetachObject & operator=(Aws::Utils::Json::JsonView jsonValue)
const ObjectReference & GetParentReference() const
BatchDetachObject & WithLinkName(LinkNameT &&value)
BatchDetachObject & WithParentReference(ParentReferenceT &&value)
void SetBatchReferenceName(BatchReferenceNameT &&value)
AWS_CLOUDDIRECTORY_API BatchDetachObject()=default
BatchDetachObject & WithBatchReferenceName(BatchReferenceNameT &&value)
void SetParentReference(ParentReferenceT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue